Adding warning-is-error to doc building
warning-is-error should be set for doc building. This change sets the flag and corrects the warnings. Change-Id: Ic7b007219c1351519b0d37567870c7477b239fa6
This commit is contained in:
parent
9a3ea0675f
commit
ede34099c7
@ -22,12 +22,15 @@ sys.path.insert(0, os.path.abspath('../..'))
|
||||
extensions = [
|
||||
'sphinx.ext.autodoc',
|
||||
'sphinxcontrib.pecanwsme.rest',
|
||||
'sphinxcontrib.httpdomain',
|
||||
'wsmeext.sphinxext',
|
||||
'openstackdocstheme',
|
||||
]
|
||||
|
||||
wsme_protocols = ['restjson', 'restxml']
|
||||
|
||||
suppress_warnings = ['app.add_directive']
|
||||
|
||||
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
||||
# text edit cycles.
|
||||
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
||||
|
Loading…
Reference in New Issue
Block a user