Skip to content

Update to canonical PEP URLs - #822

Merged
pablogsal merged 2 commits into
python:mainfrom
hugovk:canonical-pep-urls
Mar 30, 2022
Merged

pablogsal merged 2 commits into
python:mainfrom
hugovk:canonical-pep-urls

Conversation

@hugovk

@hugovk hugovk commented Mar 26, 2022

Copy link
Copy Markdown
Member

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

hugovk commented Mar 26, 2022 •

Copy link
Copy Markdown
Member Author

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 force-pushed the canonical-pep-urls branch from d41488d to b1cc865 Compare March 26, 2022 17:09
@hugovk
hugovk marked this pull request as ready for review March 26, 2022 17:22
@hugovk

hugovk commented Mar 26, 2022

Copy link
Copy Markdown
Member Author

Ready for review!

@hugovk

hugovk commented Mar 27, 2022

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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

Labels

None yet

3 participants