#1233 Fix caret reference in traditional versioning section.
Merged by tibbs. Opened by vondruch.
vondruch/packaging-committee fix-caret-ref  into  master

Download 1233.patch

The ref as well as the text itself is currently broken, since the comma in the anchor is misinterpreted. This is attempt to fix the text as well as the link. However, I have not tested if it is the right fix.

rebased onto 65d7d52df3ea4996df3090a5faa8d93786f6eec2

Sadly this one doesn't work; the link comes out missing an underscore after the octathorpe:

http://0.0.0.0:8000/packaging-guidelines/Versioning/#handling_non_sorting_versions_with_tilde_dot_and_caret

instead of

http://0.0.0.0:8000/packaging-guidelines/Versioning/#_handling_non_sorting_versions_with_tilde_dot_and_caret

I don't know enough asciidoc to know what the real solution would be, but I'll try to find out.

Edit: I got the links backwards initially. The good one has the underscore, the bad one doesn't.

Just add the underscore to the xref:

xref:_handling_non_sorting_versions_with_tilde_dot_and_caret[foo]

The undercore is always there when a section does not have a named anchor
and the default one generated from section title is used.

Alternatively, add a named anchor and refer to that:

[[tilde_dot_caret]]
=== Handling non-sorting versions with tilde, dot, and caret
...
xref:tilde_dot_caret[foo]

rebased onto 3968cde587bc19daa25d4d34f836087fcf9a0d7d

@oturpe thx for suggestion. I have pushed update with the underscore. Hope it helps.

rebased onto 9eb680f9529cfd9d19e49d744aa18991b3f8416e

Pull-Request has been merged by tibbs

Metadata