fix: trim documentation urls to major number
Metadata
Current evaluation
Merged. Documentation URLs are now trimmed to the major version number by default, aligning with the updated documentation version policy. Applications can opt out. Resolves issue #6300. Approved by two reviewers and merged.
Suggested action: —
No scores available.
Issue body
When a documentation URL such as ubuntu.com/docs/project/{version} is passed, with app version `1.3.7`, trim to the major number only by default. This accords with the updated documentation version policy.
This would be the default behaviour. Apps still using the full version number can opt not to trim.
Fixes canonical/snapcraft/issues/6300.
---
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Documentation URLs are now trimmed to the major version number by default, aligning with the updated documentation version policy. Applications can opt out. Resolves issue #6300. Approved by two reviewers and merged. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes trim documentation URLs to the major version number by default, aligning with the updated documentation version policy. Applications can opt out. Resolves issue #6300 after passing CI and receiving two approvals. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
10
Complexity:
15
Confidence:
85
|
needs review | Trims documentation URLs to the major version number by default to align with updated policy. Currently approved by two reviewers but has one unresolved comment and several failing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
15
Confidence:
85
|
needs review | Trims documentation URLs to the major version number by default to align with updated documentation policies. Allows opting out for full version numbers. Fixes issue #6300. Currently unreviewed with no comments or CI status indicated. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. |