diff options
author | Sean McGinnis <sean.mcginnis@huawei.com> | 2018-01-08 11:41:21 -0600 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@huawei.com> | 2018-01-08 11:47:18 -0600 |
commit | 674d8052600b92ee85405af38f3c65f19a892871 (patch) | |
tree | 897fd8fc8a7aba98d9a086a5eef42abee55dfc17 | |
parent | 68a64928ab46d960dc6ea8c9c48d850b4774891d (diff) | |
download | oslo-rootwrap-674d8052600b92ee85405af38f3c65f19a892871.tar.gz |
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
-rw-r--r-- | setup.cfg | 9 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 1 insertions, 10 deletions
@@ -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 @@ -35,7 +35,7 @@ commands = {posargs} [testenv:docs] deps = -r{toxinidir}/doc/requirements.txt -commands = sphinx-build -b html doc/source doc/build/html +commands = sphinx-build -W -b html doc/source doc/build/html [flake8] show-source = True |