Adopt new docs/tox API
- toc.ini changed
- spelling issue reported by Rao addressed
- trigger
Issue-ID: OAM-335
Change-Id: Ie887a8931c40331014c5db34bca5e1b2336ce9d2
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
diff --git a/tox.ini b/tox.ini
index e35f375..22f612e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,13 +8,8 @@
[testenv:docs]
basepython = python3
-deps =
- sphinx
- sphinx-rtd-theme
- sphinxcontrib-httpdomain
- recommonmark
- lfdocs-conf
-
+deps = -r{toxinidir}/docs/requirements-docs.txt
+
commands =
sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
echo "Generated docs available in {toxinidir}/docs/_build/html"
@@ -22,9 +17,5 @@
[testenv:docs-linkcheck]
basepython = python3
-deps = sphinx
- sphinx-rtd-theme
- sphinxcontrib-httpdomain
- recommonmark
- lfdocs-conf
+deps = -r{toxinidir}/docs/requirements-docs.txt
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
\ No newline at end of file