summaryrefslogtreecommitdiffstats
path: root/common/conf.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-02-06 17:02:18 +1100
committerChris Johns <chrisj@rtems.org>2019-02-06 17:02:18 +1100
commita3b0a40880c80dec607377b15d6a9d2223e8f9e3 (patch)
treedc497a5ecf466e58e965991ab2105c943995bb4c /common/conf.py
parent Support VERSION file for releasing and deployment (diff)
downloadrtems-docs-a3b0a40880c80dec607377b15d6a9d2223e8f9e3.tar.bz2
Fix building with Sphinx 1.8 and later.
- Provide the pytnon.ist file for makeindex. - Add support for xelatex building so we can switch if we want too. Closes #3669
Diffstat (limited to 'common/conf.py')
-rw-r--r--common/conf.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/conf.py b/common/conf.py
index c658113..14d5d48 100644
--- a/common/conf.py
+++ b/common/conf.py
@@ -165,6 +165,10 @@ htmlhelp_basename = 'rtemsdoc'
# -- Options for LaTeX output --------------------------------------------------
+latex_engine = 'pdflatex'
+
+latex_use_xindy = False
+
latex_paper_size = 'a4'
# Grouping the document tree into LaTeX files. List of tuples
@@ -176,6 +180,7 @@ latex_documents = [] # must be overridden in local conf.py
latex_elements = {
'papersize': 'a4paper',
'pointsize': '11pt',
+ 'releasename': '',
'preamble': r'''
\newcommand{\rtemscopyright}{%s}
\usepackage{rtemsstyle}
@@ -183,11 +188,9 @@ latex_elements = {
'parsedliteralwraps': True,
}
-
latex_additional_files = ['../common/rtemsstyle.sty', '../common/minted.sty', '../common/logo.pdf']
latex_use_modindex = False
-
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
@@ -204,7 +207,6 @@ latex_show_pagerefs = False
# If false, no module index is generated.
#latex_domain_indices = True
-
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}