Fix #247: autosummary: Add autosummary_generate_option to overwrite old stub file

This commit is contained in:
Takeshi KOMIYA
2019-06-01 19:38:33 +09:00
parent 089046979f
commit 4af90fcf75
5 changed files with 66 additions and 14 deletions

View File

@@ -143,6 +143,13 @@ also use these config values:
The new files will be placed in the directories specified in the
``:toctree:`` options of the directives.
.. confval:: autosummary_generate_overwrite
If true, autosummary already overwrites stub files by generated contents.
Defaults to true (enabled).
.. versionadded:: 3.0
.. confval:: autosummary_mock_imports
This value contains a list of modules to be mocked up. See