Просмотр исходного кода

Update mfpub for current MarlinDocumentation

Scott Lahteine 5 лет назад
Родитель
Сommit
16787c94af
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      buildroot/share/git/mfpub

+ 3 - 3
buildroot/share/git/mfpub

@@ -99,15 +99,15 @@ fi
 echo
 echo
 echo "Generating MarlinDocumentation..."
 echo "Generating MarlinDocumentation..."
 
 
-rm -rf _site
+rm -rf build
 
 
 # build the site statically and proof it
 # build the site statically and proof it
 bundle exec jekyll build --profile --trace --no-watch
 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
 # Sync the built site into a temporary folder
 TMPFOLDER=$( mktemp -d )
 TMPFOLDER=$( mktemp -d )
-rsync -av _site/ ${TMPFOLDER}/
+rsync -av build/ ${TMPFOLDER}/
 
 
 # Clean out changes and other junk in the branch
 # Clean out changes and other junk in the branch
 git reset --hard
 git reset --hard