From dcd92366d0b430ad2103617ed7685ba0e56d8c38 Mon Sep 17 00:00:00 2001 From: tischrei Date: Wed, 13 Nov 2024 13:52:42 +0000 Subject: [PATCH] fix issue in conf.py template Reviewed-by: Hasko, Vladimir Co-authored-by: tischrei Co-committed-by: tischrei --- otc_metadata/templates/conf.py.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otc_metadata/templates/conf.py.j2 b/otc_metadata/templates/conf.py.j2 index 460acc3..6b45d8e 100644 --- a/otc_metadata/templates/conf.py.j2 +++ b/otc_metadata/templates/conf.py.j2 @@ -145,11 +145,11 @@ latex_elements = { 'papersize': 'a4paper', 'pointsize': '12pt', 'figure_align': 'H', - 'preamble': rf''' + 'preamble': rf'''{% raw %} \newcommand{{\githash}}{{{current_commit_hash}}} \newcommand{{\gitcommittime}}{{{current_commit_time}}} \newcommand{{\doctitle}}{{{otcdocs_doc_title}}} - \newcommand{{\servicetitle}}{{{otcdocs_service_title}}} + \newcommand{{\servicetitle}}{{{otcdocs_service_title}}}{% endraw %} ''', 'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm' }