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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1cc3d739-60e5-da8e-f8b9-f71d9022ab5a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D780:2AB245:4573F19:5A60898:696D0484 |
| html-safe-nonce | bb77e59d56b46386092eca56ed5638d5a1d820c47a2e165fe2977dc69d97bc50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzgwOjJBQjI0NTo0NTczRjE5OjVBNjA4OTg6Njk2RDA0ODQiLCJ2aXNpdG9yX2lkIjoiODE4Njg2MDk5MTMzODkxNzE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5df61b20174d3b588dbac8931886af73e5e3344235a2404c7a3670b1c42ef3a3 |
| hovercard-subject-tag | pull_request:1322170037 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/python-docs-theme/pull/127/files |
| twitter:image | https://avatars.githubusercontent.com/u/9087854?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9087854?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31994babd8463b50f2371f63aab0826561f4efe3981ac0ebc4c33e6c41032dbd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/python-docs-theme git https://github.com/python/python-docs-theme.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 93341818 |
| octolytics-dimension-repository_nwo | python/python-docs-theme |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93341818 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-theme |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f5a202c3c4aefc9cf00c8c78951a1e72eaebebeb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width