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

Make usage of `sphinxcontrib-jquery` #241

Closed humitos closed 1 year ago

humitos commented 1 year ago

Sphinx 6.x is removing jQuery. So, we need to manually add it.

Closes #160 Based on https://github.com/readthedocs/readthedocs.org/pull/9665/


:books: Documentation preview :books:: https://sphinx-hoverxref--241.org.readthedocs.build/en/241/


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

humitos commented 1 year ago

I tested this on my local environment manually and it works fine. cc @benjaoming @AA-Turner. Thanks! 💯

benjaoming commented 1 year ago

@humitos could we also bump docs/requirements.txt to use the latest Sphinx pre-release?

humitos commented 1 year ago

@benjaoming yes, I will create another PR for that 👍🏼