Ansible-ODL docs are being moved to its own repository. For now,
docs build and linkcheck tests are added.
JIRA: INTPAK-190
Change-Id: I4bc1a2fa9f8755b67a5339d7cf6c0234542e4787
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
[tox]
minversion = 1.6.0
-envlist = coala, ansible-lint
+envlist = coala, ansible-lint, docs, docs-linkcheck
skipsdist = true
[testenv:ansible-lint]
deps = ansible-lint
commands = ansible-lint examples/all_defaults_playbook.yml
+[testenv:docs]
+deps = lfdocs-conf
+commands = sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+
+[testenv:docs-linkcheck]
+deps = lfdocs-conf
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck
+
[testenv:coala]
basepython = python3
deps =