Also splits out docs requirements to docs-requirements.txt to avoid
coala failing to run because of version conflict with Sphinx version we
want to use for docs.
Change-Id: I64d0b5953be03f91bf67e75e54072d1da9df5d1a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
--- /dev/null
+-r requirements.txt
+sphinx>=1.6.4
+sphinxcontrib-programoutput
+sphinx_bootstrap_theme>=0.6.0
+
requests!=2.13.0
setuptools>=36.5.0
shade
-sphinx>=1.4.9
-sphinxcontrib-programoutput
-sphinx_bootstrap_theme>=0.4.14
python-jenkins
# workarounds to prevent upstream from breaking us
coala --non-interactive
[testenv:docs]
-deps = -rrequirements.txt
+deps = -rdocs-requirements.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
echo "Generated docs available in {toxinidir}/docs/_build/html"
whitelist_externals = echo
[testenv:docs-linkcheck]
-deps = -rrequirements.txt
+deps = -rdocs-requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
[testenv:license]