← Back to issue list

docs: fix version in Snapcraft 9

View original Github issue

Metadata

Project
snapcraft
Number
#6389
Type
pull request
State
merged
Author
jahn-junior
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #6389 (commit 7b092076d) fixed Snapcraft 9 docs versioning: builds show major.minor, while latest shows dev.

Resolution: closed resolved

Reason: PR #6389 was merged as commit 7b092076d. It updates docs/conf.py to derive the displayed version from Snapcraft's major and minor version numbers, reserving "dev" for the latest branch.

Evaluated by: mr-cal-bot

No scores available.

Issue body

With this change, all local, PR, and branch builds will show the major and minor version in the docs title. The only exception is the 'latest' branch build, which will show 'dev' as the version. This change was brought about by the simplification of our RTD version slugs. You can check the PR branch versioning at https://canonical-snapcraft--6389.com.readthedocs.build/6389/. You can check branch versioning on [the private RTD branch I created](https://ubuntu.com/docs/snapcraft/test/). --- - [X] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/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 PR #6389 (commit 7b092076d) fixed Snapcraft 9 docs versioning: builds show major.minor, while latest shows dev.
stealth/space-bunny-alpha — closed resolved PR #6389 was merged to fix Snapcraft 9 docs versioning: builds show major/minor versions, while the latest branch shows dev.
qwen/qwen3.6-35b-a3b — — Merged documentation fix for Snapcraft 9 that updates the docs title to show major and minor versions for builds, with latest showing dev. Aligns with RTD slug simplification. Approved by two reviewers and merged.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Updates documentation version display to show major/minor versions for builds, with latest showing dev. Approved by 2 reviewers, 1 unresolved comment, minor unrelated CI failures.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 10
Confidence: 85
needs review Updates documentation version display to show major/minor versions for builds, with latest showing dev. Currently approved by one reviewer but has one unresolved comment and several failing CI checks.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Updates documentation configuration to correctly display major and minor versions in Snapcraft 9 titles, aligning with simplified RTD version slugs. Currently pending maintainer review with minor CI lint and store test failures.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Updates documentation title versioning to show major/minor for builds and dev for latest. Currently pending review with one unresolved comment and a failing lint check.

Update history

Date Change
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#6390 docs: fix version in Snapcraft 8 snapcraft merged Merged #6390 corrected Snapcraft 8 RTD title versioning: local, PR, and branch builds show major.minor, while the latest branch shows dev.
86%
#6173 docs: format doc version as major.minor snapcraft merged Merged as ad93035f0: documentation now displays Snapcraft versions as major.minor, with latest Read the Docs builds labeled dev.
84%
#6388 docs: fix version in Snapcraft 7 snapcraft merged Merged PR #6388 hard-coded the release as Snapcraft 7 in the docs, mirroring #6387 because snapcraft.__version__ does not match the docs-only branch.
83%
#6492 docs: add 9.2 release notes snapcraft merged Merged PR adding documentation and release notes for Snapcraft 9.2.
79%
#6387 docs: fix version on 'latest' snapcraft merged Merged PR #6387 via commit a67bdcd1f, fixing docs titles to show major.minor for local, PR, and branch builds while displaying dev for latest.
78%
#1334 docs: fix version string on latest rockcraft merged Merged PR #1334 fixed docs version strings: local, PR, and branch builds show major.minor, while latest shows dev. Commit: b2bc69ce.
77%
#588 docs: fix version in title starbase merged Merged docs fix (commit 23328cd): docs page titles now display major.minor version for local, PR and branch builds; only the 'latest' branch shows 'dev', following the RTD version slug simplification.
75%
#5757 docs: add docs for setting component versions snapcraft merged Merged PR #5757 as commit ffb793a0e, adding a Snapcraft 8.13 component-version release note and linking the component guide to the craftctl how-to.
74%
#6396 docs(release-notes): add 9.1 release notes snapcraft merged Squash-merged PR #6396 (SNAPCRAFT-1361) added Snapcraft 9.1 release notes to the docs: 202 lines across 3 files, approved by 2 reviewers with all CI checks green.
74%
#5679 docs: fix typos in release notes snapcraft merged Merged #5679, correcting two typos in the Snapcraft 8.11 release notes via commit d5ddb5544.
74%