git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10fe0ce
)
doc: remove blank pages in pdf
author
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 18 Mar 2015 17:41:57 +0000
(18:41 +0100)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/doc/guides/conf.py
b/doc/guides/conf.py
index
168efa6
..
b1ef323
100644
(file)
--- 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
}