Merge pull request #7098 from tk0miya/6568_autosummary_imported_members_ignored

Fix #6568: autosummary_imported_members is not working for submodules
This commit is contained in:
Takeshi KOMIYA
2020-02-07 23:33:09 +09:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -81,6 +81,8 @@ Bugs fixed
* #7023: autodoc: partial functions imported from other modules are listed as
module members without :impoprted-members: option
* #6889: autodoc: Trailing comma in ``:members::`` option causes cryptic warning
* #6568: autosummary: ``autosummary_imported_members`` is ignored on generating
a stub file for submodule
* #7055: linkcheck: redirect is treated as an error
* #7088: HTML template: If ``navigation_with_keys`` option is activated,
modifier keys are ignored, which means the feature can interfere with browser

View File

@@ -293,7 +293,8 @@ def generate_autosummary_docs(sources: List[str], output_dir: str = None,
generate_autosummary_docs(new_files, output_dir=output_dir,
suffix=suffix, warn=warn, info=info,
base_path=base_path, builder=builder,
template_dir=template_dir, app=app)
template_dir=template_dir,
imported_members=imported_members, app=app)
# -- Finding documented entries in files ---------------------------------------