From: Florian Weimer Date: Wed, 11 Sep 2024 08:05:08 +0000 (+0200) Subject: manual: Extract the @manpageurl{func,sec} macro X-Git-Tag: glibc-2.41~669 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=298bc488fdc047da37482f4003023cb9adef78f8;p=thirdparty%2Fglibc.git manual: Extract the @manpageurl{func,sec} macro From the existing @manpagefunctionstub{func,sec} macro, so that URLs can be included in the manual without the stub text. Reviewed-by: Carlos O'Donell --- diff --git a/manual/macros.texi b/manual/macros.texi index 579da3fb81..f48dd4ec22 100644 --- a/manual/macros.texi +++ b/manual/macros.texi @@ -282,10 +282,13 @@ cwd\comments\ @macro standardsx {element, standard, header} @end macro +@macro manpageurl {func, sec} +@url{https://man7.org/linux/man-pages/man\sec\/\func\.\sec\.html} +@end macro + @macro manpagefunctionstub {func,sec} This documentation is a stub. For additional information on this -function, consult the manual page -@url{https://man7.org/linux/man-pages/man\sec\/\func\.\sec\.html}. +function, consult the manual page @manpageurl{\func\,\sec\}. @xref{Linux Kernel}. @end macro