Added custom 404 error code page in the sphinx docs (#115)

This commit is contained in:
2023-09-13 19:01:09 +02:00
committed by GitHub
parent ba44b082b8
commit 507647d164
3 changed files with 28 additions and 26 deletions

View File

@ -43,6 +43,7 @@ extensions: Final[list[str]] = [
"sphinx.ext.viewcode",
"IPython.sphinxext.ipython_console_highlighting",
"sphinxcontrib.mermaid",
"notfound.extension",
]
# templates_path : Final[list[str]] = ["_templates"]
@ -86,3 +87,5 @@ intersphinx_mapping: Final[dict[str, tuple[str, None]]] = {
"scikit-learn": ("https://scikit-learn.org/stable/", None),
"sphinx": ("https://docs.sympy.org/latest/", None),
}
notfound_urls_prefix = "/"