From ae59cc63b68259f5cdbd20741771012521d80e1e Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Fri, 13 Oct 2017 13:52:36 +0200
Subject: [PATCH] Don't build documentation on STABLE nightlies (partially
 addresses comments at bob/bob.io.image./bin/fab -f staging web)

---
 gitlab/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitlab/build.sh b/gitlab/build.sh
index 3af02af..398ab3c 100755
--- a/gitlab/build.sh
+++ b/gitlab/build.sh
@@ -19,7 +19,7 @@ if [ -x ./bin/bob_dbmanage.py ]; then
   run_cmd ./bin/bob_dbmanage.py all download --missing;
 fi
 
-if [ -d ./doc ]; then
+if [ -d ./doc ] && [ "${STABLE}" != "true" ]; then
   run_cmd ./bin/sphinx-build -W doc sphinx
 fi
 
-- 
GitLab