summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhang.lei <zhang.lei@99cloud.net>2018-09-17 08:36:40 +0000
committerlei zhang <zhang.lei@99cloud.net>2018-09-18 10:46:09 +0000
commitec53c7607a7d8db773d3c23af727c7b06076e14f (patch)
tree05beb5a5bde82d22791c1f1301d06db61f422944
parent5a021399334c02e64908ac89f278c87046a7af6c (diff)
downloadstevedore-ec53c7607a7d8db773d3c23af727c7b06076e14f.tar.gz
Update doc/conf.py to avoid warnings with sphinx 1.8
The autodoc_default_flags option is now deprecated.[1] This warning can cause documentation build failed. use autodoc_default_options instead. [1]https://github.com/matplotlib/matplotlib/pull/11928 Change-Id: I73041da072edb635661503b75a9c7460e1242220
-rw-r--r--doc/source/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 915e879..a9171d5 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -274,4 +274,4 @@ extlinks = {
'issue': ('https://github.com/dreamhost/stevedore/issues/%s', 'issue '),
}
-autodoc_default_flags = ['members', 'special-members', 'show-inheritance']
+autodoc_default_options = {'members': None, 'special-members': None, 'show-inheritance': None}