Add the quiet switch to SPHINXOPTS
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 14 Nov 2019 17:16:10 +0000 (17:16 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 14 Nov 2019 17:16:10 +0000 (17:16 +0000)
We are regularly exceeding the 4MB log file for gitlab public runners,
by switching the SPHINX build process to 'quite' we will hopefully only
spot warnings and errors in the logs and catch the whole build rather
than just the first 4MB of log.

Makefile

index 0a4a36a..8c1f5a5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ html:
 all_html:
        for l in $$(echo "en `ls locales`");                                   \
        do                                                                     \
-               make -e SPHINXOPTS="-D language='$$l' -d build/doctrees" BUILDDIR="build/$$l" html ; \
+               make -e SPHINXOPTS="-q -D language='$$l' -d build/doctrees" BUILDDIR="build/$$l" html ; \
        done;
        @echo "Build finished. The HTML pages are in $(BUILDDIR)/LANG/html."
 
@@ -68,7 +68,7 @@ all_html:
 all_epub:
        for l in $$(echo "en `ls locales`");                                   \
        do                                                                     \
-               make -e SPHINXOPTS="-D language='$$l' -d build/doctrees" BUILDDIR="build/$$l" epub ; \
+               make -e SPHINXOPTS="-q -D language='$$l' -d build/doctrees" BUILDDIR="build/$$l" epub ; \
        done;
        @echo "Build finished. The epub files are in $(BUILDDIR)/LANG/epub."