Update Docs Workflow
Documentation workflow that keeps client-facing and internal Helm docs current for every feature.
The Helm documentation workflow has three parts: update the feature manifest, update the audience-specific docs, and pass CI validation.
Workflow for every feature
- Add or update the feature entry in
apps/helm-docs/features/helm-features.json. - Decide whether the feature affects clients, internal users, or both.
- Add the relevant docs paths to the feature entry.
- Run
bun run docs:helm:scaffoldif a new feature doc page is needed. - Write the docs in the appropriate section:
- Client docs explain user-visible behavior, expectations, statuses, and outputs.
- Internal docs explain operating procedure, review gates, integrations, failure modes, and escalation.
- Run
bun run docs:helm:check. - Run
bun run build:helm-docs.
CI guardrail
The Helm docs workflow checks pull requests that touch Helm feature areas. If a PR changes Helm app code, backend routes, core logic, document templates, jobs, integrations, or Supabase migrations, it must also update the docs content, docs workflow script, or feature manifest.
The guardrail does not prove that the wording is perfect. It ensures the PR includes a documentation decision. Reviewers should still read the docs changes for accuracy.
Feature manifest contract
Each feature entry should include:
| Field | Purpose |
|---|---|
id | Stable feature identifier used in docs markers. |
title | Human-readable feature name. |
status | planned, in_progress, live, or deprecated. |
introduced | Date or release marker. |
audiences | client, internal, or both. |
summary | Short description of the behavior. |
docs.client | Client-facing MDX paths that cover the feature. |
docs.internal | Internal MDX paths that cover the feature. |
Every referenced MDX file must include {/* feature: feature-id */} so reviewers can trace feature coverage from the manifest to the docs page.
Review loop
Use this loop before merging documentation:
- Check accuracy against the current Helm UI and API behavior.
- Check audience separation: client docs should not expose internal-only procedure or secrets.
- Check actionability: internal docs should say what to do, when to do it, and when to escalate.
- Check static build output with
bun run build:helm-docs. - Check feature traceability with
bun run docs:helm:check.