From 22a7d57724f14a59444a0f40792fa7596a3be180 Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 19 Feb 2024 14:32:56 +0100 Subject: [PATCH] Fix bug when building docs - add numpydoc to sphinx extensions - add numpydoc to docs requirements.txt --- docs/requirements.txt | 1 + docs/source/conf.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index afb47e90..80d38366 100755 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ sphinx==7.2.5 sphinx_rtd_theme==2.0.0 regex +numpydoc==1.6.0 diff --git a/docs/source/conf.py b/docs/source/conf.py index 46406972..0c937b1c 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,7 +56,8 @@ 'sphinx.ext.coverage', 'sphinx.ext.napoleon', 'sphinx.ext.viewcode', - 'sphinx.ext.imgconverter' + 'sphinx.ext.imgconverter', + 'numpydoc', ] # Add any paths that contain templates here, relative to this directory.