Skip to content

Commit

Permalink
Remove doc/build before running docs job
Browse files Browse the repository at this point in the history
Clear doc/build directory before running docs job may better guarantee
each building output the newest docs.

Change-Id: I17537742a4c1421f2bd0561d2c48c5ae56d89026
  • Loading branch information
junboli committed Oct 25, 2017
1 parent 859d3ac commit b704878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ commands = {posargs}

[testenv:docs]
commands =
rm -fr doc/source/contributor/api/ .autogenerated
rm -fr doc/build doc/source/contributor/api/ .autogenerated
python setup.py build_sphinx
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
Expand Down

0 comments on commit b704878

Please sign in to comment.