]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
admin: do not allow errors or warnings from doc build
authorAlfredo Deza <adeza@redhat.com>
Tue, 15 Aug 2017 11:48:51 +0000 (07:48 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 16 Aug 2017 12:20:00 +0000 (08:20 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
admin/build-doc

index 0caa048767c8ac01c06d0ed4c5c7ca8829969b75..e62c584019633f1065a598554744238eb39a5261 100755 (executable)
@@ -111,8 +111,11 @@ for target in $sphinx_targets; do
             extra_opt="-t man"
             ;;
     esac
-    $vdir/bin/sphinx-build -a -b $builder $extra_opt -d doctrees \
+    # Build with -W so that warnings are treated as errors and this fails
+    $vdir/bin/sphinx-build -W -a -b $builder $extra_opt -d doctrees \
                            $TOPDIR/doc $TOPDIR/build-doc/output/$target
+
+
 done
 
 #