Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ deployment-supported collection path — for example, Netlify's platform-native
analytics, or an explicitly operator-configured scraper/aggregator that polls `/api/metrics`
across instances and persists data to a central observability backend.

**Readiness check:** `/api/healthz` reports whether the instance can actually serve
docs content. It verifies that the local docs content tree (`docsContentPath` in
`src/app/docs/page-map.ts`) exists, is a directory, and is non-empty — the dependency
every page render and `/api/search` read from at request time. It returns
`{"status": "ok"}` with HTTP 200 when that check passes, or
`{"status": "unhealthy", "reason": "<cause>"}` with HTTP 503 otherwise (for example a
bad build, a failed volume mount, or an incomplete version-branch checkout). This
guards against an instance returning 200 on its normal routes while actually serving
broken or empty documentation.

## Contributing

PRs welcome. Sign your commits (DCO): `git commit -s`.
Expand Down
Loading