Browse Source

Update document building tox target

This patch set updates the tox targets for doc and reno building so it is
in line with other OpenStack projects' structure.

Change-Id: Ie475e49afab69e4df4e75120a9e70cc56b6616dd
Nguyen Hai Truong 5 months ago
parent
commit
941aee1d2e
2 changed files with 12 additions and 0 deletions
  1. 11
    0
      doc/requirements.txt
  2. 1
    0
      tox.ini

+ 11
- 0
doc/requirements.txt View File

@@ -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
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
5
+sphinxcontrib-apidoc>=0.2.0  # BSD
6
+openstackdocstheme>=1.18.1 # Apache-2.0
7
+reno>=2.5.0 # Apache-2.0
8
+mock>=2.0.0 # BSD
9
+ddt>=1.0.1 # MIT
10
+testtools>=2.2.0 # MIT
11
+tempest>=17.1.0 # Apache-2.0

+ 1
- 0
tox.ini View File

@@ -19,6 +19,7 @@ commands = {posargs}
19 19
 
20 20
 [testenv:docs]
21 21
 basepython = python3
22
+deps = -r{toxinidir}/doc/requirements.txt
22 23
 commands =
23 24
   find . -type f -name "*.pyc" -delete
24 25
   python setup.py build_sphinx

Loading…
Cancel
Save