diff options
author | 2020-09-22 15:48:10 +0200 | |
---|---|---|
committer | 2020-09-22 16:10:52 +0200 | |
commit | 3d854201317ddcffcdb6bb633632869e90759555 (patch) | |
tree | 379a834e9460b339396c1b7879c470d2ce0f6f42 /tox.ini | |
parent | c9a39477a2deaa87393be7db8f3895a707c9a33d (diff) |
Fix documentation configuration
Change-Id: Icf6eaa2c951a04c15d457a1f51fa98661a226f2b
Issue-ID: CCSDK-2833
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..32de8a6c --- /dev/null +++ b/tox.ini @@ -0,0 +1,32 @@ +[tox] +minversion = 2.0 +envlist = docs, +skipsdist = true + +[testenv:docs] +basepython = python3 +deps = + sphinx + sphinx-rtd-theme + sphinxcontrib-httpdomain + sphinxcontrib.blockdiag + sphinxcontrib.needs + sphinxcontrib.plantuml + sphinxcontrib.nwdiag + sphinxcontrib.seqdiag + sphinxcontrib.swaggerdoc + recommonmark + lfdocs-conf +commands = + sphinx-build -b html -n -d {envtmpdir}/docs/doctrees ./docs/ {toxinidir}/docs/_build/html + echo "Generated docs available in {toxinidir}/docs/_build/html" +whitelist_externals = + echo + git + sh + +[testenv:docs-linkcheck] +basepython = python3 +commands = echo "Link Checking not enforced" +#commands = sphinx-build -b linkcheck -d {envtmpdir}/docs/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck +whitelist_externals = echo |