Skip to content

chore(docs): create cli docs and remove old docs and their generation#1349

Merged
chance-coleman merged 11 commits intomainfrom
chance/core-112-cli-product-page
Mar 17, 2026
Merged

chore(docs): create cli docs and remove old docs and their generation#1349
chance-coleman merged 11 commits intomainfrom
chance/core-112-cli-product-page

Conversation

@chance-coleman
Copy link
Copy Markdown
Contributor

Description

New docs structure — Replaced the auto-generated CLI reference docs (docs/reference/CLI/ and docs/reference/bundles/) with a human-authored structure:

  • docs/getting-started/ — installation, overview, quickstart
  • docs/how-to-guides/ — bundle overrides, UDS runner, monitor cluster
  • Updated docs/docs.config.json to use id: "cli" with the new sidebar order

Dead code removal — Deleted the old docs generation/validation pipeline:

  • Removed hack/generate-docs.sh, hack/test-docs.sh, tasks/docs.yaml
  • Removed the gen-cli-docs cobra command from src/cmd/internal.go and its lang constants
  • Removed the Test docs CI step from .github/workflows/test-schema-and-docs.yaml

Dev tooling — Added two uds tasks for working with docs locally:

  • uds run dev-docs — clones the uds-docs branch, builds with local CLI docs via DOCS_OVERRIDES, and previews
  • uds run uds-docs-validate — CI-style validation build against the published uds-docs

Related Issue

Fixes core-112

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@chance-coleman chance-coleman self-assigned this Mar 17, 2026
@chance-coleman chance-coleman requested a review from a team as a code owner March 17, 2026 03:45
Comment thread tasks.yaml Outdated
Copy link
Copy Markdown
Contributor

@mjnagel mjnagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to go through the main content still, but some initial feedback/questions on a few things.

Comment thread docs/index.mdx Outdated
Comment thread hack/generate-docs.sh
Comment thread tasks.yaml Outdated
Comment thread .github/workflows/test-schema-and-docs.yaml
Comment thread tasks.yaml
Comment thread docs/index.mdx Outdated
Comment thread docs/index.mdx
Comment thread docs/getting-started/quickstart.mdx Outdated
Comment thread docs/getting-started/quickstart.mdx Outdated
Comment thread docs/how-to-guides/use-bundle-overrides.mdx Outdated
Comment thread docs/how-to-guides/use-uds-runner.mdx Outdated
Comment thread docs/how-to-guides/use-uds-runner.mdx
Comment thread docs/how-to-guides/use-uds-runner.mdx
Comment thread docs/how-to-guides/monitor-cluster.mdx Outdated
Copy link
Copy Markdown
Contributor

@mjnagel mjnagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall - one other comment might be on the current reference/cli/commands path for all the generated CLI docs. Feels like we could reduce the nesting there at least by a level (reference/commands since we're under the CLI product slug already). Maybe also need to eval UX feedback on there being a nested page (commands) alongside a "bare page" (schema validation).

Comment thread docs/how-to-guides/use-bundle-overrides.mdx Outdated
Comment thread docs/how-to-guides/use-bundle-overrides.mdx Outdated
Comment thread docs/how-to-guides/use-bundle-overrides.mdx Outdated
mjnagel
mjnagel previously approved these changes Mar 17, 2026
Comment thread docs/getting-started/installation.mdx Outdated
@chance-coleman chance-coleman merged commit 86b0048 into main Mar 17, 2026
20 checks passed
@chance-coleman chance-coleman deleted the chance/core-112-cli-product-page branch March 17, 2026 21:54
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.

2 participants