[PoC] Enable creating pdf doc

See https://review.opendev.org/#/c/665285 for more.

Change-Id: I874f5428f87f19eaf5fa15fa25f55a735e17967d
This commit is contained in:
Kaifeng Wang 2019-06-14 11:55:26 +08:00
parent 934090f3ec
commit 7a139d4738
3 changed files with 9 additions and 2 deletions

View File

@ -83,9 +83,10 @@ htmlhelp_basename = '%sdoc' % project
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
'Ironic-Inspector-Specs.tex',
project,
u'OpenStack Ironic Inspector Team', 'manual'),
]

View File

@ -1,5 +1,5 @@
pbr!=2.1.0,>=2.0.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0
yasfb>=0.5.1

View File

@ -21,6 +21,12 @@ commands =
basepython = python3
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pdfdocs]
whitelist_externals = make
basepython = python3
commands = sphinx-build -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[testenv:spelling]
basepython = python3
deps =