浏览代码

Update mfpub for current MarlinDocumentation

Scott Lahteine 4 年前
父节点
当前提交
16787c94af
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      buildroot/share/git/mfpub

+ 3
- 3
buildroot/share/git/mfpub 查看文件

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

正在加载...
取消
保存