diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/conf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/conf.py b/doc/api/conf.py index ed3aeb214..c732054bd 100644 --- a/doc/api/conf.py +++ b/doc/api/conf.py @@ -64,7 +64,7 @@ html_theme = "sphinxdoc" # so a file named "default.css" will overwrite the builtin "default.css". # html_static_path = [] -autodoc_default_options = dict( - (opt, True) +autodoc_default_options = { + opt: True for opt in filter(None, os.environ.get("SPHINX_APIDOC_OPTIONS", "").split(",")) -) +} |