Skip to content

docs(cli): turn CLI_REFERENCE into an index of the command group pages #5163

Closed

Description

@dan-petty

Problem or Motivation

docs/CLI_REFERENCE.md is one generated page of about 343,000 characters. A reader, a page fetch and the docs site cannot use it well; a web fetch reads only the first 100,000 characters. The 42 generated pages in docs/commands/ already hold each command group. The README also holds a generated command matrix that devops docs --sync-readme writes.

The owner approved the held row of #4880 on 2026-11-12 ("yes, proceed as recommended"), after the docs-site design (#5151) recommended it: "Move the README matrix, turn docs/CLI_REFERENCE.md into an index and delete --sync-readme".

Proposed Solution & Architectural Design

Target Subsystem

src/devops_cli/docs/generator.py, docs/CLI_REFERENCE.md, docs/commands/, README.md, the devops docs command.

Existing Tool Considered

The generator already writes the group pages and has a marker-block function (render_synced_readme). No new tool is needed.

Source: #4880 (held row), #5151.

Activity

  1. added
    source/agent
    type/docs
    scope/cli
    status/new
    value/high
    effort/medium
    on Nov 12, 2026
  2. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    on Nov 12, 2026
  4. added
    status/in-review
    and removed
    status/new
    on Nov 12, 2026
  5. removed
    status/in-review
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/clisource/agenttype/docsvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions