From 970eb755b697d5fb2e4778944854597c84c968b1 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Sat, 22 Oct 2016 13:17:44 -0400 Subject: [PATCH] chore(scripts): clean old docs before processing This should clean the old docs before processing the new ones, to remove any old directories. --- scripts/docs/prepare.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/docs/prepare.sh b/scripts/docs/prepare.sh index 03a25083f..a10db472a 100755 --- a/scripts/docs/prepare.sh +++ b/scripts/docs/prepare.sh @@ -28,6 +28,9 @@ function run { git reset --hard git pull origin master fi + + git rm -rf docs/v2/native/* + } source $(dirname $0)/../utils.inc.sh