| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Turns out this is required for Sphinx 5... python/cpython#99381 A |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
There was a problem hiding this comment.
In addition to the inline comments, I have two generic comments:
if (...) {
...
}Fun fact: I originally implemented both the collapsible sidebar (~12 years ago in python/cpython#47393) and the copybutton (~11 years ago in python/cpython@59dba38) and since then they have traveled around a number of dirs and repos. It's nice to see that in the meanwhile things got standardized and JS evolved to the point that JQuery is no longer needed.
Sorry, something went wrong.
|
Is this ready to merge? |
Sorry, something went wrong.
|
Rebased on main to build RTD preview: And there's an error in the console: sidebar.js:34 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
at HTMLDocument.initialiseSidebar (sidebar.js:34:38)
From the last line of: const bodyWrapper = document.getElementsByClassName("bodywrapper")[0]
const sidebar = document.getElementsByClassName("sphinxsidebar")[0]
const sidebarWrapper = document.getElementsByClassName('sphinxsidebarwrapper')[0]
const sidebarButton = document.getElementById("sidebarbutton")
const sidebarArrow = sidebarButton.querySelector('span') |
Sorry, something went wrong.
|
Updated the JavaScript, the previous version was attempting to access an element that had yet to be created. Thank you for the review! A |
Sorry, something went wrong.
There was a problem hiding this comment.
Working fine now, thanks!
Sorry, something went wrong.
|
I just built https://docs.python.org/3.12/ after merging this PR. |
Sorry, something went wrong.
Working for me in Firefox 112 on Windows! If you have time over the next few weeks, please would we be able to make a 2023.4 release, to unblock python/cpython#99381? A |
Sorry, something went wrong.
|
Releasing: #126 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Updated remaining jQuery scripts to standard JavaScript, and a few fixes for CSS changes.
A