Skip to content
Snippets Groups Projects
Commit 16787c94 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Update mfpub for current MarlinDocumentation

parent 28d83b42
No related branches found
No related tags found
No related merge requests found
......@@ -99,15 +99,15 @@ fi
echo
echo "Generating MarlinDocumentation..."
rm -rf _site
rm -rf build
# build the site statically and proof it
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 ./build --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"
# Sync the built site into a temporary folder
TMPFOLDER=$( mktemp -d )
rsync -av _site/ ${TMPFOLDER}/
rsync -av build/ ${TMPFOLDER}/
# Clean out changes and other junk in the branch
git reset --hard
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment