All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: fix sphinx warning
@ 2017-04-19 12:10 Thomas Monjalon
  2017-04-19 12:21 ` Ferruh Yigit
  2017-04-19 14:16 ` Van Haaren, Harry
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Monjalon @ 2017-04-19 12:10 UTC (permalink / raw)
  To: john.mcnamara; +Cc: dev

Seen with recent version of sphinx:
WARNING: latex_preamble conflicts with latex_elements['preamble'], ignored.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 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 01ce16d2e..ef0e1c607 100644
--- a/doc/guides/conf.py
+++ b/doc/guides/conf.py
@@ -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
 }
 
 
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-19 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19 12:10 [PATCH] doc: fix sphinx warning Thomas Monjalon
2017-04-19 12:21 ` Ferruh Yigit
2017-04-19 13:25   ` Thomas Monjalon
2017-04-19 14:16 ` Van Haaren, Harry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.