summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelissaml <ma.lei@99cloud.net>2018-03-21 03:26:19 +0800
committermelissaml <ma.lei@99cloud.net>2018-03-21 04:12:54 +0800
commit80bee99f277bd981cd32053d5e6586361f224bd3 (patch)
treed6456566fc2c8c6ad6a4a65ff923e04098dc7e21
parentb30399cdfdf0aa7652c8385f5d45764d93e03320 (diff)
Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I12655940f683caec7cc0708a42ddf52720de6dbe
Notes
Notes (review): Code-Review+2: Jesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk> Code-Review+2: Jean-Philippe Evrard <jean-philippe@evrard.me> Workflow+1: Jean-Philippe Evrard <jean-philippe@evrard.me> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 21 Mar 2018 08:17:49 +0000 Reviewed-on: https://review.openstack.org/554671 Project: openstack/openstack-ansible-memcached_server Branch: refs/heads/master
-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}