【发布时间】:2013-12-14 00:08:55
【问题描述】:
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>标签中?
【问题讨论】:
标签: css python-sphinx restructuredtext cross-reference