From cd8890c4ca23164a9d786407ab42b723639635a7 Mon Sep 17 00:00:00 2001 From: Jelmer Bot Date: Mon, 8 Apr 2024 11:58:55 +0200 Subject: [PATCH] use newer napoleon --- docs/conf.py | 2 +- docs/requirements.txt | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 688e49d..d874034 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ "nbsphinx", "sphinx.ext.autodoc", "sphinx.ext.intersphinx", # links to other Sphinx projects (e.g. NumPy) - "sphinxcontrib.napoleon", + "sphinx.ext.napoleon", "sphinx_last_updated_by_git", # get "last updated" from Git ] diff --git a/docs/requirements.txt b/docs/requirements.txt index 512909e..b42dcfa 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,4 @@ -nbsphinx >= 0.8 -sphinxcontrib-napoleon >= 0.7 -sphinx_rtd_theme >= 0.3 +nbsphinx >= 0.9 +sphinx_rtd_theme >= 2.0 sphinx-last-updated-by-git >= 0.3 -matplotlib >= 3.4 \ No newline at end of file +matplotlib >= 3.8 \ No newline at end of file