diff --git a/doc/source/conf.py b/doc/source/conf.py index 01e1d4349..8cb3eab23 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -29,12 +29,15 @@ sys.path.insert(0, os.path.abspath('./')) extensions = [ 'sphinx.ext.autodoc', 'sphinxcontrib.pecanwsme.rest', + 'sphinxcontrib.httpdomain', 'wsmeext.sphinxext', 'openstackdocstheme', ] wsme_protocols = ['restjson'] +suppress_warnings = ['app.add_directive'] + # Add any paths that contain templates here, relative to this directory. # templates_path = ['_templates'] diff --git a/setup.cfg b/setup.cfg index e7c7eb7ba..92a8d0ebc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,6 +28,7 @@ packages = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html