sphinx 中的交叉引用是使用 完成的ref
,例如:
.. _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`.
当编译成 HTML 时,上面会在“see”之后引入一个超链接,但也会将它嵌入到<em>
标签中,使内部引用看起来与外部超链接不同。
有什么方法可以指示 sphinx 不强调内部引用,即不将它们嵌入<em>
标签中?