summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorJames Gu <james.gu@att.com>2020-11-23 14:26:50 -0800
committerJames Gu <james.gu@att.com>2020-11-23 14:26:50 -0800
commit8b4bec732259a334e556505613ac9fcfc6ea2296 (patch)
tree66a36ecaaa79bcda65021986cbc124557973434d /tox.ini
parent3fa4f1beb6c12c719062d2f43d6c97233912960c (diff)
Add local doc build
Added local doc build and partially updated release notes Signed-off-by: James Gu <james.gu@att.com> Change-Id: Ieb18443f6046c6ff50753e47f67fd8d26282498e
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..840ce6a
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,19 @@
+[tox]
+minversion = 1.6
+envlist =
+ docs,
+ docs-linkcheck
+skipsdist = true
+
+[testenv:docs]
+basepython = python3
+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]
+basepython = python3
+deps = -rdocs/requirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck