summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2018-10-28 16:54:22 +0100
committerAndreas Jaeger <aj@suse.com>2018-10-28 16:59:15 +0100
commitcb9e1b4885658ed1ac6165fec86686a292d5047a (patch)
treeb4d7221575df04e488c2b8ded5cd8172c0630b7c
parent74346801b26d95a441b30ae81a1c4ca8056f1ab2 (diff)
downloadzuul-cb9e1b4885658ed1ac6165fec86686a292d5047a.tar.gz
Use doc/requirements.txt
Create separate doc/requirements.txt file and use it, this shrinks the list of requirements to install for a normal run. Change-Id: I7c27f7f737657005ab6e370ae7e5dceb5a7073e7
-rw-r--r--doc/requirements.txt6
-rw-r--r--test-requirements.txt6
-rw-r--r--tox.ini2
3 files changed, 8 insertions, 6 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
new file mode 100644
index 000000000..64e444d1b
--- /dev/null
+++ b/doc/requirements.txt
@@ -0,0 +1,6 @@
+sphinx>=1.6.1
+sphinxcontrib-blockdiag>=1.1.0
+sphinxcontrib-programoutput
+sphinx-autodoc-typehints
+reno>=2.8.0 # Apache-2.0
+zuul-sphinx
diff --git a/test-requirements.txt b/test-requirements.txt
index 3c45caecf..7e9c032b8 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,16 +1,10 @@
flake8<3.6.0
coverage>=3.6
-sphinx>=1.6.1
-sphinxcontrib-blockdiag>=1.1.0
fixtures>=0.3.14
stestr>=1.0.0 # Apache-2.0
testtools>=0.9.32
-sphinxcontrib-programoutput
-sphinx-autodoc-typehints
-reno>=2.8.0 # Apache-2.0
PyMySQL
psycopg2-binary
mypy
-zuul-sphinx
beautifulsoup4
diff --git a/tox.ini b/tox.ini
index ddb811fcb..bc254f319 100644
--- a/tox.ini
+++ b/tox.ini
@@ -64,6 +64,8 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
+deps = -r{toxinidir}/doc/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html