Skip to content

Commit

Permalink
Problem: Sphinx deprecated a config option (#2537)
Browse files Browse the repository at this point in the history
Solution: Move from `autodoc_default_flags` to
`autodoc_default_options`.

Related issue:
- sphinx-doc/sphinx#5421
  • Loading branch information
vrde authored and ttmc committed Sep 13, 2018
1 parent 4b54e70 commit 901b6b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/server/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@

# autodoc settings
autodoc_member_order = 'bysource'
autodoc_default_flags = [
'members',
]
autodoc_default_options = {
'members': None,
}

todo_include_todos = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def check_setuptools_features():
]

docs_require = [
'Sphinx>=1.4.8',
'Sphinx~=1.0',
'recommonmark>=0.4.0',
'sphinx-rtd-theme>=0.1.9',
'sphinxcontrib-httpdomain>=1.5.0',
Expand Down

0 comments on commit 901b6b9

Please sign in to comment.