← Back to issue list

docs: fix version on 'latest'

View original Github issue

Metadata

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

Current evaluation

Merged PR #6387 via commit a67bdcd1f, fixing docs titles to show major.minor for local, PR, and branch builds while displaying dev for latest.

Resolution: closed resolved

Reason: PR #6387 was approved and merged as commit a67bdcd1f. It sets the documentation release to major.minor except when READTHEDOCS_VERSION is latest, which displays dev.

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--6387.com.readthedocs.build/6387/. 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 #6387 via commit a67bdcd1f, fixing docs titles to show major.minor for local, PR, and branch builds while displaying dev for latest.
stealth/space-bunny-alpha — closed resolved Merged #6387 to display major.minor Snapcraft versions in local, PR, and branch docs titles, while showing “dev” for the “latest” branch.
qwen/qwen3.6-35b-a3b — — Merged PR updates Read the Docs slug handling to fix version display on the 'latest' branch. Local, PR, and branch builds now show major/minor versions, while 'latest' displays 'dev'. Approved by reviewers and passed all CI checks.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 95
needs review Updates documentation versioning logic for ReadTheDocs builds to correctly display major/minor versions, except for the 'latest' branch which shows 'dev'. Approved by 2 reviewers with all CI checks passing.
qwen/qwen3.6-35b-a3b
Staleness: 0
Complexity: 5
Confidence: 90
needs review Fixes documentation versioning to show major/minor versions on all builds except 'latest', which displays 'dev'. Aligns with RTD slug simplification. CI passes, awaiting review.
qwen/qwen3.6-35b-a3b
Staleness: 10
Complexity: 10
Confidence: 90
needs review Updates documentation title to show major/minor version for local and branch builds, aligning with simplified RTD slugs. All CI checks pass. Awaiting maintainer review.

Update history

Date Change
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#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.
92%
#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.
92%
#2830 docs: fix version string for 'latest' charmcraft merged Docs-only PR merged: RTD page titles now show major.minor for local/PR/branch builds, with 'latest' branch showing 'dev', following simplification of RTD version slugs (+2/-6 in one file).
89%
#1335 docs: fix version string for 1.x rockcraft merged Merged into the 1.x hotfix branch so docs show major.minor for local, PR, and branch builds, and dev for latest; this parallels #1334 on main.
83%
#2831 docs: fix version string for 3.x charmcraft merged Merged #2831 to display the 3.x major/minor version in docs titles; the latest branch remains labeled dev after Read the Docs slug simplification.
80%
#6295 docs: fix version numbering snapcraft merged Merged #6295 (commit 8456b4421), fixing docs version numbering to use Read the Docs branch metadata and keep local and RTD builds consistent.
79%
#1189 docs: format doc version as major.minor rockcraft merged Merged into main as fc0e073a, replacing #1185; documentation now renders release versions as major.minor and labels latest RTD builds as dev.
79%
#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.
79%
#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.
79%
#6389 docs: fix version in Snapcraft 9 snapcraft merged Merged PR #6389 (commit 7b092076d) fixed Snapcraft 9 docs versioning: builds show major.minor, while latest shows dev.
78%