From 55302a8a884376580cdcfa9e4e3888ce14bb7232 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Fri, 24 Oct 2025 00:24:41 +1000 Subject: [PATCH] Add `sphinx-notfound-page` to configure styled 404 pages Popular extension: https://sphinx-extensions.readthedocs.io/en/latest/ https://github.com/readthedocs/sphinx-notfound-page https://sphinx-notfound-page.readthedocs.io/en/latest/ --- requirements.txt | 1 + source/conf.py | 1 + 2 files changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 1dbf927199..13d828674a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ Sphinx==7.2.6 sphinx-rtd-theme==2.0.0 readthedocs-sphinx-ext==2.2.5 Jinja2==3.1.5 +sphinx-notfound-page==1.1.0 diff --git a/source/conf.py b/source/conf.py index 83aa8f291e..3c529caa67 100644 --- a/source/conf.py +++ b/source/conf.py @@ -46,6 +46,7 @@ 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.autosectionlabel', + 'notfound.extension', ] # Add any paths that contain templates here, relative to this directory.