diff --git a/doc/source/conf.py b/doc/source/conf.py index bb32542..8fe8777 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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'), ] diff --git a/test-requirements.txt b/test-requirements.txt index c574c45..0e95301 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,6 +5,6 @@ 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 diff --git a/tox.ini b/tox.ini index 9ad8ddc..a225c5f 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,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 =