From 16787c94afef2fb6acc4da2dce06de85990402ec Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 28 Dec 2019 17:45:10 -0600 Subject: [PATCH] Update mfpub for current MarlinDocumentation --- buildroot/share/git/mfpub | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildroot/share/git/mfpub b/buildroot/share/git/mfpub index f77b923656..0f4e18d8b5 100755 --- a/buildroot/share/git/mfpub +++ b/buildroot/share/git/mfpub @@ -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