Add the Sphinx notfound page extension (#15669)

* add sphinx notfound extension
* add notfound conf
* upgrade requirements
* use double backticks
* add urls prefix
This commit is contained in:
Don Naro
2024-12-03 10:26:06 +00:00
committed by GitHub
parent c64b5eb462
commit cdb294c5c7
4 changed files with 35 additions and 32 deletions

View File

@@ -35,9 +35,13 @@ extensions = [
'sphinx.ext.coverage',
'sphinx.ext.ifconfig',
'sphinx_ansible_theme',
'notfound.extension',
'swagger',
]
notfound_urls_prefix = "/en/latest/"
notfound_template = "404.rst"
html_theme = 'sphinx_ansible_theme'
html_theme_path = ["_static"]