Merge "Fix releasenotes build in tox"

This commit is contained in:
Zuul 2018-08-07 09:37:15 +00:00 committed by Gerrit Code Review
commit 5742cfe03f
3 changed files with 11 additions and 4 deletions

View File

@ -154,9 +154,10 @@ The basic steps are:
[testenv:api-ref]
# This environment is called from CI scripts to test and publish
# the API Ref to developer.openstack.org.
whitelist_externals = rm
commands =
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
#. Test the ``tox.ini`` changes by running this tox command:

View File

@ -50,7 +50,10 @@ Setting up
.. code-block:: ini
[testenv:deploy-guide]
commands = sphinx-build -a -E -W -d deploy-guide/build/doctrees -b html deploy-guide/source deploy-guide/build/html
whitelist_externals = rm
commands =
rm -rf deploy-guide/build
sphinx-build -a -E -W -d deploy-guide/build/doctrees -b html deploy-guide/source deploy-guide/build/html
#. Add your deployment guide content, and test the build locally with ``tox``:

View File

@ -77,7 +77,10 @@ Set up project specific installation guides:
.. code-block:: ini
[testenv:install-guide]
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
whitelist_externals = rm
commands =
rm -rf install-guide/build
sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
#. Add the python package ``openstackdocstheme`` to the
``test-requirements.txt`` file. Copy the exact requirement line from the