Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Sphinx extension to show tooltips with content embedded when hover a reference.

License

Notifications You must be signed in to change notification settings

readthedocs/sphinx-hoverxref

Folders and files

NameName
Last commit message
Last commit date
Jun 17, 2024
Apr 3, 2025
Jan 20, 2025
Dec 2, 2024
Sep 6, 2024
Aug 24, 2019
Aug 21, 2023
Nov 18, 2024
Jun 2, 2019
Apr 9, 2025
Jun 2, 2019
Nov 18, 2024
Jun 2, 2019
Sep 6, 2024

Repository files navigation

Warning

This extension has been deprecated. Users are advised to enable the "Link previews" option in "Settings" > "Addons" > "Link previews" in the Read the Docs admin dashboard for their project to get the same functionality as this extension.

For more information, please see:

  1. https://docs.readthedocs.com/platform/stable/link-previews.html
  2. https://about.readthedocs.com/blog/2024/07/addons-by-default/

Current PyPI version Documentation status Repository license

sphinx-hoverxref

sphinx-hoverxref is a Sphinx extension to add tooltips on the cross references of the documentation with the content of the linked section.

Example

docs/sphinx-hoverxref-example.png

Installation

You can install sphinx-hoverxref from PyPI:

pip install sphinx-hoverxref

Or, alternatively, install it from GitHub directly (requires git):

pip install git+https://github.com/readthedocs/sphinx-hoverxref

Configuration

Add this extension in your conf.py file as:

extensions = [
 # ... other extensions here

 'hoverxref.extension',
]

Documentation

Check out the full documentation at https://sphinx-hoverxref.readthedocs.io/