René's URL Explorer Experiment


Title: Add language and version switchers by AA-Turner · Pull Request #193 · python/python-docs-theme · GitHub

Open Graph Title: Add language and version switchers by AA-Turner · Pull Request #193 · python/python-docs-theme

X Title: Add language and version switchers by AA-Turner · Pull Request #193 · python/python-docs-theme

Description: This is largely based on https://github.com/python/docsbuild-scripts/blob/main/templates/switchers.js, but with substantial modifications, because we can make full use of Sphinx and Jinja. This is ...

Open Graph Description: This is largely based on https://github.com/python/docsbuild-scripts/blob/main/templates/switchers.js, but with substantial modifications, because we can make full use of Sphinx and Jinja. This is ...

X Description: This is largely based on https://github.com/python/docsbuild-scripts/blob/main/templates/switchers.js, but with substantial modifications, because we can make full use of Sphinx and Jinja. This is ...

Opengraph URL: https://github.com/python/python-docs-theme/pull/193

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4b78bb4b-6099-00ad-fcdc-e95e85633e73
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB876:5ADCA:105A7E1:16ECEF9:696FC4A6
html-safe-noncee2553507d860c0df591a214b6f0fe38335fcdb558cb2cb9fb630bd2586238efe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODc2OjVBRENBOjEwNUE3RTE6MTZFQ0VGOTo2OTZGQzRBNiIsInZpc2l0b3JfaWQiOiI0OTg2ODUxMDQ4NDI5NzAwMjYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca65c621390c9f56696b24a326506484a520b683bd4a6c65947782ff49d015881
hovercard-subject-tagpull_request:1970602527
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/python-docs-theme/193/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/19d165d07ed8f41ce100e31191042029b1f5ca24335375137d1d1b1930293972/python/python-docs-theme/pull/193
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19d165d07ed8f41ce100e31191042029b1f5ca24335375137d1d1b1930293972/python/python-docs-theme/pull/193
og:image:altThis is largely based on https://github.com/python/docsbuild-scripts/blob/main/templates/switchers.js, but with substantial modifications, because we can make full use of Sphinx and Jinja. This is ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAA-Turner
hostnamegithub.com
expected-hostnamegithub.com
None330ca0f04ee8ecef1da04306a0dd49293f64679ee9a4bd5eaf2e1272bfdcf145
turbo-cache-controlno-preview
go-importgithub.com/python/python-docs-theme git https://github.com/python/python-docs-theme.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id93341818
octolytics-dimension-repository_nwopython/python-docs-theme
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id93341818
octolytics-dimension-repository_network_root_nwopython/python-docs-theme
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release816ad575e27a390de2e2089ebe75261d12de9b37
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpython-docs-theme%2Fpull%2F193
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpython-docs-theme%2Fpull%2F193
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fpython-docs-theme
Reloadhttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
Reloadhttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
Reloadhttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
python https://patch-diff.githubusercontent.com/python
python-docs-themehttps://patch-diff.githubusercontent.com/python/python-docs-theme
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fpython-docs-theme
Fork 75 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fpython-docs-theme
Star 84 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fpython-docs-theme
Code https://patch-diff.githubusercontent.com/python/python-docs-theme
Issues 12 https://patch-diff.githubusercontent.com/python/python-docs-theme/issues
Pull requests 4 https://patch-diff.githubusercontent.com/python/python-docs-theme/pulls
Actions https://patch-diff.githubusercontent.com/python/python-docs-theme/actions
Projects 0 https://patch-diff.githubusercontent.com/python/python-docs-theme/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python/python-docs-theme/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
Insights https://patch-diff.githubusercontent.com/python/python-docs-theme/pulse
Code https://patch-diff.githubusercontent.com/python/python-docs-theme
Issues https://patch-diff.githubusercontent.com/python/python-docs-theme/issues
Pull requests https://patch-diff.githubusercontent.com/python/python-docs-theme/pulls
Actions https://patch-diff.githubusercontent.com/python/python-docs-theme/actions
Projects https://patch-diff.githubusercontent.com/python/python-docs-theme/projects
Security https://patch-diff.githubusercontent.com/python/python-docs-theme/security
Insights https://patch-diff.githubusercontent.com/python/python-docs-theme/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython%2Fpython-docs-theme%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fpython-docs-theme%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issue-comment-box
AA-Turnerhttps://patch-diff.githubusercontent.com/AA-Turner
python:mainhttps://patch-diff.githubusercontent.com/python/python-docs-theme/tree/main
AA-Turner:switchers-squashedhttps://patch-diff.githubusercontent.com/AA-Turner/python-docs-theme/tree/switchers-squashed
Add language and version switchers https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#top
AA-Turnerhttps://patch-diff.githubusercontent.com/AA-Turner
python:mainhttps://patch-diff.githubusercontent.com/python/python-docs-theme/tree/main
AA-Turner:switchers-squashedhttps://patch-diff.githubusercontent.com/AA-Turner/python-docs-theme/tree/switchers-squashed
Conversation 9 https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
Commits 1 https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193/commits
Checks 0 https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193/checks
Files changed https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/AA-Turner
AA-Turnerhttps://patch-diff.githubusercontent.com/AA-Turner
Jul 16, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issue-2410059876
https://github.com/python/docsbuild-scripts/blob/main/templates/switchers.jshttps://github.com/python/docsbuild-scripts/blob/main/templates/switchers.js
https://github.com/python/devguide/blob/main/include/release-cycle.jsonhttps://github.com/python/devguide/blob/main/include/release-cycle.json
https://github.com/python/docsbuild-scripts/blob/main/config.tomlhttps://github.com/python/docsbuild-scripts/blob/main/config.toml
https://github.com/python/docsbuild-scripts/blob/213530446b083788da9dbf4ca02284b5dc9c5c5c/build_docs.py#L778-L780https://github.com/python/docsbuild-scripts/blob/213530446b083788da9dbf4ca02284b5dc9c5c5c/build_docs.py#L778-L780
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/AA-Turner
Add language and version switchershttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193/commits/4a284c25bcf81c50dd7ab1fd9dc11b0bdde28c78
4a284c2https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193/commits/4a284c25bcf81c50dd7ab1fd9dc11b0bdde28c78
https://patch-diff.githubusercontent.com/AA-Turner
AA-Turnerhttps://patch-diff.githubusercontent.com/AA-Turner
JulienPalardhttps://patch-diff.githubusercontent.com/JulienPalard
ezio-melottihttps://patch-diff.githubusercontent.com/ezio-melotti
hugovkhttps://patch-diff.githubusercontent.com/hugovk
July 16, 2024 02:36https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#event-13513971744
https://patch-diff.githubusercontent.com/humitos
humitoshttps://patch-diff.githubusercontent.com/humitos
Jul 16, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2230348666
python/cpython#116966https://github.com/python/cpython/pull/116966
python/cpython#119541https://github.com/python/cpython/pull/119541
https://cpython-previews.readthedocs.io/en/main/https://cpython-previews.readthedocs.io/en/main/
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/humitos
humitoshttps://patch-diff.githubusercontent.com/humitos
Jul 16, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2230362924
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/hugovk
hugovkhttps://patch-diff.githubusercontent.com/hugovk
Jul 19, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2239827517
@humitoshttps://github.com/humitos
https://cpython-previews.readthedocs.io/en/main/https://cpython-previews.readthedocs.io/en/main/
https://docs.python.orghttps://docs.python.org
https://typing.readthedocs.iohttps://typing.readthedocs.io
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/ezio-melotti
ezio-melottihttps://patch-diff.githubusercontent.com/ezio-melotti
Jul 20, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2240945487
https://github.com/python/devguide/blob/main/include/release-cycle.jsonhttps://github.com/python/devguide/blob/main/include/release-cycle.json
SSOThttps://en.wikipedia.org/wiki/Single_source_of_truth
Provide the status of Python branches and versions as a csv devguide#883https://github.com/python/devguide/issues/883
Replace the "Status of the Python branches" table with a csv. devguide#884https://github.com/python/devguide/pull/884
Generate release cycle chart and CSV devguide#988https://github.com/python/devguide/pull/988
https://github.com/python/docsbuild-scripts/blob/main/config.tomlhttps://github.com/python/docsbuild-scripts/blob/main/config.toml
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
humitoshttps://patch-diff.githubusercontent.com/humitos
Jul 23, 2024 https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#ref-commit-e5753a1
https://patch-diff.githubusercontent.com/humitos
Generate version selector dynamically via JavaScripthttps://patch-diff.githubusercontent.com/readthedocs/docsbuild-scripts/commit/e5753a1727a7beb0625d5e40d8f291a8f9b7b560
e5753a1https://patch-diff.githubusercontent.com/readthedocs/docsbuild-scripts/commit/e5753a1727a7beb0625d5e40d8f291a8f9b7b560
python/python-docs-theme#193https://github.com/python/python-docs-theme/pull/193
python/docs-community#5https://github.com/python/docs-community/issues/5
humitoshttps://patch-diff.githubusercontent.com/humitos
Jul 23, 2024 https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#ref-commit-0a2e3a8
https://patch-diff.githubusercontent.com/humitos
Generate version selector dynamically via JavaScripthttps://patch-diff.githubusercontent.com/readthedocs/docsbuild-scripts/commit/0a2e3a8ed5b747d894c139bf1b5b24a8f5d4344a
0a2e3a8https://patch-diff.githubusercontent.com/readthedocs/docsbuild-scripts/commit/0a2e3a8ed5b747d894c139bf1b5b24a8f5d4344a
https://github.com/python/cpython/tree/main/Doc/tools/statichttps://github.com/python/cpython/tree/main/Doc/tools/static
python/python-docs-theme#193https://github.com/python/python-docs-theme/pull/193
python/docs-community#5https://github.com/python/docs-community/issues/5
humitoshttps://patch-diff.githubusercontent.com/humitos
Jul 23, 2024 https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#ref-commit-6a3b249
https://patch-diff.githubusercontent.com/humitos
Generate version selector dynamically via JavaScripthttps://patch-diff.githubusercontent.com/readthedocs/docsbuild-scripts/commit/6a3b2495d337ea8e0225b90b4435511e9aa9266a
6a3b249https://patch-diff.githubusercontent.com/readthedocs/docsbuild-scripts/commit/6a3b2495d337ea8e0225b90b4435511e9aa9266a
https://github.com/python/cpython/tree/main/Doc/tools/statichttps://github.com/python/cpython/tree/main/Doc/tools/static
python/python-docs-theme#193https://github.com/python/python-docs-theme/pull/193
python/docs-community#5https://github.com/python/docs-community/issues/5
Generate version selector dynamically via JavaScript python/docsbuild-scripts#179 https://patch-diff.githubusercontent.com/python/docsbuild-scripts/pull/179
Host the Python docs on ReadTheDocs python/docs-community#5 https://patch-diff.githubusercontent.com/python/docs-community/issues/5
https://patch-diff.githubusercontent.com/humitos
humitoshttps://patch-diff.githubusercontent.com/humitos
Jul 23, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2245601695
python/docs-community#5 (comment)https://github.com/python/docs-community/issues/5#issuecomment-2245590647
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/hugovk
hugovkhttps://patch-diff.githubusercontent.com/hugovk
Jul 24, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2248935726
python/devguide@main/include/release-cycle.jsonhttps://github.com/python/devguide/blob/main/include/release-cycle.json?rgh-link-date=2024-07-16T02%3A36%3A39Z
python/docsbuild-scripts@main/config.tomlhttps://github.com/python/docsbuild-scripts/blob/main/config.toml?rgh-link-date=2024-07-16T02%3A36%3A39Z
@ezio-melottihttps://github.com/ezio-melotti
@AA-Turnerhttps://github.com/AA-Turner
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/humitos
humitoshttps://patch-diff.githubusercontent.com/humitos
Jul 25, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2249956529
Doc/tools/static/https://github.com/python/cpython/tree/main/Doc/tools/static
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/hugovk
hugovkhttps://patch-diff.githubusercontent.com/hugovk
Jul 26, 2024https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2252212151
Doc/tools/static/https://github.com/python/cpython/tree/main/Doc/tools/static?rgh-link-date=2024-07-25T10%3A04%3A06Z
currently 3.8-3.11https://devguide.python.org/versions/
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/apps/python-cla-bot
python-cla-bothttps://patch-diff.githubusercontent.com/apps/python-cla-bot
Apr 6, 2025https://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193#issuecomment-2781436477
https://cla.python.org/
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpython-docs-theme%2Fpull%2F193
https://patch-diff.githubusercontent.com/JulienPalard
JulienPalard https://patch-diff.githubusercontent.com/JulienPalard
https://patch-diff.githubusercontent.com/hugovk
hugovk https://patch-diff.githubusercontent.com/hugovk
https://patch-diff.githubusercontent.com/ezio-melotti
ezio-melotti https://patch-diff.githubusercontent.com/ezio-melotti
Please reload this pagehttps://patch-diff.githubusercontent.com/python/python-docs-theme/pull/193
https://patch-diff.githubusercontent.com/AA-Turner
https://patch-diff.githubusercontent.com/humitos
https://patch-diff.githubusercontent.com/hugovk
https://patch-diff.githubusercontent.com/ezio-melotti
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.