Record references link to what they cite, by title #223

Merged
bvandeusen merged 3 commits from dev into main 2026-11-22 17:58:22 -05:00
Showing only changes of commit 08fdabd5e9 - Show all commits
+4 -1
View File
@@ -31,7 +31,10 @@ def _refs(notes=(), milestones=(), rules=()):
@pytest.mark.parametrize(("text", "expected"), [
("see #123", _refs(notes={123})),
("steps #5110–#5119 shipped", _refs(notes={5110, 5119})),
("shipped #5110–#5119", _refs(notes={5110, 5119})),
# "step" names a position in a plan ("step #3"), the same reading the
# message parser uses, so a #N right after it stays plain.
("step #3 of the plan", _refs()),
("(#4286) and #4290.", _refs(notes={4286, 4290})),
("#v2 is a tag", _refs()),
("a colour #123abc", _refs()),