From b0b51cecc27be0ead1b9fb46a7d5bd17d36fef8a Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 31 Jan 2022 01:38:12 +0900 Subject: Close #10146: autodoc: autodoc_default_options does not support `no-value` option --- sphinx/ext/autodoc/directive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/ext/autodoc/directive.py') diff --git a/sphinx/ext/autodoc/directive.py b/sphinx/ext/autodoc/directive.py index 8b8048f8a..0c040e1ef 100644 --- a/sphinx/ext/autodoc/directive.py +++ b/sphinx/ext/autodoc/directive.py @@ -30,7 +30,7 @@ logger = logging.getLogger(__name__) AUTODOC_DEFAULT_OPTIONS = ['members', 'undoc-members', 'inherited-members', 'show-inheritance', 'private-members', 'special-members', 'ignore-module-all', 'exclude-members', 'member-order', - 'imported-members', 'class-doc-from'] + 'imported-members', 'class-doc-from', 'no-value'] AUTODOC_EXTENDABLE_OPTIONS = ['members', 'private-members', 'special-members', 'exclude-members'] -- cgit v1.2.1