Add PDF building

Add tox.ini environment for pdf building.
Add latex_documents.

Change-Id: I5dbf376d6b10f7d60e29a381494434191aa6f0d9
This commit is contained in:
Andreas Jaeger 2019-08-25 09:35:17 +02:00 committed by Ian Y. Choi
parent 395ab089f6
commit 16fbe08729
2 changed files with 17 additions and 0 deletions

View File

@ -201,5 +201,15 @@ htmlhelp_basename = 'i18n-contributor-guide'
# If true, publish source files
html_copy_source = False
# -- Options for LaTeX output -------------------------------------------------
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index', 'i18n.tex', u'Internationalization Documentation',
u'OpenStack Foundation', 'howto'),
]
# -- Options for Internationalization output ------------------------------
locale_dirs = ['locale/']

View File

@ -30,6 +30,13 @@ commands =
# Build translated guides
docstheme-build-translated.sh
[testenv:pdf-docs]
whitelist_externals =
make
commands =
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[testenv:pep8]
commands =
flake8