Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Jan 16, 2026

We remove the first item in the table of contents, which is the contents node.

But we shouldn't do that for non-PEP pages such as the API page which is missing the first peps.json and shows the others:

Before: https://peps.python.org/api/

image

After: https://pep-previews--4784.org.readthedocs.build/api/

image

@hugovk hugovk added the infra Core infrastructure for building and rendering PEPs label Jan 16, 2026
@hugovk hugovk requested a review from AA-Turner as a code owner January 16, 2026 14:03
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