Skip to content

Commit

Permalink
Update mfpub for current MarlinDocumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 28, 2019
1 parent 28d83b4 commit 16787c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildroot/share/git/mfpub
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16787c9

Please sign in to comment.