Skip to content
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

Infra: Remove "Contents" and source link from 404 #4185

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Dec 31, 2024

Follow on from #4184.

We don't need the empty "Contents" and "Page Source (GitHub)" (itself a 404):

image

Let's remove those for 404 pages:

image

(It's also possible to adjust the title and body with config: https://sphinx-notfound-page.readthedocs.io/en/stable/configuration.html#confval-notfound_context)


📚 Documentation preview 📚: https://pep-previews--4185.org.readthedocs.build/

@hugovk hugovk added the infra Core infrastructure for building and rendering PEPs label Dec 31, 2024
@hugovk hugovk requested a review from AA-Turner as a code owner December 31, 2024 10:30
@hugovk hugovk merged commit 6560f7a into python:main Jan 3, 2025
23 checks passed
@hugovk hugovk deleted the tweak-404 branch January 3, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Core infrastructure for building and rendering PEPs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant