Fixing docs build for osh-infra

There was a change[0] in zuul that made the docs job fail
if the build/html dir was empty. Our docs job was putting the
built docs in the source file by mistake, this ps fixes
this issue.

[0] https://review.opendev.org/#/c/721221/

Change-Id: I9ef336cf32dad96ff4a4fcc2743363a8f40f4718
This commit is contained in:
Gage Hugo 2020-04-21 13:10:48 -05:00
parent 965e1b6079
commit fa0876750a
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ commands = {posargs}
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
sphinx-build -W -b html doc/source doc/source/html
sphinx-build -W -b html doc/source doc/build/html
whitelist_externals =
rm