]> sourceware.org Git - glibc.git/commitdiff
manual: Extract the @manpageurl{func,sec} macro
authorFlorian Weimer <fweimer@redhat.com>
Wed, 11 Sep 2024 08:05:08 +0000 (10:05 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 11 Sep 2024 08:05:08 +0000 (10:05 +0200)
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 <carlos@redhat.com>
manual/macros.texi

index 579da3fb81e59da00fe5ec4d57a1d388f0898bd8..f48dd4ec2282634fd3930a9378197b77e81a2769 100644 (file)
@@ -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
 
This page took 0.050916 seconds and 5 git commands to generate.