[bootlin/training-materials updates] master: Fix kernel documentation link (a246d737)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Oct 21 22:14:45 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/a246d73751bf930b84921861a960c6fe703dcc5e
>---------------------------------------------------------------
commit a246d73751bf930b84921861a960c6fe703dcc5e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Oct 21 22:14:45 2020 +0200
Fix kernel documentation link
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
a246d73751bf930b84921861a960c6fe703dcc5e
common/common.sty | 1 +
.../kernel-power-management-content/kernel-power-management-content.tex | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/common.sty b/common/common.sty
index 0c8a83f5..5c8f0a41 100644
--- a/common/common.sty
+++ b/common/common.sty
@@ -21,5 +21,6 @@
\newcommand\kconfigval[2]{\href{https://elixir.bootlin.com/linux/latest/K/ident/#1}{\codelink{#1=#2}}}
\newcommand\kerneldoctext[1]{\href{https://kernel.org/doc/Documentation/#1}{\codelink{Documentation/#1}}}
\newcommand\kerneldochtml[1]{\href{https://www.kernel.org/doc/html/latest/#1.html}{\codelink{#1}}}
+\newcommand\kerneldochtmldir[1]{\href{https://www.kernel.org/doc/html/latest/#1/}{\codelink{#1/}}}
\newcommand\kerneldochtmlsection[3]{\href{https://www.kernel.org/doc/html/latest/#1/index.html\##2}{\codelink{#1} (section {\em #3})}}
diff --git a/slides/kernel-power-management-content/kernel-power-management-content.tex b/slides/kernel-power-management-content/kernel-power-management-content.tex
index 2da37f5e..877961d8 100644
--- a/slides/kernel-power-management-content/kernel-power-management-content.tex
+++ b/slides/kernel-power-management-content/kernel-power-management-content.tex
@@ -299,7 +299,7 @@
\begin{frame}
\frametitle{Useful resources}
\begin{itemize}
- \item \kerneldoc{power/} in the Linux kernel sources.
+ \item \kerneldochtmldir{power} in kernel documentation.
\begin{itemize}
\item Will give you many useful details.
\end{itemize}
More information about the training-materials-updates
mailing list