From: Glenn Washburn Date: Tue, 22 Aug 2023 18:26:28 +0000 (-0500) Subject: docs: Use @ref instead of @xref X-Git-Tag: grub-2.12~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c42272105ad307bfe6eeaacc4ee9d98be00537f;p=thirdparty%2Fgrub.git docs: Use @ref instead of @xref The @xref command is meant to be used at the beginning of a sentence because its expansion creates a "See " prefix on all output formats, and on older makeinfo versions is strict about enforcing a "." or "," after the command. The @ref command has no such restriction and is just the link, which allows more control over output. This also fixes an issue where there was a repeated "see" in the output. Reported-by: Olaf Hering Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper Tested-by: Olaf Hering --- diff --git a/docs/grub.texi b/docs/grub.texi index be2261670..975e521d1 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -956,7 +956,7 @@ information. @subsection Kexec with grub2-emu GRUB can be run in userspace by invoking the grub2-emu tool. It will -read all configuration scripts as if booting directly (see @xref{Loading +read all configuration scripts as if booting directly (see @ref{Loading an operating system directly}). With the @code{--kexec} flag, and kexec(8) support from the operating system, the @command{linux} command will directly boot the target image. For systems that lack working