docu: use 'commit' instead of 'version' for latex

This commit is contained in:
Matthias Ringwald 2021-05-25 09:03:33 +02:00
parent 767003cd11
commit 6047cb1e01
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ morekeywords={*, btstack_timer_source_t, btstack_data_source_t, uint32_t, uint16
\end{minipage} \end{minipage}
\hfill\begin{minipage}[b]{.8\textwidth}\begin{flushright} \hfill\begin{minipage}[b]{.8\textwidth}\begin{flushright}
{\color{bkblue} {\color{bkblue}
Version \versionNr{} \\ \versionNr{} \\
\today \\} \today \\}
\vspace*{7.5cm} \vspace*{7.5cm}
\hfill\includegraphics[width=0.85\textwidth]{picts/bklogo.pdf} \hfill\includegraphics[width=0.85\textwidth]{picts/bklogo.pdf}

View File

@ -7,9 +7,9 @@ commit=`git rev-parse --short HEAD`
# use tag if available # use tag if available
if [ -z "$tag" ] if [ -z "$tag" ]
then then
version=$commit version="Commit $commit"
else else
version=$tag version="Version $tag ($commit)"
fi fi
# create mkdocs.yml # create mkdocs.yml