diff --git a/bob/devtools/templates/doc/conf.py b/bob/devtools/templates/doc/conf.py index 6ee3d7a8fa5886ea6d7686999ac9b3bcec40d5bb..7844df4ad2c0a48d2dc94f3435b2acd8809fba8c 100644 --- a/bob/devtools/templates/doc/conf.py +++ b/bob/devtools/templates/doc/conf.py @@ -223,7 +223,11 @@ rst_epilog = """ # Default processing flags for sphinx autoclass_content = "class" autodoc_member_order = "bysource" -autodoc_default_flags = ["members", "undoc-members", "show-inheritance"] +autodoc_default_options = { + "members": True, + "undoc-members": True, + "show-inheritance": True, +} sphinx_requirements = "extra-intersphinx.txt" diff --git a/doc/conf.py b/doc/conf.py index f30bb3d2de2a32a505af985f2d297bdfa5a151d3..e2d7899a429ca3d866194add0379c009e0affe68 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -221,11 +221,11 @@ rst_epilog = """ # Default processing flags for sphinx autoclass_content = "class" autodoc_member_order = "bysource" -autodoc_default_flags = [ - "members", - "undoc-members", - "show-inheritance", -] +autodoc_default_options = { + "members": True, + "undoc-members": True, + "show-inheritance": True, +} # Adds simplejson, pyzmq links # intersphinx_mapping['http://simplejson.readthedocs.io/en/stable/'] = None