From 89eeeb9c653adc75e75cdd5be9fd507b7f42c1cf Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Tue, 11 Oct 2022 14:25:00 +0200 Subject: [PATCH] docs: Fix sphinx import error on Python 3.10+ --- docs/sphinx/conf.py | 4 ++-- docs/sphinx/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 8a6dab35a..1e5658c5c 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -35,10 +35,10 @@ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.coverage", "sphinx.ext.viewcode", + "sphinx.ext.napoleon", "sphinx_rtd_theme", - "sphinxcontrib.napoleon", "sphinx.ext.autosectionlabel", - "sphinx.ext.extlinks" + "sphinx.ext.extlinks", ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/sphinx/requirements.txt b/docs/sphinx/requirements.txt index acbeb221c..376851bb7 100644 --- a/docs/sphinx/requirements.txt +++ b/docs/sphinx/requirements.txt @@ -1,2 +1,2 @@ +sphinx>=1.3 sphinx_rtd_theme>=0.5.2 -sphinxcontrib-napoleon>=0.7 \ No newline at end of file