Clear old _site contents on regeneration

This commit is contained in:
Scott Lahteine 2018-11-12 19:51:57 -06:00
parent be6271767f
commit fea2363a2e

View File

@ -97,6 +97,8 @@ fi
echo
echo "Generating MarlinDocumentation..."
rm -rf _site
# build the site statically and proof it
bundle exec jekyll build --profile --trace --no-watch
bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"