Skip to content

Commit

Permalink
Added sphinx extensions for numpy style docstrings (napoleon) and typ…
Browse files Browse the repository at this point in the history
…ehints (sphinx_autodoc_typehints)
  • Loading branch information
Oli4 committed May 6, 2020
1 parent 8770649 commit 8faa2d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
extensions = ['sphinx.ext.napoleon', 'sphinx.ext.autodoc',
'sphinx_autodoc_typehints', 'sphinx.ext.viewcode']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down

0 comments on commit 8faa2d7

Please sign in to comment.