Skip to main content

🚀 Quick Start — TypeDoc API Documentation

Looking for the project quick start? See the README installation section or First Steps tutorial.

This page covers generating TypeDoc API docs from the root package scripts.


⚡ Super Quick Start​

# From repository root
npm install
npm run docs:build
npm run docs:serve

Then open: http://localhost:8080


🎯 What Each Command Does​

CommandPurpose
npm installInstalls dependencies, including TypeDoc
npm run docs:buildGenerates API docs into docs/api/
npm run docs:serveServes docs/api/ with Python HTTP server on port 8080
npm run docs:cleanRemoves generated API docs

🆘 Troubleshooting​

typedoc: command not found​

Run dependency install first:

npm install

Port 8080 already in use​

Use another port:

cd docs/api
python3 -m http.server 8081

TypeDoc warnings during build​

  • @category / @description warnings are resolved by the current TypeDoc config.
  • If warnings reappear, verify typedoc.json is up to date and rebuild.