summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorHui Deng <denghui12@huawei.com>2020-03-04 01:24:11 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-04 01:24:11 +0000
commit9e24ecc370062ef3c7a080141bc1028b61006d49 (patch)
treeb34eeb8fb686efd03434f6ef0f8b3b887997d8d8 /docs/tox.ini
parent527261b99506f84906f1f72a9103d5d913d92a70 (diff)
parent5d073fac1720f6c281689eef86ddcca146cc1368 (diff)
Merge "Migrate modeling-modelspec docs"
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
new file mode 100644
index 0000000..edac8c3
--- /dev/null
+++ b/docs/tox.ini
@@ -0,0 +1,22 @@
+[tox]
+minversion = 1.6
+envlist = docs,
+skipsdist = true
+
+[testenv:docs]
+basepython = python3
+deps = -r{toxinidir}/requirements-docs.txt
+commands =
+ sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
+ echo "Generated docs available in {toxinidir}/_build/html"
+whitelist_externals =
+ echo
+ git
+ sh
+
+[testenv:docs-linkcheck]
+basepython = python3
+#deps = -r{toxinidir}/requirements-docs.txt
+commands = echo "Link Checking not enforced"
+#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
+whitelist_externals = echo