From: Thomas Monjalon Date: Wed, 19 Apr 2017 12:00:29 +0000 (+0200) Subject: doc: fix sphinx warning X-Git-Tag: spdx-start~3638 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8bc74683de1c744aed19a5822a9f91dddcc7918b;p=dpdk.git doc: fix sphinx warning Seen with recent version of sphinx: WARNING: latex_preamble conflicts with latex_elements['preamble'], ignored. Signed-off-by: Thomas Monjalon Tested-by: Ferruh Yigit --- diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 01ce16d2e9..ef0e1c607a 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -79,7 +79,7 @@ latex_documents = [ ] # 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 @@ latex_elements = { 'classoptions': ',openany,oneside', 'babel': '\\usepackage[english]{babel}', # customize Latex formatting - 'preamble': latex_preamble + 'preamble': custom_latex_preamble }