diff options
Diffstat (limited to 'sphinx/ext/autodoc/directive.py')
-rw-r--r-- | sphinx/ext/autodoc/directive.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/autodoc/directive.py b/sphinx/ext/autodoc/directive.py index 34f7567d4..3a3434fc8 100644 --- a/sphinx/ext/autodoc/directive.py +++ b/sphinx/ext/autodoc/directive.py @@ -67,8 +67,8 @@ def process_documenter_options(documenter, config, options): continue else: negated = options.pop('no-' + name, True) is None - if name in config.autodoc_default_flags and not negated: - options[name] = config.autodoc_default_flags[name] + if name in config.autodoc_default_options and not negated: + options[name] = config.autodoc_default_options[name] return Options(assemble_option_dict(options.items(), documenter.option_spec)) |