mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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.
8 lines
116 B
ReStructuredText
8 lines
116 B
ReStructuredText
test-domain-py-xref-warning
|
|
===========================
|
|
|
|
.. _existing-label:
|
|
|
|
:ref:`no-label`
|
|
:ref:`existing-label`
|