diff --git a/docs/source/api.rst b/docs/source/api.rst
index bfdba591..90febc7d 100644
--- a/docs/source/api.rst
+++ b/docs/source/api.rst
@@ -3,7 +3,7 @@ full api
 
 
 .. toctree::
-   :maxdepth: 6
+   :maxdepth: 2
    :caption: Table of Contents
 
    modules