CODA: unify all CLI command references in one page
Metadata
Current evaluation
Unified Rockcraft CLI command documentation onto one page; the change landed in commit 079ae670 via PR #1379.
Resolution: closed resolved
Reason: The documentation consolidation was completed by PR #1379, recorded in the repository as commit 079ae670 with the message “docs: unify cli command references.” Earlier implementation work in PR #1365 had requested changes, while #1379 is the resolving change.
Evaluated by: mr-cal-bot
No scores available.
Issue body
# Background
Rockcraft is a tool to create rocks – a new generation of secure, stable and OCI-compliant container images, based on Ubuntu.
The Rockcraft CLI command reference is currently generated as a multi-page set of documents. It is more user-friendly experience to amalgamate all the commands under one page, `docs/reference/commands.rst`, grouped into the existing sections:
* Lifecycle commands
* Extension commands
* Other commands
This issue is part of [Canonical's Open Documentation Academy](https://documentation.academy/). It is a duplicate of canonical/open-documentation-academy#376.
# Task
Update the command reference generation so that `docs/reference/commands.rst` becomes the single rendered CLI command reference page.
These are the recommended steps:
1. Review the current generator in `tools/docs/gen_cli_docs.py`.
2. Change the generation strategy so that command documentation is rendered into `docs/reference/commands.rst` through its included group files, instead of generating separate user-facing pages for each command.
3. Preserve the current three-section structure in `docs/reference/commands.rst`:
* Lifecycle commands
* Extension commands
* Other commands
4. Ensure each section contains the full documentation for the commands in that category.
5. Remove the dependency on the hidden generated per-command table of contents if it is no longer required.
Once you’re assigned this issue, please open a pull request directly into [canonical/rockcraft](https://github.com/canonical/rockcraft). In order to contribute, you must sign the [Canonical contributor license agreement](https://canonical.com/legal/contributors).
# Prerequisites
This issue is a good fit for someone comfortable with:
* Python
* reStructuredText (`.rst`)
* documentation generation scripts
Helpful but optional:
* familiarity with Sphinx
* familiarity with Rockcraft CLI command definitions
# What you will learn
By working on this issue, you will learn:
* Generating CLI documentation from command metadata.
* Understanding how `.rst` files are used to compose a rendered documentation page.
* Working with the GitHub pull request workflow.
# Outcome
The final documentation should present all Rockcraft CLI commands on a single rendered reference page: `docs/reference/commands.rst` with the corresponding sections.
# Resources
* [Rockcraft repository](https://github.com/canonical/rockcraft)
* [Command reference page](https://github.com/canonical/rockcraft/blob/main/docs/reference/commands.rst)
* [CLI docs generator](https://github.com/canonical/rockcraft/blob/main/tools/docs/gen_cli_docs.py)
* [Contributing to the Rockcraft documentation](https://documentation.ubuntu.com/rockcraft/latest/contribute-to-this-documentation/)
* [Rockcraft CONTRIBUTING.md](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md) -- helpful for setting up a development environment
# Mentor
The mentor for this issue is @asanvaq. They are the Technical Author for Rockraft and Chisel.
Please feel free to reach out to the mentor on [Matrix](https://matrix.to/#/@sanchovaquera:ubuntu.com) if you have further questions.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Unified Rockcraft CLI command documentation onto one page; the change landed in commit 079ae670 via PR #1379. | |
| stealth/space-bunny-alpha |
Impact:
35
Quick Win:
21
Complexity:
32
Confidence:
95
Actionability:
88
|
keep open | Rockcraft’s CLI reference consolidation is assigned and in progress; implementation PR #1365 has changes requested, with TOC simplification and redirect strategy still pending. | |
| qwen/qwen3.6-35b-a3b |
Impact:
55
Quick Win:
36
Staleness:
10
Complexity:
35
Confidence:
70
Support Request:
0
|
keep open | Documentation task to consolidate Rockcraft CLI command references into a single page. Assigned to @0xzoowa, marked as duplicate of canonical/open-documentation-academy#376. | |
| qwen/qwen3.6-35b-a3b |
Impact:
45
Quick Win:
34
Staleness:
10
Complexity:
25
Confidence:
85
Support Request:
0
|
keep open | CODA task to unify Rockcraft CLI command references into a single page. Assigned to @0xzoowa, awaiting contributor PR. | |
| qwen/qwen3.6-35b-a3b |
Impact:
50
Quick Win:
35
Staleness:
10
Complexity:
30
Confidence:
70
Support Request:
0
|
keep open | Unify CLI command references into a single docs/reference/commands.rst page. Assigned to @0xzoowa, marked as duplicate of canonical/open-documentation-academy#376. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
18
Staleness:
0
Complexity:
40
Confidence:
70
Support Request:
10
|
needs triage | Documentation improvement to consolidate CLI command references into a single page instead of separate per-command files. New issue, untriaged, 0 comments. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
30
Quick Win:
24
Staleness:
10
Complexity:
20
Confidence:
90
Support Request:
0
|
close not a bug | Documentation task to unify CLI command references into a single page. Explicitly marked as a duplicate of canonical/open-documentation-academy#376. |
Update history
| Date | Change |
|---|---|
| closed | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Likely Fixed By:
canonical/rockcraft#1379
(confidence 100%)
Resolving pull request; commit 079ae670 contains the unified CLI command-reference change.
-
Duplicate Of:
open-documentation-academy#376
(confidence 100%)
The issue description explicitly identifies it as a duplicate of the Academy tracking issue.
-
Related To:
canonical/rockcraft#1365
(confidence 95%)
Earlier implementation pull request for this issue, left with requested changes.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1378 docs: unify all CLI command references in one page | rockcraft | closed | Closed unmerged and superseded by canonical/rockcraft#1379, which consolidated CLI references into one grouped commands.rst page and added redirects. | |
| #1379 docs: unify cli command references | rockcraft | merged | Merged PR canonical/rockcraft#1379 consolidates the CLI reference into one commands.rst (lifecycle/extension/other), fixes the doc generator TOC, and adds redirects for the old per-command pages. It replaces #1365. | |
| #318 docs: automate CLI reference documentation | rockcraft | merged | Merged PR #318 in commit ca1b1c20, automating Rockcraft's CLI reference documentation and implementing CRAFT-1779. | |
| #293 Improve reference docs for rockcraft commands | rockcraft | open | CLI reference expansion was delivered by PR #318; follow-up consolidation in #1354 is also closed, leaving no active work tracked here. | |
| #105 docs: add commands | rockcraft | merged | Merged PR #105 as commit 68906471, adding the first draft of rockcraft command documentation and resolving issue #101. | |
| #1365 docs: unify cli command references | rockcraft | closed | Closed unmerged: review requested redirects and Sphinx duplicate-label fixes for the generated per-command pages. The same grouped commands.rst reference was later landed via merged PR canonical/rockcraft#1379. | |
| #289 docs: expand rockcraft.yaml reference | rockcraft | merged | Merged into main via commit 654c9c01, reorganizing reference docs and expanding the rockcraft.yaml configuration reference across seven files. |