summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Chan <alex@alexwlchan.net>2016-11-01 22:29:39 +0000
committerAlex Chan <alex@alexwlchan.net>2016-11-02 08:26:58 +0000
commit080d42000fca8b06391615f83ee665e9c3f38513 (patch)
tree4326b0129710114d2d4128e99f8b14a732a1d39a /docs
parent2198b73f0d67080e66fc41bf5c3024650087c644 (diff)
downloadurllib3-080d42000fca8b06391615f83ee665e9c3f38513.tar.gz
Make Travis CI fail if docs have warnings or errors
Now that tox has a job for building the docs, we can add it to the Travis job. Then add the '-W' flag to the Sphinx options, so any warnings are upgraded to errors. Fixes #414.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 135c543e..66e3ee5e 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
-SPHINXOPTS =
+SPHINXOPTS = '-W'
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build