herdr/website
Ogulcan Celik 6b6abf2d56 fix(docs): support older git in snapshot checks 2026-08-03 01:30:51 +03:00
..
agent-detection fix: harden hermes lifecycle detection 2026-07-25 01:05:14 +03:00
assets feat(website): homepage plugin showcase, live star count, faithful claude code mock 2026-07-15 00:30:28 +03:00
css fix: prefer branded homepage search image 2026-07-24 02:13:06 +03:00
scripts fix(docs): support older git in snapshot checks 2026-08-03 01:30:51 +03:00
src fix(docs): publish only released documentation 2026-08-03 01:21:30 +03:00
.gitignore fix(docs): publish only released documentation 2026-08-03 01:21:30 +03:00
README.md fix(docs): publish only released documentation 2026-08-03 01:21:30 +03:00
_headers chore: publish agent detection manifests 2026-06-10 03:43:25 +03:00
_redirects fix: update website sitemap discovery 2026-05-31 21:39:23 +03:00
agent-guide.md chore: update repository links after organization transfer 2026-07-29 23:29:29 +03:00
astro.config.mjs fix(docs): publish only released documentation 2026-08-03 01:21:30 +03:00
bun.lock feat(docs): publish versioned release documentation 2026-07-22 14:59:09 +03:00
index.html fix(docs): publish only released documentation 2026-08-03 01:21:30 +03:00
install.ps1 fix: preserve windows path variables during install 2026-07-29 15:43:38 +03:00
install.sh fix: version latest manifest metadata 2026-05-21 03:14:28 +03:00
latest.json chore: update repository links after organization transfer 2026-07-29 23:29:29 +03:00
package.json fix(docs): publish only released documentation 2026-08-03 01:21:30 +03:00
preview.json chore: update repository links after organization transfer 2026-07-29 23:29:29 +03:00
robots.txt fix: update website sitemap discovery 2026-05-31 21:39:23 +03:00

README.md

herdr website

The homepage is index.html. Astro Starlight renders the documentation.

bun install
bun run dev          # render the unpublished docs/next draft locally
bun run build        # render only published stable and preview snapshots
bun run build:draft  # validate the unpublished draft

The build output is dist/. Configure Cloudflare Pages to use website as the project root and publish dist.

Documentation has three lifecycle states:

  • ../docs/next/website/ is the committed, author-edited draft. Production builds never read it.
  • ../docs/preview/website/ is the latest preview release snapshot, rendered at /docs/preview/.
  • ../docs/versions/<version>/website/ contains immutable stable release snapshots, rendered at /docs/<version>/.

The current stable site temporarily remains tracked under src/content/docs/ because it contains post-v0.7.5 documentation corrections. The next stable release switches docs/versions/manifest.json to snapshot-backed stable docs and removes that legacy copy. From then on, src/content/docs/ is entirely generated and ignored.

Preview CI snapshots the selected commit and updates preview.json in one commit:

node website/scripts/docs-preview.mjs snapshot <commit>
node website/scripts/docs-preview.mjs check

Stable release CI snapshots the exact tag after the GitHub Release succeeds:

node website/scripts/docs-versions.mjs publish <tag>
node website/scripts/docs-versions.mjs check