This repository builds the PlayCanvas API Reference. It is built using TypeDoc.
Ensure you have Node.js 18+ installed.
After cloning the repo, initialize the submodules:
git submodule init
git submodule update --remote
Then install all NPM dependencies:
npm install
To build the API reference manual locally, run:
npm run build
The manual will be output to the docs
folder.
To view the build manual, run:
npm run serve
Then point your browser at http://localhost:3000
.
To update any of the submodules to latest commit of the main
branch, do:
cd submodules
cd engine (or pcui, pcui-graph, etc)
git pull origin main
cd ..
cd ..
git add submodules
git commit -m "Updated submodule X to latest"
git push
The API reference is automatically deployed to GitHub Pages whenever the main branch is updated.