Skip to content

Commit

Permalink
Docs: create nice 404 pages (#3444)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Aug 2, 2022
2 parents 3ecabf8 + 00eaec7 commit 9b0cf7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelog.d/3444.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Installed ``sphinx-notfound-page`` extension to generate nice 404 pages.
-- by :user:`humitos`
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@
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 = [
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b0cf7e

Please sign in to comment.