Merge "Fix releasenotes build in tox"
This commit is contained in:
commit
5742cfe03f
@ -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:
|
||||
|
||||
|
@ -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``:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user