From 0dac205ba513a93348ab5e45f928aafaad81c593 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Fri, 15 Jan 2016 09:33:17 -0800 Subject: [PATCH] Treat sphinx warnings as errors when building release notes Once 12.0.1-cve-bugs-7b04b2e34a3e9a70.yaml is fixed and merged to origin/stable/liberty we can land this change to keep us from breaking release notes again. Change-Id: Ib68d9acf82813900ee434cb67f538d250cf7ee1e Closes-Bug: #1534613 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3dbe78e55666..1f1ca101e37d 100644 --- a/tox.ini +++ b/tox.ini @@ -210,7 +210,7 @@ deps = -r{toxinidir}/test-requirements.txt commands = bandit -c bandit.yaml -r nova -n 5 -ll [testenv:releasenotes] -commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8] # E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126