mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(sass): automatically update sass vars json
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user