From 439f39547bde20e6e0952d3c1a049c65cfc8ed6f Mon Sep 17 00:00:00 2001 From: Raymond Speth Date: Tue, 9 Feb 2021 20:45:15 -0500 Subject: [PATCH] [Doc] Fix missing Python class member documentation Sphinx 1.8 deprecated the 'autodoc_default_flags' option. It appears to have stopped working without warning in more recent versions. --- doc/sphinx/conf.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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'