From 2fac265ece93144a9a7dca84c0d98741ef21a2b4 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Wed, 12 Sep 2018 13:46:41 -0400 Subject: [PATCH] Use autodoc_default_options instead of autodoc_default_flags. This fixes a docs build failure that emitted this message: Warning, treated as error: autodoc_default_flags is now deprecated. Please use autodoc_default_options instead. Signed-off-by: Randy Barlow (cherry picked from commit 8a9be681d9a4f850c1717ad575d3809b86bbfb6d) --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 2721340f4c..4ceb845274 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,7 @@ 'sphinx.ext.todo', 'sphinx.ext.viewcode'] -autodoc_default_flags = ['members', 'show-inheritance', 'special-members'] +autodoc_default_options = {'members': None, 'show-inheritance': None, 'special-members': None} autosummary_generate = True # Add any paths that contain templates here, relative to this directory.