mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat: task for regenerating api docs (nx run core-api-docs:build)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
ENV="${ENV:-dev}"
|
||||
DIST_DIR="bin/dist"
|
||||
DIST_DIR="dist"
|
||||
PACKAGE_VERSION="${PACKAGE_VERSION:-0.0.0}"
|
||||
|
||||
archive_dist_dir() {
|
||||
@@ -29,8 +29,8 @@ extract_apiref() {
|
||||
# npm_install
|
||||
npx typedoc --tsconfig tools/scripts/tsconfig.typedoc.json
|
||||
|
||||
mv "dist/apiref" "$APIREF_DIR"
|
||||
archive_dist_dir "api-reference"
|
||||
# mv "dist/apiref" "$APIREF_DIR"
|
||||
# archive_dist_dir "api-reference"
|
||||
}
|
||||
|
||||
if [ "${BASH_SOURCE[0]}" == "$0" ] ; then
|
||||
|
||||
Reference in New Issue
Block a user