diff --git a/docs/index.rst b/docs/index.rst
index 8073fb76f02445fc02d5584f1205946b636e3eb4..7d751a46b64808ba798ef197e4c78dae3eb55a33 100755
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -4,7 +4,7 @@
    contain the root `toctree` directive.
 
 pyrost
-=====
+======
 
 Python Robust Speckle Tracking (**pyrost**) is a library for wavefront
 metrology and sample imaging based on ptychographic speckle tracking
diff --git a/docs/reference/ab_fit_ref.rst b/docs/reference/ab_fit_ref.rst
index 5ab10dea71746f0732f80345ecda9a1b601312d3..034f5ee197e78cdceb3f6bb3cd857159819e8c1b 100755
--- a/docs/reference/ab_fit_ref.rst
+++ b/docs/reference/ab_fit_ref.rst
@@ -1,5 +1,5 @@
 pyrost Abberations Fitting
-=========================
+==========================
 
 .. automodule:: pyrost.abberations_fit
 
diff --git a/docs/reference/cxi_ref.rst b/docs/reference/cxi_ref.rst
index d09a177112c0e9c6e3210bfe87b4a6b7279d7726..1c0ea1cf8cc18af32e64232518d30e435dde2868 100755
--- a/docs/reference/cxi_ref.rst
+++ b/docs/reference/cxi_ref.rst
@@ -1,5 +1,5 @@
 pyrost CXI Protocol
-==================
+===================
 
 .. automodule:: pyrost.protocol
 
diff --git a/docs/reference/rst_c_ref.rst b/docs/reference/rst_c_ref.rst
index b1176059ea95ee2675391682fea841b246326a11..eb3de87a01fb1f98eee2e77503120a9b9f4195f5 100755
--- a/docs/reference/rst_c_ref.rst
+++ b/docs/reference/rst_c_ref.rst
@@ -1,5 +1,5 @@
 pyrost Core Functions
-====================
+=====================
 
 Core functions of the rst data processing 
 pipeline. All the functions are written in `Cython`_.
diff --git a/docs/reference/rst_dp_ref.rst b/docs/reference/rst_dp_ref.rst
index 9cae5ec4b20f2f8fc9325a2a9295631d941d1cb8..7eb02ff8d7205bf0ed18217ab58f9c016e1b095e 100755
--- a/docs/reference/rst_dp_ref.rst
+++ b/docs/reference/rst_dp_ref.rst
@@ -1,5 +1,5 @@
 pyrost Core Classes
-==================
+===================
 
 .. automodule:: pyrost.data_processing