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

Meta: Document the PEP shortcut URLs? #2985

Closed
hugovk opened this issue Jan 30, 2023 · 4 comments · Fixed by #3043
Closed

Meta: Document the PEP shortcut URLs? #2985

hugovk opened this issue Jan 30, 2023 · 4 comments · Fixed by #3043
Assignees
Labels
meta Related to the repo itself and its processes

Comments

@hugovk
Copy link
Member

hugovk commented Jan 30, 2023

In #2420 we added shortcut redirects like https://peps.python.org/8 -> https://peps.python.org/pep-0008/

This was specifically to support GitHub's autolinking like: PEP-8 (docs).

Whilst the full zero-padded https://peps.python.org/pep-0008/ remains the canonical form, the https://peps.python.org/8 shortcuts are useful for others as well (for example), so shall we publicise or document these somewhere?

@hugovk hugovk added the meta Related to the repo itself and its processes label Jan 30, 2023
@Rosuav
Copy link
Contributor

Rosuav commented Jan 30, 2023

I like the idea, but I've no idea where to document them that people would actually read, given how people tend not to read documentation anyway :) Would a note in the README be sufficient?

@merwok
Copy link
Member

merwok commented Jan 30, 2023

On the PEP site home page?
Also devguide page about PEPs?

@CAM-Gerlach
Copy link
Member

I like the idea, but I've no idea where to document them that people would actually read, given how people tend not to read documentation anyway :) Would a note in the README be sufficient?

Yeah, that's a good point. A note in the Readme would certainly be better than nothing, though at least if and when #10 is implemented, users aren't likely to actually see it. Then again, it's not clear how important that average users see it anyway. Typically, sites provide shortlinks using a "link"/"share" button, but there's not really a clear benefit over just copying the URL in our case, nor just using the "canonical" link there too.

On the PEP site home page?

You mean PEP 0, the PEP index? Perhaps; that would probably be best for visibility, though that seems like a fairly low-level detail to mention on a page that is very light on text and focused on being an index of the PEPs.

Also devguide page about PEPs?

Which page, sorry? The devguide currently references PEP 1 and PEP 12 as the canonical place for documenting PEP policy, process and guidance for authors. IIRC, it previously contained such a page years ago, but it had drifted way out of date with the PEP repo and actual practice and duplicated information there, so was updated to refer the reader to the canonical resources.

@hugovk
Copy link
Member Author

hugovk commented Mar 7, 2023

Please see #3043 to add a note to the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Related to the repo itself and its processes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants