From b432211dd819d0008dc58fadcdfd2e73cdacef6f Mon Sep 17 00:00:00 2001 From: Luca Toniolo <10792599+grandixximo@users.noreply.github.com> Date: Tue, 2 Jun 2026 15:10:07 +0800 Subject: [PATCH] docs: fix two broken cross-reference targets Broken links surfaced once HTML link checking actually runs (companion to the checkref fix, #4104): - 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. --- docs/src/gui/qtvcp-widgets.adoc | 2 +- docs/src/man/man1/linuxcncrsh.1.adoc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/gui/qtvcp-widgets.adoc b/docs/src/gui/qtvcp-widgets.adoc index 271f97d2b91..74131236b2a 100644 --- a/docs/src/gui/qtvcp-widgets.adoc +++ b/docs/src/gui/qtvcp-widgets.adoc @@ -1537,7 +1537,7 @@ Enter any of these _case sensitive_ commands to load the respective program or a *`CLEAR HISTORY`*:: _Clears the MDI History_. *`net`*:: - See link:../man/man1/halcmd.1.html#COMMANDS[`halcmd net` commands]. + + See link:../man/man1/halcmd.1.html#_commands[`halcmd net` commands]. + An error will result if the command is unsuccessful. * _Syntax_: `net ` * __Example__: `net plasmac:jog-inhibit motion.jog-stop` diff --git a/docs/src/man/man1/linuxcncrsh.1.adoc b/docs/src/man/man1/linuxcncrsh.1.adoc index 424c956579f..bff8aa543e7 100644 --- a/docs/src/man/man1/linuxcncrsh.1.adoc +++ b/docs/src/man/man1/linuxcncrsh.1.adoc @@ -146,12 +146,12 @@ The supported commands are as follows: *get* __ [__]:: The 'GET' command takes one of the LinuxCNC sub-commands - (see link:#_linuxcnc_subcommands[*SUBCOMMANDS*] below) and zero or + (see link:#_subcommands[*SUBCOMMANDS*] below) and zero or more additional subcommand-specific parameters. *set* __ [__]:: The 'SET' command takes one of the LinuxCNC sub-commands - (see link:#_linuxcnc_subcommands[*SUBCOMMANDS*] below) and zero or + (see link:#_subcommands[*SUBCOMMANDS*] below) and zero or more additional parameters. *quit*:: @@ -164,7 +164,7 @@ The supported commands are as follows: The 'SHUTDOWN' command tells LinuxCNC to shutdown and disconnect the session. This command may only be issued if the 'HELLO' has been successfully negotiated and the connection has control of the CNC - (see 'SET ENABLE' sub-command in the link:#_linuxcnc_subcommands[*SUBCOMMANDS*] + (see 'SET ENABLE' sub-command in the link:#_subcommands[*SUBCOMMANDS*] section below). + Note that LinuxCNC will only shutdown automatically if *linuxcncrsh*