diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-09-10 14:41:47 -0700 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-24 17:57:08 +0000 |
commit | d13f5b9dd31fceaec93d5243b66515c3bff31426 (patch) | |
tree | 5ec294e255a046ffb328e36a36a9fb49390258bd /tox.ini | |
parent | daf133b7fcca4ae36da6bbd29689e3d0932755c6 (diff) |
Armband: All local documentation builds
Change-Id: I76b42e26375c81e9090d9d034b834f0f5b1d8506
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
(cherry picked from commit 871ed4fbb654a31b5abda1c6ead650677287fd10)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..c3299e47 --- /dev/null +++ b/tox.ini @@ -0,0 +1,22 @@ +############################################################################## +# Copyright (c) 2018 Enea AB and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +[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 + +[testenv:docs-linkcheck] +deps = -rdocs/requirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |