summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgordon chung <gord@live.ca>2014-08-15 16:02:25 -0400
committergordon chung <gord@live.ca>2014-08-15 16:02:25 -0400
commiteb2579f8cc3040c343c254fc90775a8b49e46db2 (patch)
tree8b34852016a19363d9c80c47bfd94b2ad7fbd576
parent29054411b04b8e595856da4d4be5a62de91960b5 (diff)
downloadoslo-middleware-eb2579f8cc3040c343c254fc90775a8b49e46db2.tar.gz
add doc generation support
we're missing sphinx requirements that are blocking doc tests. this patch adds this in so we can pass check Change-Id: Ieba4da849ce8abea10a3298df23a0b2145a0bd2e
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini3
2 files changed, 4 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 9fec393..8ddad2d 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -3,4 +3,5 @@ hacking>=0.9.2,<0.10
mock>=1.0
oslosphinx
oslotest
+sphinx>=1.1.2,!=1.2.0,<1.3
testtools>=0.9.34
diff --git a/tox.ini b/tox.ini
index 14befe5..eabaf32 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,6 +22,9 @@ commands = flake8
[testenv:venv]
commands = {posargs}
+[testenv:docs]
+commands = python setup.py build_sphinx
+
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'