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

Distinguish name of extension, name of sample target file and name of… #79

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/hoverxref.rst → docs/hoverxref_file.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:orphan:

===========
hoverxref
===========
===================
hoverxref_section
===================

Hi from another completely different page!

Expand Down
12 changes: 6 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ We currently support two different types of floating windows: Tooltip and Modal.

.. code-block:: rst

This will :hoverxref:`show a floating window <hoverxref:hoverxref>` in the linked words.
This will :hoverxref:`show a floating window <hoverxref_file:hoverxref_section>` in the linked words.

it will be rendered to:

This will :hoverxref:`show a floating window <hoverxref:hoverxref>` in the linked words.
This will :hoverxref:`show a floating window <hoverxref_file:hoverxref_section>` in the linked words.

.. note::

Expand All @@ -36,11 +36,11 @@ We currently support two different types of floating windows: Tooltip and Modal.

.. code-block:: rst

This will :hoverxreftooltip:`show a tooltip <hoverxref:hoverxref>` in the linked words.
This will :hoverxreftooltip:`show a tooltip <hoverxref_file:hoverxref_section>` in the linked words.

it will be rendered to:

This will :hoverxreftooltip:`show a tooltip <hoverxref:hoverxref>` in the linked words.
This will :hoverxreftooltip:`show a tooltip <hoverxref_file:hoverxref_section>` in the linked words.


.. tab:: Modal style
Expand All @@ -49,11 +49,11 @@ We currently support two different types of floating windows: Tooltip and Modal.

.. code-block:: rst

This will :hoverxrefmodal:`show a modal <hoverxref:hoverxref>` in the linked words.
This will :hoverxrefmodal:`show a modal <hoverxref_file:hoverxref_section>` in the linked words.

it will be rendered to:

This will :hoverxrefmodal:`show a modal <hoverxref:hoverxref>` in the linked words.
This will :hoverxrefmodal:`show a modal <hoverxref_file:hoverxref_section>` in the linked words.

.. tip::

Expand Down