Enable warning-is-error in doc build
The command to build docs is updated to match that run in the gate. The previous command is to ensure no warning, but sphinx 1.5 or later has warning-is-error option and there is no need to run a different command in tox docs target. Change-Id: Ieac8afd096a158aff6403326104ced31adcb77e1
This commit is contained in:
parent
d52cb5f1e2
commit
94d7e681ee
|
@ -26,6 +26,7 @@ packages =
|
|||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
||||
warning-is-error = 1
|
||||
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
|
|
Loading…
Reference in New Issue