|
@@ -99,15 +99,15 @@ fi
|
99
|
99
|
echo
|
100
|
100
|
echo "Generating MarlinDocumentation..."
|
101
|
101
|
|
102
|
|
-rm -rf _site
|
|
102
|
+rm -rf build
|
103
|
103
|
|
104
|
104
|
# build the site statically and proof it
|
105
|
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
|
108
|
# Sync the built site into a temporary folder
|
109
|
109
|
TMPFOLDER=$( mktemp -d )
|
110
|
|
-rsync -av _site/ ${TMPFOLDER}/
|
|
110
|
+rsync -av build/ ${TMPFOLDER}/
|
111
|
111
|
|
112
|
112
|
# Clean out changes and other junk in the branch
|
113
|
113
|
git reset --hard
|