Centralised documentation for Source Academy, built with VitePress.
Needs Node 24 (the version in .node-version; see the Node.js version page).
# Install dependencies
yarn
# Start dev server
yarn dev
# Build for production
yarn build
# Preview production build
yarn previewThe site is published at https://docs.sourceacademy.org in three sections, like the about site: developer, educator and learner. It is built from this repository by .github/workflows/deploy.yml on every push to main, into the deployment repository docs.sourceacademy.org, next to the language documentation (/javascript, /python).
The pages are the Markdown files under app/: app/developer/ is /developer/, and so on. For the tool that builds them:
- VitePress Documentation - Official VitePress docs
- Default Theme Config - Theme configuration reference
| Command | Description |
|---|---|
yarn dev |
Start development server |
yarn build |
Build for production |
yarn preview |
Preview production build |
yarn format |
Format code with Prettier |
yarn lint:spell |
Spell check docs with cspell |