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/ext/apidoc.py | |
parent | 5caaa5534b3a683d5f93e507f40a150be34af0c9 (diff) | |
download | sphinx-git-06b54c0a1f32c7dd78287495f4cb135ce83cf958.tar.gz |
* Propagated "maxdepth" recursively through package documents.
Diffstat (limited to 'sphinx/ext/apidoc.py')
-rw-r--r-- | sphinx/ext/apidoc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py index a9196d3a6..23be0a00a 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -175,6 +175,7 @@ def create_package_file(root: str, master_package: str, subroot: str, py_files: 'separatemodules': opts.separatemodules, 'automodule_options': options, 'show_headings': not opts.noheadings, + 'maxdepth': opts.maxdepth, } text = ReSTRenderer([user_template_dir, template_dir]).render('package.rst_t', context) write_file(pkgname, text, opts) |