readthedocs / sphinx-hoverxref

Sphinx extension to show tooltips with content embedded when hover a reference.
https://sphinx-hoverxref.readthedocs.io/
MIT License
96 stars 40 forks source link

Experiment: Is docs page on "Usage" borked because of missing jquery? #259

Closed benjaoming closed 12 months ago

benjaoming commented 1 year ago

Currently, https://sphinx-hoverxref.readthedocs.io/en/latest/usage.html rendering is broken at the end of the page.

There are a few script errors, but I couldn't tell if it is because jQuery is loaded too late. It is finally loaded, though ($ is defined etc).

image


:books: Documentation preview :books:: https://read-the-docs-sphinx-hoverxref--259.com.readthedocs.build/en/259/

humitos commented 1 year ago

This is weird. It sounds like an Sphinx or theme issue, tho.

humitos commented 1 year ago

I'd guess the problem is with sphinxcontrib-bibtex extension. I think it's not closing the tags properly and the browsers tries its best and closes them.

Screenshot_2023-05-22_13-21-01

I'd disable bibtext as first test and check what happens. I suspect it's an incompatibility with the latest Sphinx and bibtext.

benjaoming commented 1 year ago

Thanks for checking @humitos :pray:

Have disabled to see what happens in the PR build...