Merge "Build pdf doc"

This commit is contained in:
Zuul 2019-09-09 14:42:50 +00:00 committed by Gerrit Code Review
commit 7e1581bc06
3 changed files with 10 additions and 6 deletions

View File

@ -37,13 +37,11 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'ironic-python-agent-builder'
copyright = u'2017, OpenStack Developers'
# openstackdocstheme options
repository_name = 'openstack/ironic-python-agent-builder'
bug_project = 'ironic-python-agent'
bug_tag = ''
use_storyboard = True
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
@ -66,14 +64,14 @@ html_theme = 'openstackdocs'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
htmlhelp_basename = 'ironic-python-agent-builderdoc'
# 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,
'doc-ironic-python-agent-builder.tex',
u'Ironic Python Agent Builder Documentation',
u'OpenStack Developers', 'manual'),
]

View File

@ -9,6 +9,6 @@ flake8-import-order>=0.13 # LGPLv3
doc8>=0.6.0 # Apache-2.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.17.0 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0
# releasenotes
reno>=2.5.0 # Apache-2.0

View File

@ -25,6 +25,12 @@ commands = {posargs}
basepython = python3
commands = python setup.py build_sphinx
[testenv:pdf-docs]
whitelist_externals = make
basepython = python3
commands = sphinx-build -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[testenv:releasenotes]
basepython = python3
commands =