From 2602ebc7e5d68eb7488f7409a9657084f1f48a8f Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 9 Sep 2018 06:00:09 -0400 Subject: 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 Also, add docs tox environment so that the job works. Change-Id: I8dd911d46623c0185d238b293e0218cfa435ed46 Story: #2002586 Task: #24342 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 568e3214..d0a06def 100644 --- a/tox.ini +++ b/tox.ini @@ -112,6 +112,9 @@ deps = -r{toxinidir}/requirements.txt commands = {[testenv]commands} python tools/trove-pylint.py {posargs:check} +[testenv:docs] +basepython = python3 +commands = sphinx-build -W -b html doc/source doc/build/html [testenv:lower-constraints] basepython = python3 -- cgit v1.2.1