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:
Thomas Monjalon 2017-04-19 14:00:29 +02:00
parent ed1df6c569
commit 8bc74683de

View File

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