Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bottom panel missing in libraries docs. (jquery missing) #7896

Comments

@Neradoc
Copy link

Neradoc commented Apr 22, 2023

Similar to #7799 most Adafruit libraries have a jquery error that makes the bottom left panel non-working in the RTD docs. It seems that new libraries from the past weeks are not affected (I added a library to RTD last week without the issue).

As mentioned in that PR: it seems that jquery gets "loaded/injected" into the page after the page finishes loading, so it doesn't work when it's used the first time in the page. The fix forces jquery to be included earlier in the page. I looked at adding it to the cookiecutter, but the issue doesn't seem to affect new repositories so it's more a question of fixing old libraries.

My understanding is that there are maybe hidden version pinnings in RTD for its static files or modules that can't be updated from the user side. I don't know if that's the issue and how to fix it if it is. Maybe the above patch is a simpler solution.
Weird issue, lots of maybes.

@Neradoc
Copy link
Author

Neradoc commented May 12, 2023

I didn't note it at first, but this also affect the search field, which doesn't work on any of the library docs.
Example: https://docs.circuitpython.org/projects/httpserver/en/latest/search.html?q=html&check_keywords=yes&area=default#

Note the irony of how the NEXT message after the error is about the loading of jquery...

Capture d’écran 2023-05-12 à 02 38 29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment