[dpdk-dev] doc: fix sphinx warning
Checks
Commit Message
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(-)
Comments
On 4/19/2017 1:10 PM, Thomas Monjalon wrote:
> 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>
19/04/2017 14:21, Ferruh Yigit:
> On 4/19/2017 1:10 PM, Thomas Monjalon wrote:
> > 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>
Applied
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Wednesday, April 19, 2017 1:11 PM
> To: Mcnamara, John <john.mcnamara@intel.com>
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [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 <thomas@monjalon.net>
Previously I had this warning, but no more, whooo!
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
@@ -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
}