Skip to content

Commit 866d5b2

Browse files
Add 404.rst and modify conf.py for it
1 parent 2a66dd3 commit 866d5b2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Doc/404.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
******************
2+
404 Page Not Found
3+
******************
4+
5+
It seems the page you are searching for is missing.
6+
7+
`Click Here to return to the homepage. <docs.python.org>`_

Doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@
401401
html_additional_pages = {
402402
'download': 'download.html',
403403
'index': 'indexcontent.html',
404+
'404': '404.html',
404405
}
405406

406407
# Output an OpenSearch description file.

0 commit comments

Comments
 (0)