Cross reference in the sphinx is done using ref, for example:
.. _my-reference-label:
Section to cross-reference
--------------------------
This is the text of the section.
It refers to the section itself, see :ref:`my-reference-label`.
When compiling in HTML, the hyperlink will be introduced after “see” above, but it will also be embedded in the tag <em>, which makes internal links different from external hyperlinks.
Is there a way to instruct sphinx not to underline internal links, i.e. not to embed them in a tag <em>?
source
share