diff options
author | Chad Smith <chad.smith@canonical.com> | 2023-02-08 06:55:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 14:55:51 +0100 |
commit | aa7ea85302d0ad2bd1d2711ce78dba0bce52c6b0 (patch) | |
tree | 540db88f72accaf651b35d813e52d9eb0f003b2f | |
parent | 02202954c65a7a1cdb9b28703bd0af01edd0e091 (diff) | |
download | cloud-init-git-aa7ea85302d0ad2bd1d2711ce78dba0bce52c6b0.tar.gz |
docs: fix 404 render use default notfound_urls_prefix in RTD conf (#2004)
404 styling was off due to invalid config
notfound_urls_prefix = "/"
Drop custom config. The default "/en/latest"
value properly renders the 404 page with style.
-rw-r--r-- | doc/rtd/conf.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/rtd/conf.py b/doc/rtd/conf.py index 6d9a3555..0222056f 100644 --- a/doc/rtd/conf.py +++ b/doc/rtd/conf.py @@ -85,7 +85,6 @@ autosectionlabel_prefix_document = True autosectionlabel_maxdepth = 2 # Sphinx-copybutton config options: -notfound_urls_prefix = "/" notfound_body = ( "<h1>Page not found</h1><p>Sorry we missed you! Our docs have had a" " remodel and some deprecated links have changed.</p><p>" |