diff --git a/doc/source/index.rst b/doc/source/index.rst
index 3331d72969a0aff0ef36b5682b8ea5b56d744e18..50398b94d1489a56a42af949b25605848f10b664 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -10,8 +10,8 @@ Welcome to teqp's documentation!
    models/index
    derivs/index
    algorithms/index
-   api/modules
    examples/index
+   api/modules
 
 Indices and tables
 ==================