Turn on warning-is-error in sphinx build
Turn on the flag to ensure that future warnings in the doc build trigger a build failure. Change-Id: I6f93e229cfd9bc56208750d1ddfe88404f89ab8e
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
==============================================
 | 
			
		||||
===============================================
 | 
			
		||||
:program:`watcher` Command-Line Interface (CLI)
 | 
			
		||||
==============================================
 | 
			
		||||
===============================================
 | 
			
		||||
 | 
			
		||||
.. program:: watcher
 | 
			
		||||
.. highlight:: bash
 | 
			
		||||
@@ -23,9 +23,9 @@ OpenStack infra-optim Service (Watcher).
 | 
			
		||||
 | 
			
		||||
In order to use the CLI, you must provide your OpenStack username, password,
 | 
			
		||||
project (historically called tenant), and auth endpoint. You can use
 | 
			
		||||
configuration options :option:`--os-username`, :option:`--os-password`,
 | 
			
		||||
:option:`--os-tenant-id` (or :option:`--os-tenant-name`),
 | 
			
		||||
and :option:`--os-auth-url`, or set the corresponding
 | 
			
		||||
configuration options :option:``--os-username``, :option:``--os-password``,
 | 
			
		||||
:option:``--os-tenant-id`` (or :option:``--os-tenant-name``),
 | 
			
		||||
and :option:``--os-auth-url``, or set the corresponding
 | 
			
		||||
environment variables::
 | 
			
		||||
 | 
			
		||||
    $ export OS_USERNAME=user
 | 
			
		||||
@@ -36,14 +36,14 @@ environment variables::
 | 
			
		||||
 | 
			
		||||
The command-line tool will attempt to reauthenticate using the provided
 | 
			
		||||
credentials for every request. You can override this behavior by manually
 | 
			
		||||
supplying an auth token using :option:`--watcher-url` and
 | 
			
		||||
:option:`--os-auth-token`, or by setting the corresponding environment variables::
 | 
			
		||||
supplying an auth token using :option:``--watcher-url`` and
 | 
			
		||||
:option:``--os-auth-token``, or by setting the corresponding environment variables::
 | 
			
		||||
 | 
			
		||||
    $ export WATCHER_URL=http://watcher.example.org:9322/
 | 
			
		||||
    $ export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155
 | 
			
		||||
 | 
			
		||||
Since Keystone can return multiple regions in the Service Catalog, you can
 | 
			
		||||
specify the one you want with :option:`--os-region-name` or set the following
 | 
			
		||||
specify the one you want with :option:``--os-region-name`` or set the following
 | 
			
		||||
environment variable. (It defaults to the first in the list returned.)
 | 
			
		||||
::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
.. _contributing:
 | 
			
		||||
 | 
			
		||||
===================================
 | 
			
		||||
====================================
 | 
			
		||||
Contributing to python-watcherclient
 | 
			
		||||
===================================
 | 
			
		||||
====================================
 | 
			
		||||
 | 
			
		||||
If you're interested in contributing to the python-watcherclient project,
 | 
			
		||||
the following will help get you started.
 | 
			
		||||
 
 | 
			
		||||
@@ -24,9 +24,9 @@ OpenStack infra-optim Service (Watcher), by using our additional plugin
 | 
			
		||||
 | 
			
		||||
In order to use the CLI, you must provide your OpenStack username, password,
 | 
			
		||||
project (historically called tenant), and auth endpoint. You can use
 | 
			
		||||
configuration options :option:`--os-username`, :option:`--os-password`,
 | 
			
		||||
:option:`--os-tenant-id` (or :option:`--os-tenant-name`),
 | 
			
		||||
and :option:`--os-auth-url`, or set the corresponding
 | 
			
		||||
configuration options :option:``--os-username``, :option:``--os-password``,
 | 
			
		||||
:option:``--os-tenant-id`` (or :option:``--os-tenant-name``),
 | 
			
		||||
and :option:``--os-auth-url``, or set the corresponding
 | 
			
		||||
environment variables::
 | 
			
		||||
 | 
			
		||||
    $ export OS_USERNAME=user
 | 
			
		||||
@@ -37,14 +37,14 @@ environment variables::
 | 
			
		||||
 | 
			
		||||
The command-line tool will attempt to reauthenticate using the provided
 | 
			
		||||
credentials for every request. You can override this behavior by manually
 | 
			
		||||
supplying an auth token using :option:`--watcher-url` and
 | 
			
		||||
:option:`--os-auth-token`, or by setting the corresponding environment variables::
 | 
			
		||||
supplying an auth token using :option:``--watcher-url`` and
 | 
			
		||||
:option:``--os-auth-token``, or by setting the corresponding environment variables::
 | 
			
		||||
 | 
			
		||||
    export WATCHER_URL=http://watcher.example.org:9322/
 | 
			
		||||
    export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155
 | 
			
		||||
 | 
			
		||||
Since Keystone can return multiple regions in the Service Catalog, you can
 | 
			
		||||
specify the one you want with :option:`--os-region-name` or set the following
 | 
			
		||||
specify the one you want with :option:``--os-region-name`` or set the following
 | 
			
		||||
environment variable. (It defaults to the first in the list returned.)
 | 
			
		||||
::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user