Clear old _site contents on regeneration
This commit is contained in:
		| @@ -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/:/" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user