summaryrefslogtreecommitdiff
path: root/docs/autoapi/templates/python/module.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/autoapi/templates/python/module.rst')
-rw-r--r--docs/autoapi/templates/python/module.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/autoapi/templates/python/module.rst b/docs/autoapi/templates/python/module.rst
index 7ede6bdfd..63a1aaa76 100644
--- a/docs/autoapi/templates/python/module.rst
+++ b/docs/autoapi/templates/python/module.rst
@@ -18,8 +18,7 @@
{% set visible_subpackages = obj.subpackages|selectattr("display")|list %}
{% if visible_subpackages %}
.. toctree::
- :titlesonly:
- :maxdepth: 3
+ :maxdepth: 2
{% for subpackage in visible_subpackages %}
{{ subpackage.short_name }}/index.rst