Skip to content

Commit

Permalink
Merge pull request #1411 from rasto2211/napoleon
Browse files Browse the repository at this point in the history
Add napolean sphinx extension to allow parsing docstrings in various formats
  • Loading branch information
menshikh-iv authored Jun 14, 2017
2 parents fbe6db0 + 92ac823 commit f64ce71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/src/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Makefile for Sphinx documentation
#
# In order to compile this documentation you need to have sphinx
# and sphinxcontrib-napoleon. You can install them using:
# pip3 install sphinx sphinxcontrib-napoleon

# You can set these variables from the command line.
SPHINXOPTS =
Expand Down
2 changes: 1 addition & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# 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']
extensions = ['sphinx.ext.autodoc', 'sphinxcontrib.napoleon']
autoclass_content = "both"

# Add any paths that contain templates here, relative to this directory.
Expand Down

0 comments on commit f64ce71

Please sign in to comment.