doc: remove blank pages in pdf
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Mar 2015 17:41:57 +0000 (18:41 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 Mar 2015 16:58:49 +0000 (17:58 +0100)
The "manual" Latex template provided by Sphinx introduce a lot
of useless and confusing blank pages.
Let's remove them.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
doc/guides/conf.py

index 168efa6..b1ef323 100644 (file)
@@ -63,6 +63,9 @@ latex_preamble = r"""
 latex_elements = {
     'papersize': 'a4paper',
     'pointsize': '11pt',
+    # remove blank pages
+    'classoptions': ',openany,oneside',
+    'babel': '\\usepackage[english]{babel}',
     # customize Latex formatting
     'preamble': latex_preamble
 }