sphinx/tests/roots/test-intl/role_xref.txt
Takeshi KOMIYA 35e1623338 Fix #4888: i18n: Failed to add an explicit title to `:ref:` role
To allow to give (or not to give) an explicit title to the
pending_xref nodes on translation, this skips to override the
attribute on merge original and translated documents.
2020-07-19 15:00:38 +09:00

41 lines
738 B
Plaintext

:tocdepth: 2
.. _i18n-role-xref:
i18n role xref
==============
link to :term:`Some term`, :ref:`i18n-role-xref`, :doc:`index`.
.. _same-type-links:
same type links
=================
link to :term:`Some term` and :term:`Some other term`.
link to :ref:`i18n-role-xref`, :ref:`same-type-links` and :ref:`label <same-type-links>`.
link to :doc:`index` and :doc:`glossary_terms`.
link to :option:`-m` and :option:`--module`.
link to :envvar:`env1` and :envvar:`env2`.
link to :token:`token1` and :token:`token2`.
link to :keyword:`i18n-role-xref` and :keyword:`same-type-links`.
.. option:: -m <module>
.. option:: --module <module>
.. envvar:: env1
.. envvar:: env2
.. productionlist::
token_stmt: `token1` ":" `token2`