build(docs): make `clean` target scrub `docs/reference/gen`
Metadata
Current evaluation
Merged PR #477 as commit 334adfe, updating the clean target to remove docs/reference/gen; upstreamed from canonical/craft-parts#1423.
Resolution: closed resolved
Reason: The approved PR passed all checks and was merged as commit 334adfe. Its clean rule now deletes docs/reference/gen along with other generated artifacts.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This is an upstreaming of https://github.com/canonical/craft-parts/pull/1423
<!-- Describe your changes -->
---
- [ ] I've followed the [contribution guidelines](https://github.com/canonical/starbase/blob/main/CONTRIBUTING.md).
- [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #477 as commit 334adfe, updating the clean target to remove docs/reference/gen; upstreamed from canonical/craft-parts#1423. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #477, updating the docs clean target to remove generated docs/reference/gen; it ports canonical/craft-parts#1423. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged upstreamed changes to update the build clean target, ensuring it removes the generated docs/reference/gen directory. Approved by two reviewers and passed all CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged an upstreamed change updating the clean build target to remove the docs/reference/gen directory. Approved by maintainers and integrated to standardize documentation cleanup across repositories. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#1423
(confidence 100%)
The PR description identifies this upstream pull request as the source of the change.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1423 build(docs): make `clean` target scrub `reference/gen` | craft-parts | merged | Merged in craft-parts#1423 (commit 46efbde1), making clean explicitly delete docs/reference/gen; the fix shipped in 2.28.0. | |
| #566 build(docs): override docs-clean target | starbase | merged | Merged in canonical/starbase#566 as commit e56cce3, replacing docs-clean with a safe cleanup that removes generated documentation assets without deleting the virtual environment. | |
| #594 build: run docs-clean as part of clean target | starbase | merged | Merged PR canonical/starbase#594 makes the top-level `clean` target depend on the docs `docs-clean` target, so stale docs/_dev/styles/ no longer cause CI-only `make lint-docs` failures. One-line Makefile change, approved and merged. |