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

Add PEP titles and sections as reference title text #2366

Merged
merged 2 commits into from
Feb 27, 2022

Conversation

AA-Turner
Copy link
Member

This adds the PEP number, title, and section target title to the title text of the link element.

A

Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spot tested this on a few different PEPs and PEP link types, and everything worked great—I particularly liked the inclusion of the section name; that was a very thoughtful and useful touch. I only had one small comment on the formatting of the titletext, and one nitpick on formatting the code.

Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @AA-Turner , this is a terrific improvement. This should be good to merge at your convenience.

@CAM-Gerlach
Copy link
Member

☝️ Just FYI, @warsaw , since IIRC you requested this.

Also, @AA-Turner would it be straightforward to add similar titletext popups in a future PR for footnotes with the footnote content (like Wikipedia has), to avoid users having to click around to find it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants