[dpdk-dev] [PATCH v5 7/7] doc: remove blank pages in pdf

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Mar 19 12:23:24 CET 2015


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 at 6wind.com>
---
 doc/guides/conf.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index 168efa6..b1ef323 100644
--- a/doc/guides/conf.py
+++ b/doc/guides/conf.py
@@ -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
 }
-- 
2.2.2



More information about the dev mailing list