diff options
author | Sergio Garcia Prado <sergio@garciparedes.me> | 2020-03-14 22:19:27 +0100 |
---|---|---|
committer | Sergio Garcia Prado <sergio@garciparedes.me> | 2020-03-14 22:19:27 +0100 |
commit | 06b54c0a1f32c7dd78287495f4cb135ce83cf958 (patch) | |
tree | fff96c05aa8ab8197237d1b32995df3ffa41d104 /sphinx/templates | |
parent | 5caaa5534b3a683d5f93e507f40a150be34af0c9 (diff) | |
download | sphinx-git-06b54c0a1f32c7dd78287495f4cb135ce83cf958.tar.gz |
* Propagated "maxdepth" recursively through package documents.
Diffstat (limited to 'sphinx/templates')
-rw-r--r-- | sphinx/templates/apidoc/package.rst_t | 1 |
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 %} |