From 3d2b63cb5446379ad08c139f79c025a66f8a143f Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Thu, 14 Nov 2024 08:56:36 +0000 Subject: [PATCH] Update tox.ini && conf.py file Performed-by: gitea/infra/otc-metadata/tools/generate_doc_confpy.py --- 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