From 941aee1d2ee2e3ae3c00c48f878f7e60d31e61d7 Mon Sep 17 00:00:00 2001 From: Nguyen Hai Truong Date: Wed, 7 Nov 2018 00:25:24 -0800 Subject: [PATCH] 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 --- doc/requirements.txt | 11 +++++++++++ tox.ini | 1 + 2 files changed, 12 insertions(+) create mode 100644 doc/requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000..3dc6a0f --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,11 @@ +# 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. +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinxcontrib-apidoc>=0.2.0 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 +mock>=2.0.0 # BSD +ddt>=1.0.1 # MIT +testtools>=2.2.0 # MIT +tempest>=17.1.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 1285095..f255b83 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,7 @@ commands = {posargs} [testenv:docs] basepython = python3 +deps = -r{toxinidir}/doc/requirements.txt commands = find . -type f -name "*.pyc" -delete python setup.py build_sphinx