mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
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 <carlos@redhat.com>
This commit is contained in:
parent
8ecb477ea1
commit
298bc488fd
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue