|
|
||
|---|---|---|
| .. | ||
| agent-detection | ||
| assets | ||
| css | ||
| scripts | ||
| src | ||
| .gitignore | ||
| README.md | ||
| _headers | ||
| _redirects | ||
| agent-guide.md | ||
| astro.config.mjs | ||
| bun.lock | ||
| index.html | ||
| install.ps1 | ||
| install.sh | ||
| latest.json | ||
| package.json | ||
| preview.json | ||
| robots.txt | ||
README.md
herdr website
The homepage is index.html. The documentation source is in src/content/docs/ and is rendered by Astro Starlight.
bun install
bun run dev
bun run build
The build output is dist/. Configure Cloudflare Pages to use website as the project root and publish dist.
Stable docs live in src/content/docs/. Unreleased docs live in ../docs/next/website/src/content/docs/ and are generated at /docs/preview/. Immutable release snapshots live in ../docs/versions/ and are generated at /docs/<version>/.
Do not promote docs manually before a release. After the GitHub Release succeeds, release CI runs:
node website/scripts/docs-versions.mjs publish <tag>
This snapshots the tagged next docs and promotes the same tagged content to stable before the website deploy. Use node website/scripts/docs-versions.mjs check to validate committed snapshots against their release tags.