readthedocs / sphinx-hoverxref

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

support sphinx 6.0 without jquery #239

Closed onerandomusername closed 1 year ago

onerandomusername commented 1 year ago

The biggest change in sphinx 6.0 is removal of jQuery which hoverxref relies on.

https://www.sphinx-doc.org/en/master/changes.html

Uncaught ReferenceError: $ is not defined
    <anonymous> http://127.0.0.1:8009/_static/js/hoverxref.js:95
[hoverxref.js:95:1](http://127.0.0.1:8009/_static/js/hoverxref.js)
    <anonymous> http://127.0.0.1:8009/_static/js/hoverxref.js:95
Uncaught ReferenceError: jQuery is not defined
    <anonymous> http://127.0.0.1:8009/_static/js/tooltipster.bundle.min.js:1
    <anonymous> http://127.0.0.1:8009/_static/js/tooltipster.bundle.min.js:1
[tooltipster.bundle.min.js:1:163](http://127.0.0.1:8009/_static/js/tooltipster.bundle.min.js)
    <anonymous> http://127.0.0.1:8009/_static/js/tooltipster.bundle.min.js:1
    <anonymous> http://127.0.0.1:8009/_static/js/tooltipster.bundle.min.js:1

documentation dependencies:

docutils==0.19
Sphinx==6.0.0b1
sphinxcontrib-trio==1.1.2
sphinx-hoverxref==1.1.3
sphinx-autobuild==2021.3.14
sphinxcontrib-towncrier==0.3.0a0
towncrier==22.8.0
benjaoming commented 1 year ago

Hi @onerandomusername !

You're absolutely right about this. There's an issue open here already, so I'll close this one: #160

onerandomusername commented 1 year ago

aha, I didn't see that issue, sorry!