404 page with invalid URLs¶
Example showing what happens when creating a 404.rst
file with Sphinx without using sphinx-notfound-page
:
https://sphinx-notfound-page.readthedocs.io/
Sphinx configuration file used to build this docs (see full file),
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # -*- coding: utf-8 -*- # Default settings project = 'Test Builds' extensions = [ 'sphinx_autorun', ] latex_engine = 'xelatex' # allow us to build Unicode chars # Include all your settings here html_theme = 'sphinx_rtd_theme' |
>>> # Build at
>>> import datetime
>>> datetime.datetime.utcnow() # UTC
datetime.datetime(2022, 8, 29, 14, 46, 27, 207354)