This website is built using Docusaurus, a modern static website generator.
This project uses Bun as the package manager. Please ensure you have Bun installed:
curl -fsSL https://bun.sh/install | bashbun installbun run startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
bun run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
The documentation is automatically deployed to GitHub Pages when changes are pushed to the main branch. The deployment is handled by the GitHub Actions workflow in .github/workflows/docs.yml.
For manual deployment:
Using SSH:
USE_SSH=true bun run deployNot using SSH:
GIT_USER=<Your GitHub username> bun run deployIf you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
- API documentation goes in
docs/api/ - Guides go in
docs/guides/ - Blog posts go in
blog/with the formatYYYY-MM-DD-title.md
- Do NOT use npm or yarn - This project uses Bun exclusively
- Make sure to run
bun installafter pulling changes - The
package-lock.jsonfile should not exist (we usebun.lockinstead)