mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(CI): new gulp task names for docs
This commit is contained in:
@ -20,7 +20,7 @@ function run {
|
|||||||
VERSION=$(readJsonProp "package.json" "version")
|
VERSION=$(readJsonProp "package.json" "version")
|
||||||
|
|
||||||
#compile API Demos
|
#compile API Demos
|
||||||
./node_modules/.bin/gulp demos --production=true
|
./node_modules/.bin/gulp docs.demos --production=true
|
||||||
|
|
||||||
# if release, copy old version to seperate folder and blow out docs root api
|
# if release, copy old version to seperate folder and blow out docs root api
|
||||||
if $IS_RELEASE; then
|
if $IS_RELEASE; then
|
||||||
@ -34,9 +34,9 @@ function run {
|
|||||||
rm -R $DOCS_DEST/nightly/api
|
rm -R $DOCS_DEST/nightly/api
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./node_modules/.bin/gulp docs --doc-version="$VERSION_NAME" --initial-build true
|
./node_modules/.bin/gulp docs.dgeni --doc-version="$VERSION_NAME" --initial-build true
|
||||||
./node_modules/.bin/gulp docs --doc-version="$VERSION_NAME"
|
./node_modules/.bin/gulp docs.dgeni --doc-version="$VERSION_NAME"
|
||||||
./node_modules/.bin/gulp docs --doc-version="nightly"
|
./node_modules/.bin/gulp docs.dgeni --doc-version="nightly"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
@ -44,12 +44,12 @@ function run {
|
|||||||
rm -R $DOCS_DEST/nightly/api
|
rm -R $DOCS_DEST/nightly/api
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./node_modules/.bin/gulp docs --doc-version="$VERSION_NAME"
|
./node_modules/.bin/gulp docs.dgeni --doc-version="$VERSION_NAME"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# compile sass vars json for ionic-site docs
|
# compile sass vars json for ionic-site docs
|
||||||
./node_modules/.bin/gulp docs.sass-variables
|
./node_modules/.bin/gulp docs.sassVariables
|
||||||
cp tmp/sass.json $DOCS_DEST/theming/overriding-ionic-variables/
|
cp tmp/sass.json $DOCS_DEST/theming/overriding-ionic-variables/
|
||||||
|
|
||||||
# CD in to the site dir to commit updated docs
|
# CD in to the site dir to commit updated docs
|
||||||
|
Reference in New Issue
Block a user