Clear old _site contents on regeneration
This commit is contained in:
parent
be6271767f
commit
fea2363a2e
|
@ -97,6 +97,8 @@ fi
|
||||||
echo
|
echo
|
||||||
echo "Generating MarlinDocumentation..."
|
echo "Generating MarlinDocumentation..."
|
||||||
|
|
||||||
|
rm -rf _site
|
||||||
|
|
||||||
# build the site statically and proof it
|
# build the site statically and proof it
|
||||||
bundle exec jekyll build --profile --trace --no-watch
|
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/:/"
|
bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"
|
||||||
|
|
Loading…
Reference in a new issue