From 0a9a8476c70ef4f139c692e5a9b8eca6879fd1d2 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Wed, 18 Jun 2014 19:09:57 -0500 Subject: Doc build fails if warnings If the docstrings are invalid then the commit should fail the gate. Change-Id: Iabe506fa914ac5e742c0c5f4682ed0471c4a64ca --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 4c24228..ee649b8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,6 +36,9 @@ source-dir = doc/source build-dir = doc/build all_files = 1 +[pbr] +warnerrors = True + [upload_sphinx] upload-dir = doc/build/html -- cgit v1.2.1