Repository navigation
Description
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
docs/CLI_REFERENCE.mdbecomes a short generated index: one row for each command group, with its one-line help and a link todocs/commands/<group>.md. The full text of each command stays only in the group pages.- The README command matrix moves out of the README into the generated reference (the index), and the README links to it.
devops docs --sync-readmeis deleted with no shim (alpha rule); the 115 living files that name it are updated in the same pull request. - The docs drift check (
devops docs check) and the docs-site build (feat(docs): move the docs site to Zensical with a full nav and version #5152) cover the new index. - Coordinate with fix(roadmap): implement runs the commit hooks on docs and archive #4781, which changes the same lines, and build after feat(docs): move the docs site to Zensical with a full nav and version #5152 merges, because both change
src/devops_cli/docs/generator.py.
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.
Activity
dan-petty commentedon Nov 12, 2026
Both items change the docs generator and its output pages, but #4889 adds source attribution lines while this item restructures CLI_REFERENCE into a short index.docs(agents): route the command lookup to the CLI reference (#5163)
docs(openspec): archive the change (#5163)