浏览代码

Clear old _site contents on regeneration

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

+ 2
- 0
buildroot/share/git/mfpub 查看文件

@@ -97,6 +97,8 @@ fi
97 97
 echo
98 98
 echo "Generating MarlinDocumentation..."
99 99
 
100
+rm -rf _site
101
+
100 102
 # build the site statically and proof it
101 103
 bundle exec jekyll build --profile --trace --no-watch
102 104
 bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"

正在加载...
取消
保存