diff --git a/doc/source/_templates/navigation.html b/doc/source/_templates/navigation.html
index b456c3d3..a9246921 100644
--- a/doc/source/_templates/navigation.html
+++ b/doc/source/_templates/navigation.html
@@ -1,14 +1,14 @@
-
-
-
{{ _('Navigation') }}
-{{ toctree(maxdepth=4, includehidden=theme_sidebar_includehidden, collapse=theme_sidebar_collapse) }}
-{% if theme_extra_nav_links %}
-
-
- {% for text, uri in theme_extra_nav_links.items() %}
- - {{ text }}
- {% endfor %}
-
-{% endif %}
+
+
+{{ _('Navigation') }}
+{{ toctree(maxdepth=2, includehidden=theme_sidebar_includehidden, collapse=theme_sidebar_collapse) }}
+{% if theme_extra_nav_links %}
+
+
+ {% for text, uri in theme_extra_nav_links.items() %}
+ - {{ text }}
+ {% endfor %}
+
+{% endif %}
\ No newline at end of file