fix(docgen): generate CLI docs in one process (#4474)

Add a bulk help docs writer that emits the root CLI reference and website command pages from a single Cobra walk. Update the shell generator to call that mode, preserve the pure-Go docs binary guard, and refresh historical versioned CLI docs only when release snapshotting requests a specific version.

Agent-Signature: codex-gpt-5.5-medium on behalf of matt wilkie
This commit is contained in:
matt wilkie 2026-06-22 18:25:58 -07:00 • committed by GitHub
commit dfa8ea4813
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
64 changed files with 356 additions and 244 deletions

View file

@ -23,5 +23,5 @@ Examples:
bd diff abc123 def456 # Compare two specific commits
```
bd diff <from-ref> <to-ref>
bd diff <from-ref> <to-ref> [flags]
```