Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84de59f

Browse files
committed
DOC: autodoc_default_flags -> autodoc_default_options
Former has been deprecated and it stopped working in Sphinx's master branch: sphinx-doc/sphinx#6930
1 parent cdb7b34 commit 84de59f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656

5757
autoclass_content = 'init'
5858
autodoc_member_order = 'bysource'
59-
autodoc_default_flags = ['members', 'undoc-members']
59+
autodoc_default_options = {
60+
'members': True,
61+
'undoc-members': True,
62+
}
6063

6164
autosummary_generate = ['api']
6265

0 commit comments

Comments
 (0)