Add doc/requirements.txt
Fix doc building with new PTI changes and job updates. Add a doc/requirements.txt file with all needed dependencies. Change-Id: Ic7963520aeb0b9c463c4f9b5675589308720d6f8
This commit is contained in:
parent
7c1bfe579f
commit
e7afb739bf
12
doc/requirements.txt
Normal file
12
doc/requirements.txt
Normal file
@ -0,0 +1,12 @@
|
||||
sphinx>=1.6.2 # BSD
|
||||
openstackdocstheme>=1.11.0 # Apache-2.0
|
||||
reno>=1.8.0 # Apache-2.0
|
||||
|
||||
# Install dependencies for tooz so that autodoc works.
|
||||
python-consul>=0.4.7 # MIT License
|
||||
sysv-ipc>=0.6.8 # BSD License
|
||||
zake>=0.1.6 # Apache-2.0
|
||||
redis>=2.10.0 # MIT
|
||||
psycopg2>=2.5 # LGPL/ZPL
|
||||
PyMySQL>=0.6.2 # MIT License
|
||||
pymemcache!=1.3.0,>=1.2.9 # Apache 2.0 License
|
4
tox.ini
4
tox.ini
@ -44,7 +44,7 @@ commands = {posargs}
|
||||
commands = python setup.py testr --slowest --coverage --testr-args="{posargs}"
|
||||
|
||||
[testenv:docs]
|
||||
deps = .[doc,zake,ipc,zookeeper,redis,memcached,mysql,postgresql,consul]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:pep8]
|
||||
@ -59,5 +59,5 @@ exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,doc
|
||||
show-source = True
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = .[doc]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
Loading…
Reference in New Issue
Block a user