Update the tox.ini for build docs
Update the tox.ini configure file about [testenv:docs] Change-Id: I6ec237c83d86989056f15df673c1574cf573ea4f
This commit is contained in:
parent
e3519c810b
commit
874b26c84a
7
tox.ini
7
tox.ini
|
@ -5,7 +5,7 @@ skipsdist = True
|
|||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
DISCOVER_DIRECTORY=murano/tests/unit
|
||||
|
@ -25,10 +25,7 @@ commands = {posargs}
|
|||
commands = {toxinidir}/tools/cover.sh {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
commands =
|
||||
rm -rf doc/html doc/build
|
||||
rm -rf doc/source/apidoc doc/source/api
|
||||
python setup.py build_sphinx
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:pyflakes]
|
||||
deps = flake8
|
||||
|
|
Loading…
Reference in New Issue