Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork66
Don't duplicate the sidebar button on Sphinx 5 and newer#127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
I've updatedpython/cpython#99381 to point to this PR, so that it installs Sphinx 6.1.3 and A |
Thanks Hugo! A |
The sidebar button is included in the generated HTML from Sphinx 5 onwards (specifically, fromsphinx-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