From 4606a9890f52557cbdd6ddd40b56ed2c2f78f8e8 Mon Sep 17 00:00:00 2001 From: James Gerity Date: Wed, 6 Dec 2023 10:53:19 -0500 Subject: [PATCH] Use numpydoc to render documentation --- docs/conf.py | 5 ++++- docs/requirements.txt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 1a236b0b..6108549b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -44,7 +44,10 @@ def __getattr__(cls, name): # 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", + "numpydoc", +] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] diff --git a/docs/requirements.txt b/docs/requirements.txt index 1cd79c18..7577d489 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ +numpydoc<1.6 sphinx==4.5.0 sphinx_rtd_theme==1.0.0 readthedocs-sphinx-search==0.1.1