docs: fix versioning logic
Metadata
Current evaluation
Merged. Fixes branch-based documentation build versioning logic by correcting version name generation. Passed all CI checks and received reviewer approval.
Suggested action: —
No scores available.
Issue body
Fix the version name for branch-based docs builds.
---
- [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 |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Fixes branch-based documentation build versioning logic by correcting version name generation. Passed all CI checks and received reviewer approval. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
0
Complexity:
15
Confidence:
90
|
needs review | Fixes branch-based documentation build version names. Submitted by a maintainer, currently awaiting initial review and CI checks. |
Update history
| Date | Change |
|---|---|
| updated |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6313 docs: fix version numbering | snapcraft | merged | Merged documentation update fixing version numbering by applying patch from #6295. Approved by reviewer, passed CI checks, and successfully merged with 7 lines changed across one file. | |
| #588 docs: fix version in title | starbase | merged | Merged documentation update correcting version display in titles. Builds now show major and minor versions, with latest displaying dev. Approved by two reviewers and passed all CI checks. | |
| #2832 docs: fix version string for 4.x | charmcraft | merged | Merged. Updated documentation to correctly display major and minor version strings for local, PR, and branch builds, reserving 'dev' for the latest branch. Approved by one reviewer with all CI checks passing. | |
| #6295 docs: fix version numbering | snapcraft | merged | Merged documentation fix aligning ReadTheDocs version numbering with the new branch-based release policy. Incorporated reviewer feedback to refactor conditional logic and add comments. Updated version detection for main, hotfix, and PR branches. | |
| #1335 docs: fix version string for 1.x | rockcraft | merged | Merged to a hotfix branch, fixing 1.x documentation version strings to show major.minor locally and in branches, with latest showing dev. Approved by three reviewers and passed all CI checks after clarifying its scope relative to PR 1334. | |
| #586 docs: fix incorrect version in documentation | rockcraft | merged | Merged to resolve #584. Configured ReadTheDocs to fetch tags and updated non-release documentation to display dev instead of misleading release strings. Approved by two reviewers with passing CI. | |
| #1189 docs: format doc version as major.minor | rockcraft | merged | Merged documentation update formatting the version as major.minor. The change passed all CI checks and received reviewer approval. Maintainer @tigarmo merged the PR after verifying prior approvals. | |
| #6173 docs: format doc version as major.minor | snapcraft | merged | Merged a documentation update that formats version strings as major.minor. Approved by two reviewers, passed CI checks, and integrated with a three-line change. | |
| #1146 test: fix doc version tests | craft-application | merged | Merged a fix for documentation version test failures accidentally introduced by PR #1140. Approved by two reviewers, passed all CI checks, and merged with a +6/-5 change across three files. | |
| #2649 docs: format doc version as major.minor | charmcraft | merged | Merged a documentation update that formats version strings as major.minor. Approved by three reviewers and merged despite a failing typecheck CI, modifying a single file. |