diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2015-11-28 04:58:33 +0900 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2015-11-28 06:20:48 +0900 |
commit | a14a5f9a27a03ff9ae2cd393f4c0a219c19b0322 (patch) | |
tree | 9e282d8d4816aa5d2740fcfb692d894d5243c2ed /tox.ini | |
parent | f8d5bbccc2639472b5b713c216afaca7ecc9f612 (diff) | |
download | python-neutronclient-a14a5f9a27a03ff9ae2cd393f4c0a219c19b0322.tar.gz |
Use sphinx-build -W in [docs] target
Even though [pbr] warnerrors = true is specified,
somehow sphinx warnings are not treated as errors.
If we use sphinx-build, -W option detects document warnings
and it leads to better documentation quality.
Fix a warning in the existing document too.
Change-Id: Icbb39686c7a24f0040d998fb14e14c63613da190
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -36,8 +36,7 @@ setenv = commands = python setup.py testr --coverage --testr-args='{posargs}' [testenv:docs] -commands= - python setup.py build_sphinx +commands = sphinx-build -W -b html doc/source doc/build/html [testenv:releasenotes] commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |