This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Move language and version switcher out of cpython
Type: Stage: resolved
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: mdk Nosy List: lukasz.langa, mdk, miss-islington, ned.deily
Priority: normal Keywords: patch

Created on 2020-06-18 21:35 by mdk, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 20969 merged mdk, 2020-06-18 21:43
PR 30343 merged miss-islington, 2022-01-02 22:34
PR 30344 merged miss-islington, 2022-01-02 22:34
Messages (8)
msg371839 - (view) Author: Julien Palard (mdk) * (Python committer) Date: 2020-06-18 21:35
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.


msg371865 - (view) Author: Julien Palard (mdk) * (Python committer) Date: 2020-06-19 09:56
In production, this is now starting to fix links and picker for the 2.7 version, which was stating:

Docs by version

    Python 3.9 (in development)

and now displays:

Docs by version

    Python 3.10 (in development)
msg380503 - (view) Author: Julien Palard (mdk) * (Python committer) Date: 2020-11-07 11:29
New changeset ee2549c2ba8bae00f2b2fea8a39c6dfbd1d06520 by Julien Palard in branch 'master':
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969)
msg387058 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2021-02-15 20:39
@mdk, This seems to be working great for the the 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?
msg409536 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2022-01-02 23:00
New changeset 811f65ba263140b6ba28151246b52efe149a6382 by Ned Deily in branch '3.7':
bpo-41028: use generic version links in Docs index.
msg409537 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2022-01-02 23:04
New changeset b28b0222e360669463ffe31d27c1fd374361cb23 by Miss Islington (bot) in branch '3.9':
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30343)
msg409538 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2022-01-02 23:11
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:
msg413438 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2022-02-17 18:55
New changeset 4c48cac1c44fbbfe3f5fd0c623b7768e2a709da8 by Miss Islington (bot) in branch '3.8':
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30344)
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85200
2022-02-21 20:52:59ned.deilysetstatus: open -> closed
stage: commit review -> resolved
2022-02-17 18:55:35lukasz.langasetstatus: pending -> open

messages: + msg413438
2022-01-02 23:11:47ned.deilysetstatus: open -> pending

versions: + Python 3.6, Python 3.7, Python 3.8, Python 3.9, Python 3.10
nosy: + lukasz.langa

messages: + msg409538
resolution: fixed
stage: patch review -> commit review
2022-01-02 23:04:42ned.deilysetmessages: + msg409537
2022-01-02 23:00:16ned.deilysetmessages: + msg409536
2022-01-02 22:34:21miss-islingtonsetpull_requests: + pull_request28556
2022-01-02 22:34:16miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request28555
2021-02-15 20:39:31ned.deilysetnosy: + ned.deily
messages: + msg387058
2020-11-07 11:29:02mdksetmessages: + msg380503
2020-06-19 09:56:55mdksetmessages: + msg371865
2020-06-18 21:43:29mdksetkeywords: + patch
stage: patch review
pull_requests: + pull_request20147
2020-06-18 21:35:33mdkcreate