diff options
author | James Gu <james.gu@att.com> | 2020-11-23 14:26:50 -0800 |
---|---|---|
committer | James Gu <james.gu@att.com> | 2020-11-23 14:26:50 -0800 |
commit | 8b4bec732259a334e556505613ac9fcfc6ea2296 (patch) | |
tree | 66a36ecaaa79bcda65021986cbc124557973434d /tox.ini | |
parent | 3fa4f1beb6c12c719062d2f43d6c97233912960c (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.ini | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |