summaryrefslogtreecommitdiff
path: root/sphinx/templates
diff options
context:
space:
mode:
authorSergio Garcia Prado <sergio@garciparedes.me>2020-03-14 22:19:27 +0100
committerSergio Garcia Prado <sergio@garciparedes.me>2020-03-14 22:19:27 +0100
commit06b54c0a1f32c7dd78287495f4cb135ce83cf958 (patch)
treefff96c05aa8ab8197237d1b32995df3ffa41d104 /sphinx/templates
parent5caaa5534b3a683d5f93e507f40a150be34af0c9 (diff)
downloadsphinx-git-06b54c0a1f32c7dd78287495f4cb135ce83cf958.tar.gz
* Propagated "maxdepth" recursively through package documents.
Diffstat (limited to 'sphinx/templates')
-rw-r--r--sphinx/templates/apidoc/package.rst_t1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/templates/apidoc/package.rst_t b/sphinx/templates/apidoc/package.rst_t
index ed9f669ea..8630a87b7 100644
--- a/sphinx/templates/apidoc/package.rst_t
+++ b/sphinx/templates/apidoc/package.rst_t
@@ -7,6 +7,7 @@
{%- macro toctree(docnames) -%}
.. toctree::
+ :maxdepth: {{ maxdepth }}
{% for docname in docnames %}
{{ docname }}
{%- endfor %}