Skip to content

Commit

Permalink
Use autodoc_default_options instead of autodoc_default_flags.
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 8a9be68)
  • Loading branch information
bowlofeggs authored and mergify[bot] committed Sep 12, 2018
1 parent 0c3b4ec commit 2fac265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2fac265

Please sign in to comment.