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

Update to canonical PEP URLs #822

Merged
merged 2 commits into from Mar 30, 2022
Merged

Update to canonical PEP URLs #822

merged 2 commits into from Mar 30, 2022

Conversation

Copy link
Member

@hugovk hugovk commented Mar 26, 2022

With the recent implementation of PEP 676 the canonical URL for PEPs has changed from, for example:

https://www.python.org/dev/peps/pep-0008/

to:

https://peps.python.org/pep-0008/

Redirects are in place so the old links still work, but let's update to use the new canonical form.

See also:

@hugovk
Copy link
Member Author

@hugovk hugovk commented Mar 26, 2022

Actually, will update this to use the :pep: role, so they'll be automatically handled by the next Sphinx release (sphinx-doc/sphinx#10267).

@hugovk hugovk marked this pull request as draft Mar 26, 2022
@hugovk hugovk marked this pull request as ready for review Mar 26, 2022
@hugovk
Copy link
Member Author

@hugovk hugovk commented Mar 26, 2022

Ready for review!

@hugovk
Copy link
Member Author

@hugovk hugovk commented Mar 27, 2022

Actually, will update this to use the :pep: role, so they'll be automatically handled by the next Sphinx release (sphinx-doc/sphinx#10267).

Sphinx 4.5.0 is now out and the :pep: role uses the new URLs. 🚀

@pablogsal pablogsal merged commit 6132131 into python:main Mar 30, 2022
2 checks passed
@pablogsal
Copy link
Member

@pablogsal pablogsal commented Mar 30, 2022

Thanks @hugovk !

@hugovk hugovk deleted the canonical-pep-urls branch Mar 30, 2022
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.

None yet

3 participants