diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-08-02 10:41:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-02 10:41:05 +0100 |
| commit | 9b0cf7e1dfd8c3e11a47a9b3c7f4385745d50daf (patch) | |
| tree | 26ac5421a2fa1c040eaa880354fee717556611a4 | |
| parent | 3ecabf8583b6e57d3ac47b34d6afec0b9d00b167 (diff) | |
| parent | 00eaec7a0c4e49af9c4062145c969f08d2953abe (diff) | |
| download | python-setuptools-git-9b0cf7e1dfd8c3e11a47a9b3c7f4385745d50daf.tar.gz | |
Docs: create nice 404 pages (#3444)
| -rw-r--r-- | changelog.d/3444.doc.rst | 2 | ||||
| -rw-r--r-- | docs/conf.py | 3 | ||||
| -rw-r--r-- | setup.cfg | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/changelog.d/3444.doc.rst b/changelog.d/3444.doc.rst new file mode 100644 index 00000000..fd6bda85 --- /dev/null +++ b/changelog.d/3444.doc.rst @@ -0,0 +1,2 @@ +Installed ``sphinx-notfound-page`` extension to generate nice 404 pages. +-- by :user:`humitos` diff --git a/docs/conf.py b/docs/conf.py index a5e44eae..9a4e33b7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -215,6 +215,9 @@ extensions += ['jaraco.tidelift'] extensions += ['sphinx-favicon'] html_static_path = ['images'] # should contain the folder with icons +# Add support for nice Not Found 404 pages +extensions += ['notfound.extension'] + # List of dicts with <link> HTML attributes # static-file points to files in the html_static_path (href is computed) favicons = [ @@ -90,6 +90,7 @@ docs = jaraco.packaging >= 9 rst.linker >= 1.9 jaraco.tidelift >= 1.4 + sphinx-notfound-page == 0.8.3 sphinx-hoverxref < 2 # local |
