Skip to content

Commit

Permalink
manual: Extract the @manpageurl{func,sec} macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
fweimer-rh committed Sep 11, 2024
1 parent 8ecb477 commit 298bc48
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions manual/macros.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 298bc48

Please sign in to comment.