roark · docs
docs/docs-maintenance.md

Docs maintenance

How to keep Roark documentation aligned with CLI behavior and repository structure.

Last updated

#Update Checklist

When behavior changes, check whether these pages need edits:

#CLI Drift Check

Compare docs against runtime help:

bash
bun run roark.ts --help

The command list and options in CLI reference should match that output.

List Markdown links:

bash
rg -n '\[[^]]+\]\(([^)]+)\)' README.md docs

For local links, confirm the target file exists and anchors still make sense after heading changes.

Every user-facing page should be reachable from at least one of:

Pages that are intentionally obscure should say why in their nearest parent page.

#Page Shape

Prefer this structure:

  1. what the page is for
  2. minimal command or example
  3. concepts or reference details
  4. failure and safety notes when relevant
  5. next steps

#Next Steps