This website uses Docusaurus, a modern generator of static websites.
yarnAll standard tasks (install, build, test, lint) are also available
via just — see just --list.
yarn startThis command starts a local development server and opens up a browser window. The server shows most changes immediately. You do not have to start it again.
yarn buildThis command writes the static content to the build directory. Any service
for static content can then serve it.
The tunaos-org Cloudflare Worker serves the live site (tunaos.org).
wrangler.jsonc mounts this repo's build/ directory as the Worker's
static assets, and worker/index.js routes requests.
- Production — a push to
maintriggers Cloudflare Workers Builds, which runs the build and publishes the new assets. - Pull requests —
.github/workflows/workers-build.ymlruns the same Docusaurus and Workers build. A deploy failure then appears on the PR before it reaches production. - Content sync —
.github/workflows/sync-org-docs.ymlruns daily (cron0 6 * * *) and opens a PR when org-synced content changes.
To preview the production build locally:
yarn build