[bootlin/training-materials updates] master: Labs: add support for a subtitle (f4ee21bd)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Sep 25 15:55:44 CEST 2019
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/f4ee21bd6656374745ec90f0bf1172e906d9eac3
>---------------------------------------------------------------
commit f4ee21bd6656374745ec90f0bf1172e906d9eac3
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Sep 25 15:55:44 2019 +0200
Labs: add support for a subtitle
- In order to clearly make the difference between the two yocto
lab documents
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
f4ee21bd6656374745ec90f0bf1172e906d9eac3
common/autotools-labs-vars.tex | 1 +
common/boot-time-labs-vars.tex | 1 +
common/buildroot-labs-vars.tex | 1 +
common/embedded-linux-4d-labs-vars.tex | 1 +
common/embedded-linux-labs-vars.tex | 1 +
common/labs-header.tex | 5 ++++-
common/linux-kernel-labs-vars.tex | 1 +
common/yocto-labs-vars.tex | 1 +
common/yocto-stm32-labs-vars.tex | 3 ++-
9 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/common/autotools-labs-vars.tex b/common/autotools-labs-vars.tex
index 8b9ec279..59eb56ff 100644
--- a/common/autotools-labs-vars.tex
+++ b/common/autotools-labs-vars.tex
@@ -1,3 +1,4 @@
\def\labbooktitle{Autotools Training}
+\def\labbooksubtitle{}
\def\longname{autotools}
\def\labbookurl{https://bootlin.com/doc/training/\longname/}
diff --git a/common/boot-time-labs-vars.tex b/common/boot-time-labs-vars.tex
index fa8a1974..10d8823f 100644
--- a/common/boot-time-labs-vars.tex
+++ b/common/boot-time-labs-vars.tex
@@ -1,3 +1,4 @@
\def\labbooktitle{Boot time optimization Training}
+\def\labbooksubtitle{}
\def\longname{boot-time}
\def\labbookurl{https://bootlin.com/doc/training/\longname{}/}
diff --git a/common/buildroot-labs-vars.tex b/common/buildroot-labs-vars.tex
index c54cc774..41a63bea 100644
--- a/common/buildroot-labs-vars.tex
+++ b/common/buildroot-labs-vars.tex
@@ -1,3 +1,4 @@
\def\labbooktitle{Buildroot Training}
+\def\labbooksubtitle{}
\def\longname{buildroot}
\def\labbookurl{https://bootlin.com/doc/training/\longname/}
diff --git a/common/embedded-linux-4d-labs-vars.tex b/common/embedded-linux-4d-labs-vars.tex
index b9297950..78931f9c 100644
--- a/common/embedded-linux-4d-labs-vars.tex
+++ b/common/embedded-linux-4d-labs-vars.tex
@@ -1,4 +1,5 @@
\def\labbooktitle{Embedded Linux System Development}
+\def\labbooksubtitle{STM32MP1 variant}
\def\longname{embedded-linux-4d}
\def\labbookurl{https://bootlin.com/doc/training/\longname/}
\def\labboard{discovery}
diff --git a/common/embedded-linux-labs-vars.tex b/common/embedded-linux-labs-vars.tex
index a79db340..29770f39 100644
--- a/common/embedded-linux-labs-vars.tex
+++ b/common/embedded-linux-labs-vars.tex
@@ -1,4 +1,5 @@
\def\labbooktitle{Embedded Linux System Development}
+\def\labbooksubtitle{Microchip SAMA5D3 variant}
\def\longname{embedded-linux}
\def\labbookurl{https://bootlin.com/doc/training/\longname/}
\def\labboard{xplained}
diff --git a/common/labs-header.tex b/common/labs-header.tex
index 519af530..8c22d18b 100644
--- a/common/labs-header.tex
+++ b/common/labs-header.tex
@@ -10,7 +10,10 @@
\newcommand{\sourcecode}[1]{\verbatimtabinput{../#1}{\small (Source code link:
\url{https://raw.githubusercontent.com/bootlin/training-materials/master/#1})}}
-\title{\labbooktitle \\ \vspace{1cm} Practical Labs}
+\title{\labbooktitle \\
+\vspace{0.5cm}
+\ifdefstring{\labbooksubtitle}{}{}{\Large \labbooksubtitle \\}
+\huge\vspace{1cm} Practical Labs}
\trainingurl{\labbookurl}
\begin{document}
diff --git a/common/linux-kernel-labs-vars.tex b/common/linux-kernel-labs-vars.tex
index d9e9beab..888505c9 100644
--- a/common/linux-kernel-labs-vars.tex
+++ b/common/linux-kernel-labs-vars.tex
@@ -1,3 +1,4 @@
\def\labbooktitle{Linux kernel and driver development training}
+\def\labbooksubtitle{}
\def\longname{linux-kernel}
\def\labbookurl{https://bootlin.com/doc/training/\longname/}
diff --git a/common/yocto-labs-vars.tex b/common/yocto-labs-vars.tex
index 841ea8bb..0bd21e61 100644
--- a/common/yocto-labs-vars.tex
+++ b/common/yocto-labs-vars.tex
@@ -1,4 +1,5 @@
\def\labbooktitle{Yocto Project and OpenEmbedded Training}
+\def\labbooksubtitle{Beaglebone Black variant}
\def\longname{yocto}
\def\labbookurl{https://bootlin.com/doc/training/\longname/}
\def\labboard{beaglebone}
diff --git a/common/yocto-stm32-labs-vars.tex b/common/yocto-stm32-labs-vars.tex
index fab69bc2..3c556c90 100644
--- a/common/yocto-stm32-labs-vars.tex
+++ b/common/yocto-stm32-labs-vars.tex
@@ -1,4 +1,5 @@
\def\labbooktitle{Yocto Project and OpenEmbedded Training}
-\def\longname{yocto}
+\def\labbooksubtitle{STM32MP1 variant}
+\def\longname{yocto-stm32}
\def\labbookurl{https://bootlin.com/doc/training/\longname/}
\def\labboard{discovery}
More information about the training-materials-updates
mailing list