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

Loading…
Cancel
Save