From 0a6f8075eb8d9d52d9316e9d6e5ec2d12ff2e1a7 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 10 Mar 2021 06:57:26 +0000 Subject: [PATCH] add sphinx-notfound-page (#777) Co-authored-by: Hynek Schlawack --- docs/conf.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 86a158df..ae65fbbc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,6 +52,7 @@ extensions = [ "sphinx.ext.doctest", "sphinx.ext.intersphinx", "sphinx.ext.todo", + "notfound.extension", ] diff --git a/setup.py b/setup.py index f46a0b8c..9941014b 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ CLASSIFIERS = [ ] INSTALL_REQUIRES = [] EXTRAS_REQUIRE = { - "docs": ["furo", "sphinx", "zope.interface"], + "docs": ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"], "tests_no_zope": [ # 5.0 introduced toml; parallel was broken until 5.0.2 "coverage[toml]>=5.0.2",