Skip to content

Commit

Permalink
Fix autodoc deprecation warning
Browse files Browse the repository at this point in the history
`autodoc_default_options` supersedes `autodoc_default_flags`.
  • Loading branch information
dean0x7d committed Aug 29, 2020
1 parent 57513d3 commit 0fa5ad4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
]

autodoc_member_order = 'groupwise'
autodoc_default_flags = ['members', 'special-members', 'inherited-members']
autodoc_default_options = {
'members': None,
'special-members': None,
'inherited-members': None
}
autodoc_allowed_special_members = ['__call__', '__getitem__']
generate_from_files = ['api.rst']

Expand Down

0 comments on commit 0fa5ad4

Please sign in to comment.