diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index 440fe3bbe0..f01c6cc155 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -24,7 +24,7 @@ # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' +needs_sphinx = '2.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. @@ -43,7 +43,11 @@ 'sphinx.ext.intersphinx', ] -autodoc_default_flags = ['members','show-inheritance','undoc-members'] +autodoc_default_options = { + 'members': True, + 'show-inheritance': True, + 'undoc-members': True +} autoclass_content = 'both'