From 315d4f235a509092f7970c70841744d1f4b23a3d Mon Sep 17 00:00:00 2001 From: perry Date: Thu, 10 Dec 2015 10:51:45 -0600 Subject: [PATCH] docs(sass): tweaking sass var json automation --- scripts/docs/deploy.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/docs/deploy.sh b/scripts/docs/deploy.sh index e6b47bc027..799451576f 100755 --- a/scripts/docs/deploy.sh +++ b/scripts/docs/deploy.sh @@ -23,7 +23,9 @@ function run { gulp docs --doc-version="$VERSION_NAME" - sassvars() + # compile sass vars json for ionic-site docs + gulp docs.sass-variables + cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/ cd $SITE_DIR @@ -43,9 +45,4 @@ function run { } -function sassvars { - gulp docs.sass-variables - cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/ -} - source $(dirname $0)/../utils.sh.inc