Skip to content

docs(prep): rewrite examples README around real YAML-sidecar pipeline#102

Merged
cdot65 merged 1 commit into
mainfrom
cdot65/docs-examples-prep-fix
May 25, 2026
Merged

docs(prep): rewrite examples README around real YAML-sidecar pipeline#102
cdot65 merged 1 commit into
mainfrom
cdot65/docs-examples-prep-fix

Conversation

@cdot65

@cdot65 cdot65 commented May 25, 2026

Copy link
Copy Markdown
Owner

The original PREP README (#97) told contributors to edit docs/cli/<area>/*.md by hand. Those files are auto-generated by pnpm docs:gen from the YAML sidecars; hand-edits get overwritten by the next generation and break pnpm docs:check in CI. PR #100 hit this exact problem.

This PR rewrites the README to document the real flow:

  • YAML sidecars at docs/cli/examples/<area>.yaml (keyed by full command path)
  • Burn down .missing-allowlist as examples land
  • Blocked commands keep their allowlist entry with a tracking-issue comment (the renderer has no !!! bug admonition path)
  • pnpm docs:gen regenerates the .md; pnpm docs:check validates drift + missing examples in CI

Unblocks waves 2–5 of epic #83.

Original README told contributors to edit docs/cli/<area>/*.md by hand. Those
files are auto-generated by pnpm docs:gen from YAML sidecars; hand-edits get
clobbered and break pnpm docs:check in CI.

Rewrites the README to document the actual flow (sidecars + allowlist +
docs:gen + docs:check) and explains the only legitimate path for blocked
commands (keep entry on .missing-allowlist with a tracking-issue comment).
@cdot65 cdot65 merged commit 3277fcb into main May 25, 2026
5 checks passed
@cdot65 cdot65 deleted the cdot65/docs-examples-prep-fix branch May 25, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant