Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: readthedocs/sphinx-hoverxref
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 84d59c3425b38261fdf288762615a2309c611193
Choose a base ref
..
head repository: readthedocs/sphinx-hoverxref
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5a2b4cb0fcd6197e0feb97e2344ed4a51d37ebe6
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 hoverxref/domains.py
2 changes: 1 addition & 1 deletion hoverxref/domains.py
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ def _inject_hoverxref_data(self, env, refnode, typ):
)

# Examples: hxr-tooltip, hxr-modal
classes.append(f'{self.css_class_prefix}-{type_class}')
classes.append(f'{self.css_class_prefix}{type_class}')

refnode.replace_attr('classes', classes)
# TODO: log something else here, so we can unique identify this node