set warning-is-error for documentation build
Change-Id: I285a95b9a2bd9d0f9f02896b44757c582c6d2c56 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
51cb0c5a84
commit
23f9d74388
|
@ -603,7 +603,7 @@ class Store(glance_store.driver.Store):
|
|||
:param location: `glance_store.location.Location` object, supplied
|
||||
from glance_store.location.get_location_from_uri()
|
||||
:raises: `glance_store.exceptions.NotFound` if image does not exist
|
||||
:rtype int
|
||||
:rtype: int
|
||||
"""
|
||||
|
||||
loc = location.store_location
|
||||
|
|
|
@ -565,7 +565,7 @@ class Store(glance_store.driver.Store):
|
|||
:param location: `glance_store.location.Location` object, supplied
|
||||
from glance_store.location.get_location_from_uri()
|
||||
:raises: `glance_store.exceptions.NotFound` if image does not exist
|
||||
:rtype int
|
||||
:rtype: int
|
||||
"""
|
||||
filepath, filesize = self._resolve_location(location)
|
||||
msg = _("Found image at %s.") % filepath
|
||||
|
|
|
@ -328,7 +328,7 @@ class Store(glance_store.driver.Store):
|
|||
:param location: `glance_store.location.Location` object, supplied
|
||||
from glance_store.location.get_location_from_uri()
|
||||
:raises: `glance_store.exceptions.NotFound` if image does not exist
|
||||
:param rtype: int
|
||||
:rtype: int
|
||||
"""
|
||||
|
||||
loc = location.store_location
|
||||
|
|
|
@ -1099,7 +1099,7 @@ class BaseStore(driver.Store):
|
|||
:param auth_token: auth token
|
||||
:param storage_url: swift storage url
|
||||
:return: swiftclient connection that allows to request container and
|
||||
others
|
||||
others
|
||||
"""
|
||||
# initialize a connection
|
||||
return swiftclient.Connection(
|
||||
|
|
|
@ -68,13 +68,13 @@ cinder =
|
|||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
||||
warning-is-error = 1
|
||||
|
||||
[pbr]
|
||||
autodoc_index_modules = True
|
||||
api_doc_dir = reference/api
|
||||
autodoc_exclude_modules =
|
||||
glance_store.tests.*
|
||||
warnerrors = True
|
||||
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
|
|
Loading…
Reference in New Issue