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

Message ID 1426764204-3882-8-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon March 19, 2015, 11:23 a.m. UTC
  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>
---
 doc/guides/conf.py | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

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
 }