From 8bc74683de1c744aed19a5822a9f91dddcc7918b Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Wed, 19 Apr 2017 14:00:29 +0200 Subject: [PATCH] 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 --- doc/guides/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.20.1