← Back to issue list

CODA: unify all CLI command references in one page

View original Github issue

Metadata

Project
rockcraft
Number
#1354
Type
issue
State
open
Author
asanvaq
Labels
coda
Created
Updated
Closed

Current evaluation

Documentation task to consolidate Rockcraft CLI command references into a single page. Assigned to @0xzoowa, marked as duplicate of canonical/open-documentation-academy#376.

Suggested action: keep open

Reason: The issue is fresh (9 days old), has been assigned to @0xzoowa with a mentor (@asanvaq), and is part of Canonical's Open Documentation Academy program. While marked as a duplicate of canonical/open-documentation-academy#376, it remains actively tracked and assigned, indicating it should stay open for the contributor to work on.

Impact: 55 Quick Win: 35.75 Staleness: 10 Complexity: 35 Confidence: 70 Support Request: 0

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
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 35.75
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: 33.75
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.0
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.0
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.0
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
updated
updated
updated
updated
updated
updated
created

Related work

  • Duplicate Of: canonical/open-documentation-academy#376 (confidence 95%)

    The issue body explicitly states: 'This issue is a duplicate of canonical/open-documentation-academy#376.'

Related issues

Issue Project State Summary Similarity
#293 Improve reference docs for rockcraft commands rockcraft open Request to improve bare-bones Rockcraft command reference docs; addressed by PR #318 which automated CLI reference doc generation via gen_cli_docs.py
73%
#105 docs: add commands rockcraft merged Merged documentation adding rockcraft commands, resolving issue #101. After initial review requested changes, the maintainer coordinated with reviewers and merged the first draft.
70%