Commit 44c8c180 authored by Viacheslav Ostroukh's avatar Viacheslav Ostroukh 🚲
Browse files

replace numpydoc with sphinx.ext.napoleon

Napoleon Sphinx extension seems to be a drop-in replacement, which handles attributes' documentation better.
parent e75bf49e
...@@ -37,7 +37,7 @@ import kwant.continuum # sphinx gets confused with lazy loading ...@@ -37,7 +37,7 @@ import kwant.continuum # sphinx gets confused with lazy loading
sys.path.insert(0, os.path.abspath('../sphinxext')) sys.path.insert(0, os.path.abspath('../sphinxext'))
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary',
'sphinx.ext.todo', 'sphinx.ext.mathjax', 'numpydoc', 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.napoleon',
'kwantdoc', 'sphinx.ext.linkcode', 'jupyter_sphinx', 'kwantdoc', 'sphinx.ext.linkcode', 'jupyter_sphinx',
'sphinxcontrib.rsvgconverter'] 'sphinxcontrib.rsvgconverter']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment