Merge pull request #7547 from tk0miya/refactor_autosummary3

refactor: Do not pass builder paramater to generate_autosummary_docs()
This commit is contained in:
Takeshi KOMIYA 2020-04-25 01:10:33 +09:00 committed by GitHub
commit cec31c75d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -752,8 +752,7 @@ def process_generate_options(app: Sphinx) -> None:
imported_members = app.config.autosummary_imported_members
with mock(app.config.autosummary_mock_imports):
generate_autosummary_docs(genfiles, builder=app.builder,
suffix=suffix, base_path=app.srcdir,
generate_autosummary_docs(genfiles, suffix=suffix, base_path=app.srcdir,
app=app, imported_members=imported_members,
overwrite=app.config.autosummary_generate_overwrite)