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
This commit is contained in:
zhang.lei 2018-09-17 08:36:40 +00:00 committed by lei zhang
parent 5a02139933
commit ec53c7607a

View File

@ -274,4 +274,4 @@ extlinks = {
'issue': ('https://github.com/dreamhost/stevedore/issues/%s', 'issue '), '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}