summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Van Trung <trungnv@vn.fujitsu.com>2018-07-09 13:49:06 +0700
committerNguyen Van Trung <trungnv@vn.fujitsu.com>2018-07-17 08:12:54 +0000
commit72e3217e5e48389aefed6968e9c30af8916dc357 (patch)
treef3ad22ae28a523a4fbd5013f9d4342679e6dcd82
parentcb6eef227c27bdf2e1d3a423b3c72f4a79b80858 (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 details information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Ia8a5a4eb2770976ac7b3b99c6d32d8aa37cedac7
Notes
Notes (review): Code-Review+1: Dao Cong Tien <tiendc@vn.fujitsu.com> Code-Review+2: Daniel Mellado <dmellado@redhat.com> Code-Review+2: Berezovsky Irena <irenab.dev@gmail.com> Workflow+1: Daniel Mellado <dmellado@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 30 Jul 2018 12:12:49 +0000 Reviewed-on: https://review.openstack.org/580930 Project: openstack/kuryr Branch: refs/heads/master
-rw-r--r--doc/requirements.txt3
-rw-r--r--setup.cfg9
-rw-r--r--test-requirements.txt3
-rw-r--r--tox.ini3
4 files changed, 5 insertions, 13 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
new file mode 100644
index 0000000..c28b5b2
--- /dev/null
+++ b/doc/requirements.txt
@@ -0,0 +1,3 @@
1openstackdocstheme>=1.18.1 # Apache-2.0
2reno>=2.5.0 # Apache-2.0
3sphinx!=1.6.6,>=1.6.2 # BSD
diff --git a/setup.cfg b/setup.cfg
index 2832ca6..6b4b1ff 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -31,15 +31,6 @@ packages =
31data_files = 31data_files =
32 libexec/kuryr = usr/libexec/kuryr/* 32 libexec/kuryr = usr/libexec/kuryr/*
33 33
34[build_sphinx]
35source-dir = doc/source
36build-dir = doc/build
37all_files = 1
38warning-is-error = 1
39
40[upload_sphinx]
41upload-dir = doc/build/html
42
43[compile_catalog] 34[compile_catalog]
44directory = kuryr/locale 35directory = kuryr/locale
45domain = kuryr 36domain = kuryr
diff --git a/test-requirements.txt b/test-requirements.txt
index 279289d..e0162f0 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -7,11 +7,8 @@ coverage!=4.4,>=4.0 # Apache-2.0
7ddt>=1.0.1 # MIT 7ddt>=1.0.1 # MIT
8hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 8hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
9os-testr>=1.0.0 # Apache-2.0 9os-testr>=1.0.0 # Apache-2.0
10openstackdocstheme>=1.18.1 # Apache-2.0
11oslotest>=3.2.0 # Apache-2.0 10oslotest>=3.2.0 # Apache-2.0
12python-subunit>=1.0.0 # Apache-2.0/BSD 11python-subunit>=1.0.0 # Apache-2.0/BSD
13reno>=2.5.0 # Apache-2.0
14sphinx!=1.6.6,>=1.6.2 # BSD
15testrepository>=0.0.18 # Apache-2.0/BSD 12testrepository>=0.0.18 # Apache-2.0/BSD
16testscenarios>=0.4 # Apache-2.0/BSD 13testscenarios>=0.4 # Apache-2.0/BSD
17testtools>=2.2.0 # MIT 14testtools>=2.2.0 # MIT
diff --git a/tox.ini b/tox.ini
index 4b9f446..4c99fe3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -54,7 +54,8 @@ commands =
54 54
55[testenv:docs] 55[testenv:docs]
56basepython = python3 56basepython = python3
57commands = python setup.py build_sphinx 57deps = -r{toxinidir}/doc/requirements.txt
58commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
58 59
59[flake8] 60[flake8]
60# E125 continuation line does not distinguish itself from next logical line 61# E125 continuation line does not distinguish itself from next logical line