Skip to content

Add generated command reference docs#294

Merged
AndreyVMarkelov merged 1 commit into
masterfrom
docs/generated-command-reference
Jun 26, 2026
Merged

Add generated command reference docs#294
AndreyVMarkelov merged 1 commit into
masterfrom
docs/generated-command-reference

Conversation

@AndreyVMarkelov

@AndreyVMarkelov AndreyVMarkelov commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds tools/gen-docs using cobra/doc to generate per-command markdown pages under docs/commands/ (37 files covering all commands and subcommands).
  • Adds a CI job that regenerates docs and fails if checked-in files drift from source.
  • Links the generated reference from the main README.
  • Fixes JSON schema $id URLs to use raw.githubusercontent.com for direct fetch.

Test plan

  • go run ./tools/gen-docs succeeds and produces identical output
  • go build ./... passes with new dependencies
  • CI docs job passes (regenerate + git diff --exit-code)
  • Verify docs/commands/ renders correctly on GitHub

Add tools/gen-docs that uses cobra/doc to generate per-command markdown
pages under docs/commands/. A new CI job regenerates the docs and fails
if the checked-in files drift from the source. Also fix JSON schema $id
URLs to point to raw.githubusercontent.com for direct fetch.
@AndreyVMarkelov AndreyVMarkelov merged commit 6b49819 into master Jun 26, 2026
8 checks passed
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