summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-16 13:25:37 -0300
committerJonathan Corbet <corbet@lwn.net>2016-08-18 16:41:37 -0600
commitcaee5cdede9c9b3562abd6a93c71e791577802ad (patch)
tree4f3128e8308760f0e13041796f2ecd667e345dcc /Documentation/conf.py
parenta69ab10869941f45b5f1291ec482df1e9bd7895f (diff)
downloadop-kernel-dev-caee5cdede9c9b3562abd6a93c71e791577802ad.zip
op-kernel-dev-caee5cdede9c9b3562abd6a93c71e791577802ad.tar.gz
docs-rst: allow generating some LaTeX pages in landscape
Portrait is too small for some tables used at the media docs. So, allow documents to tell Sphinx to generate some pages in landscape by using: .. raw:: latex \begin{landscape} <some stuff> .. raw:: latex \end{landscape} Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 1c6d9da..38b2400 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -246,16 +246,19 @@ htmlhelp_basename = 'TheLinuxKerneldoc'
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
+'papersize': 'a4paper',
# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
-
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
+'pointsize': '10pt',
# Latex figure (float) alignment
#'figure_align': 'htbp',
+
+# Additional stuff for the LaTeX preamble.
+ 'preamble': '''
+ % Allow generate some pages in landscape
+ \\usepackage{lscape}
+ '''
}
# Grouping the document tree into LaTeX files. List of tuples
OpenPOWER on IntegriCloud