From 92c67b4174b44c5eeb828719c63d13dd16a785b7 Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 20 Jan 2016 14:42:37 -0600 Subject: [PATCH] chore(search): automatically compile docs search index --- scripts/docs/deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/docs/deploy.sh b/scripts/docs/deploy.sh index 799451576f..31169cc9ec 100755 --- a/scripts/docs/deploy.sh +++ b/scripts/docs/deploy.sh @@ -21,12 +21,17 @@ function run { cd .. VERSION=$(readJsonProp "package.json" "version") + # process new docs gulp docs --doc-version="$VERSION_NAME" # compile sass vars json for ionic-site docs gulp docs.sass-variables cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/ + # generate search index + gulp docs.index + + # CD in to the site dir to commit updated docs cd $SITE_DIR CHANGES=$(git status --porcelain)