From a2d910d2f50022a4f75e5d87d52b2f9176046ecb Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 5 Jul 2014 00:03:41 +0300 Subject: [PATCH] .travis.runonce.bash: add forgotten sphinx --- .travis.runonce.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.runonce.bash b/.travis.runonce.bash index a9dcb85b7..1339ddfca 100755 --- a/.travis.runonce.bash +++ b/.travis.runonce.bash @@ -10,6 +10,12 @@ branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p') sandbox/check_trans.py plugins/ sandbox/check_trans.py --core +# Check documentation +cd docs +# Add -W to spinx-build when the documentation doesn't error! +sphinx-build -n -b html -d _build/doctrees . _build/html +cd .. + # Do these things only on testing or master. if [[ "$branch" = "master" || "$branch" = "testing" ]]; then # Notify read the docs