sphinx/tests/roots/test-domain-py-xref-warning/index.rst
Takeshi KOMIYA 0e98e9b1a8 Fix #6914: Emit a detailed warning when failed to resolve :ref:
To be clear the ambiguous warning for missing-reference :ref:,
this separates the warning to missing-label and missing-caption.

To emit a warning dynamically, this also adds a new event:
`warn-missing-reference` to customize warning messages via event
handlers.
2020-11-03 02:27:43 +09:00

8 lines
116 B
ReStructuredText

test-domain-py-xref-warning
===========================
.. _existing-label:
:ref:`no-label`
:ref:`existing-label`