Merge "Remove pbr warnerrors in favor of sphinx check"

This commit is contained in:
Jenkins
2017-06-12 23:05:55 +00:00
committed by Gerrit Code Review
3 changed files with 8 additions and 2 deletions

View File

@@ -56,6 +56,12 @@ add_module_names = True
# The name of the Pygments (syntax highlighting) style to use. # The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx' pygments_style = 'sphinx'
# Ignore the following warning: WARNING: while setting up extension
# wsmeext.sphinxext: directive 'autoattribute' is already registered,
# it will be overridden.
suppress_warnings = ['app.add_directive']
# -- Options for HTML output -------------------------------------------------- # -- Options for HTML output --------------------------------------------------
# The theme to use for HTML and HTML Help pages. Major themes that come with # The theme to use for HTML and HTML Help pages. Major themes that come with

View File

@@ -775,7 +775,7 @@ class GenericHardwareManager(HardwareManager):
:param node: Ironic node object :param node: Ironic node object
:param ports: list of Ironic port objects :param ports: list of Ironic port objects
:raises BlockDeviceEraseError when there's an error erasing the :raises BlockDeviceEraseError: when there's an error erasing the
block device block device
""" """
block_devices = self.list_block_devices() block_devices = self.list_block_devices()

View File

@@ -44,12 +44,12 @@ ironic_python_agent.inspector.collectors =
[pbr] [pbr]
autodoc_index_modules = True autodoc_index_modules = True
warnerrors = True
[build_sphinx] [build_sphinx]
all_files = 1 all_files = 1
build-dir = doc/build build-dir = doc/build
source-dir = doc/source source-dir = doc/source
warning-is-error = 1
[egg_info] [egg_info]
tag_build = tag_build =