Skip to content

Commit 255f971

Browse files
committed
Activate the napoleon extension for sphinx.
Support parsing of humanly marked-up docstrings.
1 parent 155807b commit 255f971

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/manual/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131

3232
# Add any Sphinx extension module names here, as strings. They can be extensions
3333
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
34-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage', 'sphinx.ext.pngmath']
34+
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest',
35+
'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.napoleon']
3536

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

0 commit comments

Comments
 (0)