Skip to content

docs: fix three broken cross-reference targets#4105

Open
grandixximo wants to merge 1 commit into
LinuxCNC:masterfrom
grandixximo:docs/fix-last3-xrefs
Open

docs: fix three broken cross-reference targets#4105
grandixximo wants to merge 1 commit into
LinuxCNC:masterfrom
grandixximo:docs/fix-last3-xrefs

Conversation

@grandixximo
Copy link
Copy Markdown
Contributor

The last broken links surfaced once link checking actually runs (companion to the checkref fix, #4104). Two are stale fragment ids (the real generated ids are _commands and _subcommands). The third, in plasma-cnc-primer.adoc, had [AXIS_<letter>] as the xref title; the > broke the xref so the resolver could not qualify it, switched to the [AXIS_l] wording the anchor's other references already use.

First two resolve immediately; the third resolves via the resolver in #4100.

The remaining broken links surfaced once HTML link checking actually
runs (see the checkref fix):

- qtvcp-widgets.adoc: link to halcmd.1.html#COMMANDS; the section's
  generated id is _commands.
- linuxcncrsh.1.adoc (x3): links to #_linuxcnc_subcommands; the
  SUBCOMMANDS section's generated id is _subcommands.
- plasma-cnc-primer.adoc: the <<...>> xref title contained [AXIS_<letter>],
  whose '>' broke the xref so the resolver could not qualify it.  Use the
  '[AXIS_l]' wording the other references to this anchor already use, so it
  resolves as a normal cross-document link.
@BsAtHome
Copy link
Copy Markdown
Contributor

BsAtHome commented Jun 2, 2026

The third, in plasma-cnc-primer.adoc, had [AXIS_<letter>] as the xref title; the > broke the xref so the resolver could not qualify it, switched to the [AXIS_l] wording the anchor's other references already use.

Did it break the asciidoctor resolver or your resolver? If if was yours, then it needs fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants