[bootlin/training-materials updates] master: common.sty: add manpage command (f68d57c1)
Clément Léger
clement.leger at bootlin.com
Tue Oct 25 10:52:19 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/f68d57c16fde752e1b18be8f42b68c39975c03e5
>---------------------------------------------------------------
commit f68d57c16fde752e1b18be8f42b68c39975c03e5
Author: Clément Léger <clement.leger at bootlin.com>
Date: Tue Oct 25 10:46:26 2022 +0200
common.sty: add manpage command
Add a \manpage command to insert a link to a manpage.
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
f68d57c16fde752e1b18be8f42b68c39975c03e5
common/common.sty | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/common.sty b/common/common.sty
index 4f5f7b13..f30ec188 100644
--- a/common/common.sty
+++ b/common/common.sty
@@ -1,4 +1,5 @@
% Common Bootlin commands
+\newcommand\manpage[2]{\href{https://man7.org/linux/man-pages/man#2/#1.#2.html}{\codelink{man #1(#2)}}}
% Generic Elixir commands
\newcommand\projdir[2]{\href{https://elixir.bootlin.com/#1/latest/source/#2/}{\codelink{#2/}}}
More information about the training-materials-updates
mailing list