summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/requirements.txt11
-rw-r--r--test-requirements.txt8
-rw-r--r--tox.ini5
3 files changed, 14 insertions, 10 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
new file mode 100644
index 0000000..2cba12a
--- /dev/null
+++ b/doc/requirements.txt
@@ -0,0 +1,11 @@
1# The order of packages is significant, because pip processes them in the order
2# of appearance. Changing the order has an impact on the overall integration
3# process, which may cause wedges in the gate later.
4
5# this is required for the docs build jobs
6sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
7oslosphinx>=4.7.0 # Apache-2.0
8openstackdocstheme>=1.18.1 # Apache-2.0
9doc8>=0.6.0 # Apache-2.0
10reno>=2.5.0 # Apache-2.0
11sphinxmark>=0.1.14 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index fac6795..82506c5 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -7,11 +7,3 @@ pyasn1!=0.2.3,>=0.1.8 # BSD
7pyOpenSSL>=17.1.0 # Apache-2.0 7pyOpenSSL>=17.1.0 # Apache-2.0
8requests>=2.14.2 # Apache-2.0 8requests>=2.14.2 # Apache-2.0
9ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD 9ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD
10
11# this is required for the docs build jobs
12sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
13oslosphinx>=4.7.0 # Apache-2.0
14openstackdocstheme>=1.18.1 # Apache-2.0
15doc8>=0.6.0 # Apache-2.0
16reno>=2.5.0 # Apache-2.0
17sphinxmark>=0.1.14 # Apache-2.0
diff --git a/tox.ini b/tox.ini
index 9b3220d..703bf63 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,10 +32,11 @@ setenv =
32 32
33 33
34[testenv:docs] 34[testenv:docs]
35deps = -r{toxinidir}/doc/requirements.txt
35commands= 36commands=
36 bash -c "rm -rf doc/build" 37 bash -c "rm -rf doc/build"
37 doc8 doc 38 doc8 doc
38 python setup.py build_sphinx 39 sphinx-build -b html doc/source doc/build/html
39 40
40 41
41[doc8] 42[doc8]
@@ -44,6 +45,7 @@ extensions = .rst
44 45
45 46
46[testenv:releasenotes] 47[testenv:releasenotes]
48deps = -r{toxinidir}/doc/requirements.txt
47commands = 49commands =
48 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 50 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
49 51
@@ -112,4 +114,3 @@ commands =
112 {[testenv:bashate]commands} 114 {[testenv:bashate]commands}
113 {[testenv:ansible-lint]commands} 115 {[testenv:ansible-lint]commands}
114 {[testenv:ansible-syntax]commands} 116 {[testenv:ansible-syntax]commands}
115 {[testenv:docs]commands}