diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..1bc74824 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,19 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. + +# For generationg sphinx documentation +openstackdocstheme>=1.17.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 +sphinx>=1.6.2 # BSD + +# For autodoc builds +hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +fixtures>=3.0.0 # Apache-2.0/BSD +mock>=2.0.0 # BSD +betamax>=0.7.0 # Apache-2.0 +oslo.config>=4.6.0 # Apache-2.0 +oslo.utils>=3.31.0 # Apache-2.0 +requests-mock>=1.1.0 # Apache-2.0 +lxml!=3.7.0,>=3.4.1 # BSD +oauthlib>=0.6.0 # BSD diff --git a/tox.ini b/tox.ini index ce8619cc..22d0dc9d 100644 --- a/tox.ini +++ b/tox.ini @@ -63,12 +63,14 @@ show-source = True exclude = .venv,.tox,dist,doc,*egg,build [testenv:docs] +deps = -r{toxinidir}/doc/requirements.txt commands= bash -c "rm -rf doc/build" bash -c "rm -rf doc/source/api" python setup.py build_sphinx [testenv:releasenotes] +deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [hacking]