summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2020-02-06 14:23:35 -0500
committerAric Gardner <agardner@linuxfoundation.org>2020-04-06 17:39:57 +0000
commit2ffd40cf69006a1346dd63f2f7ae11837ffd27cc (patch)
treeb6c58c5bfcbd8efa70562598d1999637b7336108 /docs/tox.ini
parenteac8c88714237aed5446f1def9a1ca0412c80329 (diff)
fix osa docs with new docs
example of how this changeset was created. includes link to documentation: https://gist.github.com/Aricg/bf95ef40c542ba211be8771e88e6f410 merging this will create https://onap-osa.readthedocs.io This build will run in parralelle to the current docs generation method untill we are ready to cut over. Issue-ID: CIMAN-33 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I4a477027bcc858c799228f77c9a37b55c0659fd9
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