Merge "Add PDF building"

This commit is contained in:
Zuul 2019-08-25 23:34:05 +00:00 committed by Gerrit Code Review
commit da6f5f57ce
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