This website is built using Docusaurus, a modern static website generator.
- Node.js >= 24.0
- npm (comes with Node.js)
- make (optional, for convenience commands)
make install # Install dependencies
make start # Start development serverOr using npm directly:
npm install
npm start| Make Command | npm Equivalent | Description |
|---|---|---|
make install |
npm install |
Install dependencies |
make start |
npm start |
Start development server |
make dev |
npm start |
Alias for start |
make build |
npm run build |
Build static site |
make serve |
npm run serve |
Serve built site locally |
make clean |
npm run clear |
Clear Docusaurus cache |
make typecheck |
npm run typecheck |
Run TypeScript type checking |
make lint |
npm run markdownlint |
Run markdown linting |
make test |
npm test |
Run tests |
make check |
npm run check |
Run all checks (typecheck, lint, build) |
Run make help to see all available targets.
Install the required packages:
make installInstall pre-commit hooks (optional):
# First install pre-commit tool: https://pre-commit.com/
pre-commit installStart the local development server:
make startThis command starts a local development server and opens a browser window. Most changes are reflected live without having to restart the server.
Run TypeScript type checking:
make typecheckRun markdown linting:
make lintRun all checks and build:
make checkRun tests:
make testBuild the static site:
make buildThis generates static content into the build directory.
Serve the build locally:
make serveSee DOCS_GUIDELINES.md for comprehensive guidelines on adding documentation articles.
See BLOG_GUIDELINES.md for guidelines on adding blog posts.
The build generates individual markdown files for each doc page alongside the
HTML output, using docusaurus-plugin-llms. These are discoverable via
/llms.txt following the llmstxt.org standard.
We patch docusaurus-plugin-llms@0.3.0 via patch-package to fix two bugs:
preserveDirectoryStructureoption was not passed to the plugin context, so setting it tofalsehad no effect.siteUrlconstruction produced a double slash (//) whenbaseUrlis/.
The patch is at patches/docusaurus-plugin-llms+0.3.0.patch and is applied
automatically on npm install via the postinstall script. Remove this patch
once these fixes land upstream.
Deployment is handled automatically via GitHub Actions when you push to the
main branch. See .github/workflows/deploy.yml for details.