mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(build): output.css needs to exist prior to doc gen
This commit is contained in:
@ -22,6 +22,9 @@ function run {
|
|||||||
cd ..
|
cd ..
|
||||||
VERSION=$(readJsonProp "package.json" "version")
|
VERSION=$(readJsonProp "package.json" "version")
|
||||||
|
|
||||||
|
#compile API Demos
|
||||||
|
gulp demos --production=true
|
||||||
|
|
||||||
# process new docs
|
# process new docs
|
||||||
gulp docs --doc-version="$VERSION_NAME"
|
gulp docs --doc-version="$VERSION_NAME"
|
||||||
|
|
||||||
@ -29,9 +32,6 @@ function run {
|
|||||||
gulp docs.sass-variables
|
gulp docs.sass-variables
|
||||||
cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/
|
cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/
|
||||||
|
|
||||||
#compile API Demos
|
|
||||||
gulp demos --production=true
|
|
||||||
|
|
||||||
# CD in to the site dir to commit updated docs
|
# CD in to the site dir to commit updated docs
|
||||||
cd $SITE_DIR
|
cd $SITE_DIR
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user