fix issue in conf.py template
This commit is contained in:
parent
c2ef8fab62
commit
ea4177e5d6
@ -144,11 +144,11 @@ latex_elements = {
|
|||||||
'papersize': 'a4paper',
|
'papersize': 'a4paper',
|
||||||
'pointsize': '12pt',
|
'pointsize': '12pt',
|
||||||
'figure_align': 'H',
|
'figure_align': 'H',
|
||||||
'preamble': rf'''
|
'preamble': rf'''{% raw %}
|
||||||
\newcommand{{\githash}}{{{current_commit_hash}}}
|
\newcommand{{\githash}}{{{current_commit_hash}}}
|
||||||
\newcommand{{\gitcommittime}}{{{current_commit_time}}}
|
\newcommand{{\gitcommittime}}{{{current_commit_time}}}
|
||||||
\newcommand{{\doctitle}}{{{otcdocs_doc_title}}}
|
\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'
|
'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user