docs: improve versioning logic
Metadata
Current evaluation
Merged as 5fb6af27, updating docs versioning so the unversioned/latest documentation is labeled “Charmcraft dev documentation.”
Resolution: closed resolved
Reason: PR #2734 was merged into main as commit 5fb6af27. The change treats the unversioned/latest docs build as development documentation.
Evaluated by: mr-cal-bot
No scores available.
Issue body
No versions but 'latest' should be labeled 'Charmcraft dev documentation'.
---
- [X] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md).
- [X] 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.
- [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as 5fb6af27, updating docs versioning so the unversioned/latest documentation is labeled “Charmcraft dev documentation.” | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #2734 (5fb6af27), improving documentation version selection so documentation without a version is labeled 'Charmcraft dev documentation'. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and passing CI checks. Updated documentation versioning logic to label the latest release as Charmcraft dev documentation. Integrated with minimal changes ahead of the 4.3 tag. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to update documentation versioning logic. The 'latest' version now displays as 'Charmcraft dev documentation' when no other versions exist. Integrated ahead of v4.3 to fix title text before proxy updates. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2832 docs: fix version string for 4.x | charmcraft | merged | Merged #2832 corrected docs title versioning for Charmcraft 4.x: local, PR, and branch builds show major/minor; the latest branch shows dev. | |
| #2299 docs: fix formatting issues | charmcraft | merged | Merged docs formatting fixes for local documentation builds in charmcraft#2299 via commit 5ffb80fe; two files changed (+3/-1). | |
| #2787 docs: fix versioning logic | charmcraft | merged | Merged PR canonical/charmcraft#2787 by maintainer jahn-junior fixes the version name used for branch-based docs builds (1 file, +1/-2); approved by 1 reviewer, all CI checks passed. | |
| #945 docs: update docs with extra ref anchors | craft-parts | merged | Merged PR #945 added documentation reference anchors and a changelog entry for canonical/charmcraft#2050 (commit 5a1727ee). | |
| #2186 docs: fix build errors | charmcraft | merged | Merged as charmcraft/charmcraft#2186 in commit 42f42bd2, fixing the targeted docs build error. Remaining transclusion problems were addressed separately in canonical/craft-parts#1021. | |
| #2967 docs: Charmcraft 4.5.0 release notes | charmcraft | merged | Merged PR adding Charmcraft 4.5.0 release notes to the documentation. | |
| #2306 docs: release notes for Charmcraft 4.0 | charmcraft | merged | Merged #2306 via commit b04fae05, adding Charmcraft 4.0 release notes across four documentation files. | |
| #2154 docs: replace occurrences of "charmcraft.yaml" and "recipe" | charmcraft | merged | Merged PR #2154 (a6ccb3d4) updated 23 documentation files to use “project” or “project file” instead of “charmcraft.yaml” and “recipe.” | |
| #2010 docs: add, refactor, and reformat discourse docs feat. charmcraft | charmcraft | merged | Merged PR #2010 as commit a1a3d4b1, migrating Charmcraft content to RTD-ready docs, reformatting it, and separating Ops-related material. | |
| #586 docs: fix incorrect version in documentation | rockcraft | merged | Merged in #586 via commits 0ffc2395 and d5da1878, fixing #584 by fetching tags for Read the Docs and labeling unreleased docs as dev. |