'usedevelop = True' is set in the tox '[testenv]', so every tox env
including documentation will build and install the parser code.
Disabling this for the docs and docs-linkcheck environments should speed
up builds and feedback on documentation changes.
Change-Id: I72780b852ff56608313efb099ad1eeb4b665143b
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
bash -c 'cd tosca2heat/tosca-parser; tox'
[testenv:docs]
+usedevelop = False
deps = -rdocs/requirements.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
[testenv:docs-linkcheck]
+usedevelop = False
deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck