Conversation
boostorg#111 added `see <<Registry affinity>> below` and hard-wrapped it at the 79-column margin, putting a newline inside the macro. Asciidoctor does not match a title reference across the break, so it fell back to the unresolved form: the page rendered a literal `[Registry affinity]` in square brackets, linking to `#Registry affinity` - a fragment with a space in it, which matches no anchor. The section's own id is the generated `_registry_affinity`. The build says so ("possible invalid reference: Registry\naffinity"), but among the section-title-out-of-sequence warnings the line is easy to miss, and the rendered page still looks plausible. Use an explicit anchor, as the page's siblings do (`<<custom_registries>>`, `<<implementation_notes>>`, `<<registering_classes_by_reflection>>` all pair with a `[#id]` line above the heading). That spelling also survives rewrapping, and it does not break if the heading is ever reworded. Verified by rebuilding: the link now renders as `Registry affinity` -> `#registry_affinity`, and the build reports no invalid references. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JrW75AraKw18w6dcLjTuZB
|
An automated preview of the documentation is available at https://119.openmethod.prtest3.cppalliance.org/libs/openmethod/doc/html/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-09-18 00:02:55 UTC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Written by Claude Code, on behalf of @jll63.)
Found by rendering the docs; nothing in the build fails on it.
#111 added
see <<Registry affinity>> belowtoregistries_and_policies.adocandhard-wrapped it at the 79-column margin, which put a newline inside the macro:
Asciidoctor does not match a title reference across the break, so it fell back to
the unresolved form. The page rendered
[Registry affinity]in square brackets, pointing at a fragment with aspace in it, which matches no anchor. The section's own id is the generated
_registry_affinity, so the link was dead in both directions.The build does say so -
possible invalid reference: Registry\naffinity- but theline sits among the section-title-out-of-sequence warnings, the job still passes,
and the rendered sentence looks plausible enough to read past.
Fixed with an explicit anchor, which is what the page's siblings already use:
<<custom_registries>>,<<implementation_notes>>and<<registering_classes_by_reflection>>each pair with a[#id]line above theirheading. That spelling survives rewrapping and does not break if the heading is
reworded.
Rebuilt to check: the link now renders as
Registry affinity->#registry_affinity,and the build reports no invalid references.
While rendering I also cross-checked every
@reftarget in the headers against thelabels MrDocs turned into links, per the procedure in
CLAUDE.md. All 110 resolve,including the new ones from #103 and #110;
grep -rl MRDOCS doc/html/is empty.🤖 Generated with Claude Code