From 28be18bdce36fe002863899b8a977a2db4c984ec Mon Sep 17 00:00:00 2001 From: Nguyen Hai Truong Date: Wed, 7 Nov 2018 00:19:25 -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: I70366984cdc49983504c6084e36339bb4f80ac01 --- 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 d26fe54..38a1638 100644 --- a/tox.ini +++ b/tox.ini @@ -30,6 +30,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}' [testenv:docs] basepython = python3 +deps = -r{toxinidir}/doc/requirements.txt setenv = DJANGO_SETTINGS_MODULE=disaster_recovery.test.settings commands = python setup.py build_sphinx