Treat doc warnings as errors
This adds a flag to the sphinx-build command to treat warnings as errors. It also cleans out the old doc related entries from setup.cfg since docs are no longer built using that method. Change-Id: I1bacf231605ab791d4b817223ab64be2a4133672
This commit is contained in:
parent
68a64928ab
commit
674d805260
@ -27,14 +27,5 @@ console_scripts =
|
||||
oslo-rootwrap = oslo_rootwrap.cmd:main
|
||||
oslo-rootwrap-daemon = oslo_rootwrap.cmd:daemon
|
||||
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
||||
warning-is-error = 1
|
||||
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user