switch documentation job to new PTI

This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I766b9d504ea24e1fadaad0d158da43012a07290a
Story: #2002586
Task: #24328
This commit is contained in:
Nguyen Hai 2018-08-29 22:03:09 +09:00
parent 3780f7e1e7
commit b892985a56
4 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
- project: - project:
templates: templates:
- openstack-python-jobs - openstack-python-jobs
- publish-openstack-sphinx-docs - publish-openstack-docs-pti

View File

@ -29,7 +29,6 @@ sys.path.insert(0, os.path.abspath('../..'))
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [ extensions = [
'rst2pdf.pdfbuilder',
'sphinx.ext.autodoc', 'sphinx.ext.autodoc',
'sphinxcontrib.httpdomain', 'sphinxcontrib.httpdomain',
'openstackdocstheme', 'openstackdocstheme',

View File

@ -1,7 +1,6 @@
openstackdocstheme>=1.11.0 # Apache-2.0 openstackdocstheme>=1.11.0 # Apache-2.0
sphinx>=1.6.2 # BSD sphinx>=1.6.2 # BSD
rst2pdf
six>=1.9.0 six>=1.9.0
sphinxcontrib-httpdomain sphinxcontrib-httpdomain
sphinx_rtd_theme sphinx_rtd_theme

View File

@ -29,8 +29,7 @@ commands = flake8
[testenv:docs] [testenv:docs]
basepython = python3 basepython = python3
commands = commands = sphinx-build -b html doc/source doc/build/html
python setup.py build_sphinx
[testenv:pdf] [testenv:pdf]
deps = deps =