mirror of https://github.com/istio/istio.io.git
Enable blockquote lint check. (#3295)
This commit is contained in:
parent
3762b1eda0
commit
6d57493a14
|
@ -100,16 +100,15 @@ then
|
|||
FAILED=1
|
||||
fi
|
||||
|
||||
# disabled until the Chinese content has been updated
|
||||
#for f in `find ./public -type f -name '*.html'`
|
||||
#do
|
||||
# grep -l -e "blockquote" $f
|
||||
# if [[ "$?" == "0" ]]
|
||||
# then
|
||||
# echo "Ensure markdown content only uses {{< tip >}}, {{< warning >}}, {{< idea >}}, and {{< quote >}} instead of block quotes"
|
||||
# FAILED=1
|
||||
# fi
|
||||
#done
|
||||
for f in `find ./public -type f -name '*.html'`
|
||||
do
|
||||
grep -l -e "blockquote" $f
|
||||
if [[ "$?" == "0" ]]
|
||||
then
|
||||
echo "Ensure markdown content only uses {{< tip >}}, {{< warning >}}, {{< idea >}}, and {{< quote >}} instead of block quotes"
|
||||
FAILED=1
|
||||
fi
|
||||
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/"
|
||||
if [[ "$?" != "0" ]]
|
||||
|
|
Loading…
Reference in New Issue