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

Clear old _site contents on regeneration

Scott Lahteine 5 лет назад
Родитель
Сommit
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/:/"

Загрузка…
Отмена
Сохранить