Infra: Link target release to release PEP in PEP 0 - #5058
Conversation
Documentation build overview
7 files changed ·
|
|
Please also check topic pages such as https://pep-previews--5058.org.readthedocs.build/topic/packaging/, they don't have linked versions. Is it worth also linking on the release topic page? https://pep-previews--5058.org.readthedocs.build/topic/release/ Some with multiple versions don't get linked:
(That "2.6, 3.0" is a link to the joint 2.6/3.0 PEP.) Add tests to include cases like "2.6, 3.0", "2.7, 3.1" and "2.4, 2.5, 2.6". |
|
Thanks! I've updated the topic pages to use the same I've also added regression tests covering the historical multi-version cases you mentioned:
I've verified the changes with |
|
Please check the output, there are still unlinked versions. |
…rom joint release PEPs
I updated the release PEP mapping to handle release PEPs that cover multiple Python versions (e.g. I verified the generated output, and the previously unlinked standalone |
|
Thanks! I've incorporated the suggested simplifications.
|
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

Summary
This change links Python version entries in PEP 0 to their corresponding release schedule PEPs.
Specifically, it:
:pep:references for Python version entries when a matching release schedule PEP exists.Testing
Results:
Issue
Closes #4379