Skip to content

Commit

Permalink
patch: Decrease docs build duration
Browse files Browse the repository at this point in the history
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
  • Loading branch information
vipulgupta2048 committed Nov 22, 2024
1 parent fcab659 commit 7eab597
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR/.."

# Generate Getting Started assets
node ./tools/generate-docs-contracts.js
node ./tools/generate-docs-contracts.js &

# Generate versioned balena-cli docs
node ./tools/versioning.js https://github.com/balena-io/balena-cli/blob/master/docs/balena-cli.md
node ./tools/versioning.js https://github.com/balena-io/balena-cli/blob/master/docs/balena-cli.md &

# Generate versioned balena-sdk docs
node ./tools/versioning.js https://github.com/balena-io/balena-sdk/blob/master/DOCUMENTATION.md
node ./tools/versioning.js https://github.com/balena-io/balena-sdk/blob/master/DOCUMENTATION.md &

# Generate versioned balena-python-sdk docs
node ./tools/versioning.js https://github.com/balena-io/balena-sdk-python/blob/master/DOCUMENTATION.md
node ./tools/versioning.js https://github.com/balena-io/balena-sdk-python/blob/master/DOCUMENTATION.md &

# Generate Masterclasses Dynamically
./tools/build-masterclass.sh
./tools/build-masterclass.sh &

# Generate base images docs
./tools/build-base-images.sh
./tools/build-base-images.sh &

wait

# Convert .jpg, .jpeg, .png images to .webp format
./tools/convert-images-to-webp.sh
Expand Down

0 comments on commit 7eab597

Please sign in to comment.