You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move docs.python.org language and version switcher out of cpython #85200
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/JulienPalard'closed_at=<Date2022-02-21.20:52:59.315>created_at=<Date2020-06-18.21:35:33.745>labels= ['3.7', '3.8', '3.9', '3.10', 'docs']
title='Move docs.python.org language and version switcher out of cpython'updated_at=<Date2022-02-21.20:52:59.315>user='https://github.com/JulienPalard'
@mdk, This seems to be working great for the the python.org doc builds. What do you think about backporting this to the current active branches so that the doc builds for individual releases and those included with binary installers show the new generic links rather than the out-of-date old links?
I went ahead and auto-backported the full PR to 3.9 and 3.8 since it applies cleanly there and did a manual backport of just the sidebar changes to 3.7 and 3.6 (added in the final merge before EOL). Now just awaiting @ambv approval for 3.8.
Activity
JulienPalard commentedon Jun 18, 2020
This is to track 1 from the cpython point of view, mostly just to remove the switchers as they are now handled by docsbuild-scripts.
see: https://mail.python.org/pipermail/doc-sig/2020-June/004200.html
JulienPalard commentedon Jun 19, 2020
In production, this is now starting to fix links and picker for the 2.7 version, which was stating:
Docs by version
and now displays:
Docs by version
JulienPalard commentedon Nov 7, 2020
New changeset ee2549c by Julien Palard in branch 'master':
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969)
ee2549c
ned-deily commentedon Feb 15, 2021
@mdk, This seems to be working great for the the python.org doc builds. What do you think about backporting this to the current active branches so that the doc builds for individual releases and those included with binary installers show the new generic links rather than the out-of-date old links?
ned-deily commentedon Jan 2, 2022
New changeset 811f65b by Ned Deily in branch '3.7':
bpo-41028: use generic version links in Docs index.
811f65b
ned-deily commentedon Jan 2, 2022
New changeset b28b022 by Miss Islington (bot) in branch '3.9':
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30343)
b28b022
ned-deily commentedon Jan 2, 2022
I went ahead and auto-backported the full PR to 3.9 and 3.8 since it applies cleanly there and did a manual backport of just the sidebar changes to 3.7 and 3.6 (added in the final merge before EOL). Now just awaiting @ambv approval for 3.8.
For reference, compare old vs new "Docs by version" sidebar on the index pages:
https://docs.python.org/release/3.9.9/
https://docs.python.org/release/3.10.1/
ambv commentedon Feb 17, 2022
New changeset 4c48cac by Miss Islington (bot) in branch '3.8':
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30344)
4c48cac