jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/982406 )
Change subject: [doc] Use sphinx-notfound-page extension with sphinx ......................................................................
[doc] Use sphinx-notfound-page extension with sphinx
Change-Id: If611a85ddc1c9f10a83468e9de2a022f98454e04 --- M docs/conf.py M docs/requirements.txt 2 files changed, 11 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py index 07ca0d6..a662a5f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,6 +49,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'notfound.extension', 'sphinx.ext.autodoc', 'sphinx.ext.autosectionlabel', 'sphinx.ext.autosummary', diff --git a/docs/requirements.txt b/docs/requirements.txt index 22026e7..0052ead 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,4 +4,5 @@ sphinx >= 7.2.6 rstcheck >=6.2.0 sphinxext-opengraph >= 0.9.0 +sphinx-notfound-page >= 1.0.0 furo >= 2023.9.10
pywikibot-commits@lists.wikimedia.org