Merge "Use Sphinx 1.5 warning-is-error"

This commit is contained in:
Jenkins 2017-04-20 17:50:42 +00:00 committed by Gerrit Code Review
commit 0b084b20ad
3 changed files with 7 additions and 5 deletions

View File

@ -7,10 +7,10 @@ The :program:`manila` shell utility
The :program:`manila` shell utility interacts with the OpenStack Manila API
from the command line. It supports the entirety of the OpenStack Manila API.
You'll need to provide :program:`manila` with your OpenStack username and
API key. You can do this with the :option:`--os-username`, :option:`--os-password`
and :option:`--os-tenant-name` options, but it's easier to just set them as
environment variables by setting two environment variables:
You'll need to provide :program:`manila` with your OpenStack username and API
key. You can do this with the `--os-username`, `--os-password` and
`--os-tenant-name` options, but it's easier to just set them as environment
variables by setting two environment variables:
.. envvar:: OS_USERNAME or MANILA_USERNAME

View File

@ -37,7 +37,8 @@ oslo.config.opts =
[build_sphinx]
builders = html,man
all_files = 1
all-files = 1
warning-is-error = 1
source-dir = doc/source
build-dir = doc/build

View File

@ -39,6 +39,7 @@ commands =
commands = {posargs}
[testenv:docs]
basepython = python2.7
whitelist_externals = rm
commands =
rm -rf doc/build