Compare commits

...

1 Commits

Author SHA1 Message Date
7a9b58079b fix issue in conf.py template
All checks were successful
gl/check check status: success (7a9b58079b76ea4ee3e3d25e0f0299bed7ddde82)
gl/gate gate status: success (7a9b58079b76ea4ee3e3d25e0f0299bed7ddde82)
2024-11-13 11:37:37 +00:00

View File

@ -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'
}