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
commit ae8a5fc731
3 changed files with 8 additions and 2 deletions
doc/source
ironic_python_agent
setup.cfg

@ -56,6 +56,12 @@ add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
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 --------------------------------------------------
# The theme to use for HTML and HTML Help pages. Major themes that come with

@ -775,7 +775,7 @@ class GenericHardwareManager(HardwareManager):
:param node: Ironic node object
: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_devices = self.list_block_devices()

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