Menu ▾ ▴

Commit [r10176]  Maximize  Restore  History

Make targets from hyperlink references with embedded URI or alias implicit.

Embedding a URI or alias name in a hyperlink reference is no explicit request
for a target (cf. bug #502). Downgrade the priority of the generated targets from
explicit to implicit to avoid surprising warnings in case of name duplication.

(Anonymous references can be used to avoid the warnings but, in case of a typo,
the warnings/errors have no source/line information.)

milde 2025-06-18

changed /trunk/docutils/HISTORY.rst
changed /trunk/docutils/RELEASE-NOTES.rst
changed /trunk/docutils/docs/ref/rst/restructuredtext.rst
changed /trunk/docutils/docutils/nodes.py
changed /trunk/docutils/docutils/parsers/rst/states.py
changed /trunk/docutils/test/test_parsers/test_rst/test_inline_markup.py
changed /trunk/docutils/test/test_parsers/test_rst/test_targets.py
/trunk/docutils/HISTORY.rst Diff Switch to side-by-side view
Loading...
/trunk/docutils/RELEASE-NOTES.rst Diff Switch to side-by-side view
Loading...
/trunk/docutils/docs/ref/rst/restructuredtext.rst Diff Switch to side-by-side view
Loading...
/trunk/docutils/docutils/nodes.py Diff Switch to side-by-side view
Loading...
/trunk/docutils/docutils/parsers/rst/states.py Diff Switch to side-by-side view
Loading...
/trunk/docutils/test/test_parsers/test_rst/test_inline_markup.py Diff Switch to side-by-side view
Loading...
/trunk/docutils/test/test_parsers/test_rst/test_targets.py Diff Switch to side-by-side view
Loading...