Skip to content

Commit 6e61aa7

Browse files
committed
Added 404 custom page.
1 parent 77c3a50 commit 6e61aa7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ name = "pypi"
77
sphinx = "*"
88
sphinx-copybutton = "*"
99
sphinx-sitemap-lextudio = "*"
10+
sphinx-notfound-page = "*"
1011
furo = "*"
1112

1213
[dev-packages]

conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@
3333
extensions = [
3434
'sphinx.ext.intersphinx',
3535
'sphinx_sitemap',
36-
'sphinx_copybutton'
36+
'sphinx_copybutton',
37+
'notfound.extension',
3738
]
3839

40+
notfound_urls_prefix = "/phpmanager/"
41+
3942
html_baseurl = "https://docs.lextudio.com/phpmanager/"
4043
sitemap_url_scheme = "{link}"
4144
sitemap_suffix_included = False

0 commit comments

Comments
 (0)