summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAdam Spiers <aspiers@suse.com>2019-06-12 12:14:41 +0100
committercaoyuan <cao.yuan@99cloud.net>2019-07-05 17:40:32 +0000
commita6e330857b8608a1e04023e2103297b3726a36c7 (patch)
treee31442fd1c0eb104212179a83001ad29d7480e79 /tox.ini
parent7934e6f40554303067366897278ba8ba3adc6599 (diff)
downloadoslo-i18n-a6e330857b8608a1e04023e2103297b3726a36c7.tar.gz
Move doc related modules to doc/requirements.txt
Change-Id: Ice407c712b5438b06c4f439c73946640a0c5a86d
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 5f4b944..1baf8e8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,14 @@ commands = {posargs}
[testenv:docs]
basepython = python3
-commands = python setup.py build_sphinx
+whitelist_externals =
+ rm
+deps =
+ {[testenv]deps}
+ -r{toxinidir}/doc/requirements.txt
+commands =
+ rm -rf doc/build
+ sphinx-build -W -b html doc/source doc/build/html
[testenv:cover]
basepython = python3