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

Conversation

hugovk
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 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 March 26, 2022 14:49
@hugovk hugovk marked this pull request as ready for review March 26, 2022 17:22
@hugovk
Copy link
Member Author

hugovk commented Mar 26, 2022

Ready for review!

@hugovk
Copy link
Member Author

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
@pablogsal
Copy link
Member

Thanks @hugovk !

@hugovk hugovk deleted the canonical-pep-urls branch March 30, 2022 11:44
AA-Turner pushed a commit to AA-Turner/devguide that referenced this pull request Jun 17, 2022
* Update to canonical PEP URLs and use the Sphinx :pep: role

* Bump Sphinx to 4.5.0 to use updated :pep: role
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