Enable blockquote lint check. (#3295)

This commit is contained in:
Martin Taillefer 2019-02-19 09:49:44 -08:00 committed by GitHub
parent 3762b1eda0
commit 6d57493a14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 10 deletions

View File

@ -100,16 +100,15 @@ then
FAILED=1 FAILED=1
fi fi
# disabled until the Chinese content has been updated for f in `find ./public -type f -name '*.html'`
#for f in `find ./public -type f -name '*.html'` do
#do grep -l -e "blockquote" $f
# grep -l -e "blockquote" $f if [[ "$?" == "0" ]]
# if [[ "$?" == "0" ]] then
# then echo "Ensure markdown content only uses {{< tip >}}, {{< warning >}}, {{< idea >}}, and {{< quote >}} instead of block quotes"
# echo "Ensure markdown content only uses {{< tip >}}, {{< warning >}}, {{< idea >}}, and {{< quote >}} instead of block quotes" FAILED=1
# FAILED=1 fi
# fi done
#done
htmlproofer ./public --assume-extension --check-html --disable_external ${DISABLE_EXTERNAL} --check-external-hash --check-opengraph --timeframe 2d --storage-dir .htmlproofer --url-ignore "/localhost/,/github.com/istio/istio.io/edit/master/,/github.com/istio/istio/issues/new/choose/,/groups.google.com/forum/,/www.trulia.com/" htmlproofer ./public --assume-extension --check-html --disable_external ${DISABLE_EXTERNAL} --check-external-hash --check-opengraph --timeframe 2d --storage-dir .htmlproofer --url-ignore "/localhost/,/github.com/istio/istio.io/edit/master/,/github.com/istio/istio/issues/new/choose/,/groups.google.com/forum/,/www.trulia.com/"
if [[ "$?" != "0" ]] if [[ "$?" != "0" ]]