Fixes by adding a bash routine checking for empty HTML files to the script
@@ -41,3 +41,14 @@ rm -rf cms/build/*.pyc
echo
echo Now you may review the generated website in the '"<ODF_TOOLKIT>/docs/" directory'!
+
+# There is a HTML generation bug, sometimes the created files are empty
+emptyFiles=`find ../../docs/ -name "*.html" -empty `
+if test -z "$emptyFiles"
+then
+ echo "No empty generated HTML files were found."
+else
+ echo
+ echo WARNING: Empty generated HTML files found:
+ echo $emptyFiles
+fi
