From 46f1fa423895fc4b7e9a1c5c73fc99d2dd55b049 Mon Sep 17 00:00:00 2001 From: perry Date: Thu, 10 Dec 2015 10:47:26 -0600 Subject: [PATCH] docs(sass): automatically update sass vars json --- scripts/docs/deploy.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/docs/deploy.sh b/scripts/docs/deploy.sh index 6068d762ee..e6b47bc027 100755 --- a/scripts/docs/deploy.sh +++ b/scripts/docs/deploy.sh @@ -22,6 +22,9 @@ function run { VERSION=$(readJsonProp "package.json" "version") gulp docs --doc-version="$VERSION_NAME" + + sassvars() + cd $SITE_DIR CHANGES=$(git status --porcelain) @@ -40,4 +43,9 @@ 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