Browse Source

Clear old _site contents on regeneration

Scott Lahteine 5 years ago
parent
commit
fea2363a2e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      buildroot/share/git/mfpub

+ 2
- 0
buildroot/share/git/mfpub View File

97
 echo
97
 echo
98
 echo "Generating MarlinDocumentation..."
98
 echo "Generating MarlinDocumentation..."
99
 
99
 
100
+rm -rf _site
101
+
100
 # build the site statically and proof it
102
 # build the site statically and proof it
101
 bundle exec jekyll build --profile --trace --no-watch
103
 bundle exec jekyll build --profile --trace --no-watch
102
 bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"
104
 bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"

Loading…
Cancel
Save