doc: fix sphinx warning
Seen with recent version of sphinx: WARNING: latex_preamble conflicts with latex_elements['preamble'], ignored. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
ed1df6c569
commit
8bc74683de
@ -79,7 +79,7 @@
|
||||
]
|
||||
|
||||
# Latex directives to be included directly in the latex/pdf docs.
|
||||
latex_preamble = r"""
|
||||
custom_latex_preamble = r"""
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{helvet}
|
||||
@ -95,7 +95,7 @@
|
||||
'classoptions': ',openany,oneside',
|
||||
'babel': '\\usepackage[english]{babel}',
|
||||
# customize Latex formatting
|
||||
'preamble': latex_preamble
|
||||
'preamble': custom_latex_preamble
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user