summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2018-11-22 15:54:47 -0500
committerAric Gardner <agardner@linuxfoundation.org>2018-11-22 15:57:38 -0500
commit958cc18c64b72da4547839b41633393e8d0293ea (patch)
treee74e48c218553a842353699b0f24a85f8198b585 /tox.ini
parentdcf106399368fdade5a687ebae1572a7e0ae27d4 (diff)
Initial Commit for Rocket project
Docs can be built with tox -e docs INFO.yaml will be populated once committers have accepted their invitations. (we don't know the id or name yet as the accounts may not have been created yet) Change-Id: I7c097b5fdf596374fa5ec31c39a31994754031ca Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..69aa189
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+minversion = 1.6
+envlist =
+ docs,
+ docs-linkcheck
+skipsdist = true
+
+[testenv:docs]
+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]
+deps = -rdocs/requirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck