Merge "Use Sphinx 1.5 warning-is-error"
This commit is contained in:
commit
ba24847cbe
@ -10,10 +10,10 @@ from the command line. It supports the entirety of the OpenStack Nova API.
|
|||||||
First, you'll need an OpenStack Nova account and an API key. You get this
|
First, you'll need an OpenStack Nova account and an API key. You get this
|
||||||
by using the `nova-manage` command in OpenStack Nova.
|
by using the `nova-manage` command in OpenStack Nova.
|
||||||
|
|
||||||
You'll need to provide :program:`nova` with your OpenStack username and
|
You'll need to provide :program:`nova` with your OpenStack username and API
|
||||||
API key. You can do this with the :option:`--os-username`, :option:`--os-password`
|
key. You can do this with the `--os-username`, `--os-password` and
|
||||||
and :option:`--os-tenant-id` options, but it's easier to just set them as
|
`--os-tenant-id` options, but it's easier to just set them as environment
|
||||||
environment variables by setting two environment variables:
|
variables by setting two environment variables:
|
||||||
|
|
||||||
.. envvar:: OS_USERNAME
|
.. envvar:: OS_USERNAME
|
||||||
|
|
||||||
@ -42,9 +42,9 @@ For example, in Bash you'd use::
|
|||||||
export OS_TENANT_NAME=myproject
|
export OS_TENANT_NAME=myproject
|
||||||
export OS_AUTH_URL=http://...
|
export OS_AUTH_URL=http://...
|
||||||
export OS_COMPUTE_API_VERSION=2
|
export OS_COMPUTE_API_VERSION=2
|
||||||
|
|
||||||
From there, all shell commands take the form::
|
From there, all shell commands take the form::
|
||||||
|
|
||||||
nova <command> [arguments...]
|
nova <command> [arguments...]
|
||||||
|
|
||||||
Run :program:`nova help` to get a full list of all possible commands,
|
Run :program:`nova help` to get a full list of all possible commands,
|
||||||
|
@ -31,9 +31,10 @@ console_scripts =
|
|||||||
nova = novaclient.shell:main
|
nova = novaclient.shell:main
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
|
all-files = 1
|
||||||
|
warning-is-error = 1
|
||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
all_files = 1
|
|
||||||
|
|
||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
@ -54,6 +55,3 @@ output_file = novaclient/locale/novaclient.pot
|
|||||||
|
|
||||||
[wheel]
|
[wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
||||||
[pbr]
|
|
||||||
warnerrors = true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user