diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-04-25 06:24:36 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-03-09 19:35:49 +0300 |
commit | 54886fd256aeb87b7b7c8a1bcf65bad55c33d3eb (patch) | |
tree | 04ded8f77bbc9dd7430c0a1238189396b033cf72 /sphinx/ext | |
parent | 3693ffe232260c9ba083a231480f1be5ab818641 (diff) |
Close #7549: autosummary: Enable autosummary_generate by default
Diffstat (limited to 'sphinx/ext')
-rw-r--r-- | sphinx/ext/autosummary/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autosummary/__init__.py b/sphinx/ext/autosummary/__init__.py index 7dbaaf686..1a0fd2409 100644 --- a/sphinx/ext/autosummary/__init__.py +++ b/sphinx/ext/autosummary/__init__.py @@ -772,7 +772,7 @@ def setup(app: Sphinx) -> Dict[str, Any]: app.connect('builder-inited', process_generate_options) app.add_config_value('autosummary_context', {}, True) app.add_config_value('autosummary_filename_map', {}, 'html') - app.add_config_value('autosummary_generate', [], True, [bool]) + app.add_config_value('autosummary_generate', True, True, [bool]) app.add_config_value('autosummary_generate_overwrite', True, False) app.add_config_value('autosummary_mock_imports', lambda config: config.autodoc_mock_imports, 'env') |