Skip to content

Commit 7b58dad

Browse files
author
Benjamin Moody
committed
Merge pull request #472 into main
This changeset adds numpydoc to the documentation build requirements, better distinguishing between parameters and return values.
2 parents 8d81359 + 4606a98 commit 7b58dad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/conf.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ def __getattr__(cls, name):
4444
# Add any Sphinx extension module names here, as strings. They can be
4545
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4646
# ones.
47-
extensions = ["sphinx.ext.autodoc"]
47+
extensions = [
48+
"sphinx.ext.autodoc",
49+
"numpydoc",
50+
]
4851

4952
# Add any paths that contain templates here, relative to this directory.
5053
templates_path = ["_templates"]

docs/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
numpydoc<1.6
12
sphinx==4.5.0
23
sphinx_rtd_theme==1.0.0
34
readthedocs-sphinx-search==0.1.1

0 commit comments

Comments
 (0)