mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refactor: Do not pass builder paramater to generate_autosummary_docs()
This commit is contained in:
parent
d68aa335c4
commit
d8aa067d43
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user