From 3a9609467fe3bd1fa2f6b2fa36573ab0eccb9370 Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Fri, 15 Nov 2024 09:36:38 +0000 Subject: [PATCH] Update tox.ini && conf.py file Reviewed-by: tischrei Co-authored-by: Sebastian Gode Co-committed-by: Sebastian Gode --- doc/source/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 0ba1495..e9b8fe2 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -125,6 +125,11 @@ latex_elements = { 'papersize': 'a4paper', 'pointsize': '12pt', 'figure_align': 'H', - 'preamble': r'\newcommand{\githash}{' + current_commit_hash + '}', + 'preamble': rf''' + \newcommand{{\githash}}{{{current_commit_hash}}} + \newcommand{{\gitcommittime}}{{{current_commit_time}}} + \newcommand{{\doctitle}}{{{otcdocs_doc_title}}} + \newcommand{{\servicetitle}}{{{otcdocs_service_title}}} + ''', 'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm' } \ No newline at end of file