Browse Source

Update mfpub for current MarlinDocumentation

Scott Lahteine 4 years ago
parent
commit
16787c94af
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      buildroot/share/git/mfpub

+ 3
- 3
buildroot/share/git/mfpub View File

99
 echo
99
 echo
100
 echo "Generating MarlinDocumentation..."
100
 echo "Generating MarlinDocumentation..."
101
 
101
 
102
-rm -rf _site
102
+rm -rf build
103
 
103
 
104
 # build the site statically and proof it
104
 # build the site statically and proof it
105
 bundle exec jekyll build --profile --trace --no-watch
105
 bundle exec jekyll build --profile --trace --no-watch
106
-bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"
106
+bundle exec htmlproofer ./build --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"
107
 
107
 
108
 # Sync the built site into a temporary folder
108
 # Sync the built site into a temporary folder
109
 TMPFOLDER=$( mktemp -d )
109
 TMPFOLDER=$( mktemp -d )
110
-rsync -av _site/ ${TMPFOLDER}/
110
+rsync -av build/ ${TMPFOLDER}/
111
 
111
 
112
 # Clean out changes and other junk in the branch
112
 # Clean out changes and other junk in the branch
113
 git reset --hard
113
 git reset --hard

Loading…
Cancel
Save