Skip to content

Commit

Permalink
Replace numpydoc with napoleon.
Browse files Browse the repository at this point in the history
It is better supported. In particular it fixes a problem in combination
with the numfig config option.
  • Loading branch information
jgosmann committed Oct 25, 2017
1 parent add13fb commit 462edca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
'sphinx.ext.mathjax',
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'numpydoc',
'nengo.utils.docutils',
]

Expand All @@ -40,8 +40,6 @@

# -- sphinx.ext.todo
todo_include_todos = True
# -- numpydoc config
numpydoc_show_class_members = False

# -- sphinx
exclude_patterns = ['_build']
Expand Down
1 change: 0 additions & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
sphinx
numpydoc>=0.6
sphinx_rtd_theme

0 comments on commit 462edca

Please sign in to comment.