Merge "Template updates - sections"
[doc.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index f3a4d0e..fb0f734 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,6 +14,15 @@ whitelist_externals =
     git
     sh
 
+[testenv:docs-templates]
+basepython = python3
+deps = -r{toxinidir}/etc/requirements.txt
+commands =
+    sphinx-build -b html -n -d {envtmpdir}/doctrees -c {toxinidir}/docs ./docs/guides/onap-developer/how-to-use-docs/templates {toxinidir}/docs/_build/html/templates
+    echo "Generated docs available in {toxinidir}/docs/_build/html/templates"
+whitelist_externals =
+    echo
+
 [testenv:local]
 basepython = python3
 deps = -r{toxinidir}/etc/requirements.txt