Browse Source

Merge "Create doc/requirements.txt"

Zuul 1 year ago
parent
commit
6a29080987
3 changed files with 10 additions and 6 deletions
  1. 8
    0
      doc/requirements.txt
  2. 0
    3
      test-requirements.txt
  3. 2
    3
      tox.ini

+ 8
- 0
doc/requirements.txt View File

@@ -0,0 +1,8 @@
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
+openstackdocstheme>=1.18.1 # Apache-2.0
6
+sphinx!=1.6.6,>=1.6.2 # BSD
7
+reno>=2.5.0 # Apache-2.0
8
+sphinxcontrib-httpdomain>=1.3.0 # BSD

+ 0
- 3
test-requirements.txt View File

@@ -7,13 +7,10 @@ fixtures>=3.0.0 # Apache-2.0/BSD
7 7
 # Hacking already pins down pep8, pyflakes and flake8
8 8
 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
9 9
 mock>=2.0.0 # BSD
10
-openstackdocstheme>=1.18.1 # Apache-2.0
11 10
 paunch>=1.0.0 # Apache-2.0
12
-reno>=2.5.0 # Apache-2.0
13 11
 requests>=2.14.2 # Apache-2.0
14 12
 requests-mock>=1.1.0 # Apache-2.0
15 13
 salt
16
-sphinx!=1.6.6,>=1.6.2 # BSD
17 14
 testrepository>=0.0.18 # Apache-2.0/BSD
18 15
 testscenarios>=0.4 # Apache-2.0/BSD
19 16
 testtools>=2.2.0 # MIT

+ 2
- 3
tox.ini View File

@@ -15,9 +15,7 @@ commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
15 15
 commands = flake8
16 16
 
17 17
 [testenv:docs]
18
-deps = -r{toxinidir}/requirements.txt
19
-       -r{toxinidir}/test-requirements.txt
20
-       sphinxcontrib-httpdomain
18
+deps = -r{toxinidir}/doc/requirements.txt
21 19
 commands = python setup.py build_sphinx
22 20
 
23 21
 [testenv:venv]
@@ -29,4 +27,5 @@ builtins = _
29 27
 exclude=.venv,.git,.tox,*lib/python*,private,.eggs
30 28
 
31 29
 [testenv:releasenotes]
30
+deps = -r{toxinidir}/doc/requirements.txt
32 31
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html

Loading…
Cancel
Save