Make sphinxbuild fail on formatting errors

This change will cause docs build to fail if rst is badly formatted.

Based on nova-specs change: I20e31fb25717388c22c54d5109afc4a56f9ab28d
This commit is contained in:
Matthew Treinish 2014-03-31 14:12:18 -04:00
parent b0c9859844
commit a3e0a464f0
1 changed files with 3 additions and 0 deletions

View File

@ -17,5 +17,8 @@ source-dir = doc/source
build-dir = doc/build
all_files = 1
[pbr]
warnerrors = True
[upload_sphinx]
upload-dir = doc/build/html