René's URL Explorer Experiment


Title: Don't duplicate the sidebar button on Sphinx 5 and newer by AA-Turner · Pull Request #127 · python/python-docs-theme · GitHub

Open Graph Title: Don't duplicate the sidebar button on Sphinx 5 and newer by AA-Turner · Pull Request #127 · python/python-docs-theme

X Title: Don't duplicate the sidebar button on Sphinx 5 and newer by AA-Turner · Pull Request #127 · python/python-docs-theme

Description: The sidebar button is included in the generated HTML from Sphinx 5 onwards (specifically, from sphinx-doc/sphinx@3b01fbe and the changes to themes/classic/layout.html). We use the sphinx_version_tuple templating variable addded in Sphinx 4.2 to determine if we should add the sidebar button dynamically via JavaScript, or load the pre-existing button element from HTML. I have tested locally on Sphinx 6.1.3, Sphinx 3.2.0, and Sphinx 4.5.0--all three display correct behaviour with respect to the sidebar. A

Open Graph Description: The sidebar button is included in the generated HTML from Sphinx 5 onwards (specifically, from sphinx-doc/sphinx@3b01fbe and the changes to themes/classic/layout.html). We use the sphinx_version_t...

X Description: The sidebar button is included in the generated HTML from Sphinx 5 onwards (specifically, from sphinx-doc/sphinx@3b01fbe and the changes to themes/classic/layout.html). We use the sphinx_version_t...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1cc3d739-60e5-da8e-f8b9-f71d9022ab5a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD780:2AB245:4573F19:5A60898:696D0484
html-safe-noncebb77e59d56b46386092eca56ed5638d5a1d820c47a2e165fe2977dc69d97bc50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzgwOjJBQjI0NTo0NTczRjE5OjVBNjA4OTg6Njk2RDA0ODQiLCJ2aXNpdG9yX2lkIjoiODE4Njg2MDk5MTMzODkxNzE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5df61b20174d3b588dbac8931886af73e5e3344235a2404c7a3670b1c42ef3a3
hovercard-subject-tagpull_request:1322170037
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/python-docs-theme/pull/127/files
twitter:imagehttps://avatars.githubusercontent.com/u/9087854?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9087854?s=400&v=4
og:image:altThe sidebar button is included in the generated HTML from Sphinx 5 onwards (specifically, from sphinx-doc/sphinx@3b01fbe and the changes to themes/classic/layout.html). We use the sphinx_version_t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None31994babd8463b50f2371f63aab0826561f4efe3981ac0ebc4c33e6c41032dbd
turbo-cache-controlno-preview
diff-viewunified
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-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef5a202c3c4aefc9cf00c8c78951a1e72eaebebeb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/python-docs-theme/pull/127/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpython-docs-theme%2Fpull%2F127%2Ffiles
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpython-docs-theme%2Fpull%2F127%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fpython-docs-theme
Reloadhttps://github.com/python/python-docs-theme/pull/127/files
Reloadhttps://github.com/python/python-docs-theme/pull/127/files
Reloadhttps://github.com/python/python-docs-theme/pull/127/files
python https://github.com/python
python-docs-themehttps://github.com/python/python-docs-theme
Please reload this pagehttps://github.com/python/python-docs-theme/pull/127/files
Notifications https://github.com/login?return_to=%2Fpython%2Fpython-docs-theme
Fork 74 https://github.com/login?return_to=%2Fpython%2Fpython-docs-theme
Star 84 https://github.com/login?return_to=%2Fpython%2Fpython-docs-theme
Code https://github.com/python/python-docs-theme
Issues 12 https://github.com/python/python-docs-theme/issues
Pull requests 4 https://github.com/python/python-docs-theme/pulls
Actions https://github.com/python/python-docs-theme/actions
Projects 0 https://github.com/python/python-docs-theme/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/python-docs-theme/security
Please reload this pagehttps://github.com/python/python-docs-theme/pull/127/files
Insights https://github.com/python/python-docs-theme/pulse
Code https://github.com/python/python-docs-theme
Issues https://github.com/python/python-docs-theme/issues
Pull requests https://github.com/python/python-docs-theme/pulls
Actions https://github.com/python/python-docs-theme/actions
Projects https://github.com/python/python-docs-theme/projects
Security https://github.com/python/python-docs-theme/security
Insights https://github.com/python/python-docs-theme/pulse
Sign up for GitHub https://github.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://github.com/login?return_to=%2Fpython%2Fpython-docs-theme%2Fissues%2Fnew%2Fchoose
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/python-docs-theme/tree/main
AA-Turner:sphinx-5-fixuphttps://github.com/AA-Turner/python-docs-theme/tree/sphinx-5-fixup
Conversation 3 https://github.com/python/python-docs-theme/pull/127
Commits 3 https://github.com/python/python-docs-theme/pull/127/commits
Checks 0 https://github.com/python/python-docs-theme/pull/127/checks
Files changed https://github.com/python/python-docs-theme/pull/127/files
Please reload this pagehttps://github.com/python/python-docs-theme/pull/127/files
Don't duplicate the sidebar button on Sphinx 5 and newer https://github.com/python/python-docs-theme/pull/127/files#top
Show all changes 3 commits https://github.com/python/python-docs-theme/pull/127/files
0c6a817 Rename ``sidebar.js`` to be a static template file AA-Turner Apr 20, 2023 https://github.com/python/python-docs-theme/pull/127/commits/0c6a8173f3f234f2f746d1f9642a7f945c31d6fd
d5d6285 Don't duplicate the sidebar button on Sphinx 5 and newer AA-Turner Apr 20, 2023 https://github.com/python/python-docs-theme/pull/127/commits/d5d628549a73bf527cf4559c32fa915207414b65
d39c311 whitespace AA-Turner Apr 20, 2023 https://github.com/python/python-docs-theme/pull/127/commits/d39c3112a89023492d9f0efa9bdf7a51ca7f436d
Clear filters https://github.com/python/python-docs-theme/pull/127/files
Please reload this pagehttps://github.com/python/python-docs-theme/pull/127/files
Please reload this pagehttps://github.com/python/python-docs-theme/pull/127/files
python_docs_theme/static/sidebar.js → python_docs_theme/static/sidebar.js_thttps://github.com/python/python-docs-theme/pull/127/files#diff-2cf5946afe8c16343e2ede7c68fe4b94f7cb69393185930abe4ab9312cea051e
View file https://github.com/AA-Turner/python-docs-theme/blob/d39c3112a89023492d9f0efa9bdf7a51ca7f436d/python_docs_theme/static/sidebar.js_t
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/python-docs-theme/pull/127/{{ revealButtonHref }}
https://github.com/python/python-docs-theme/pull/127/files#diff-2cf5946afe8c16343e2ede7c68fe4b94f7cb69393185930abe4ab9312cea051e
https://github.com/python/python-docs-theme/pull/127/files#diff-2cf5946afe8c16343e2ede7c68fe4b94f7cb69393185930abe4ab9312cea051e
https://github.com/python/python-docs-theme/pull/127/files#diff-2cf5946afe8c16343e2ede7c68fe4b94f7cb69393185930abe4ab9312cea051e
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.