-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: sphinx-notfound-page doesn't show nicer 404 page #125895
Comments
I can see the extension is installed in the venv on the docs server, for example:
I'm not sure what's up, perhaps it's some Nginx config? But at least it is useful on the previews, and there is a plan to host the docs on Read the Docs: python/docs-community#5. |
It's because the prefix defaults to Ideally there would be a way to define this via a pattern (e.g. We can't use that static string because we don't know the language ahead of time though, as we use A |
It's useful for RTD previews, so I suggest we either leave it be, or only install it for RTD builds. It's not a heavy dependency, so I lean towards leaving it be. |
Can't you use an environment variable, as those can be retrieved in |
Documentation
The sphinx not found extension introduced in #111084 doesn't seem to be installed when the documentation is published: https://docs.python.org/3/-
This is how it's meant to look: https://cpython-previews.readthedocs.io/en/3.14/-
cc @hugovk
The text was updated successfully, but these errors were encountered: