craftcms / craftcms/docs

[Bug]: “Latest Version” link doesn't always work

Open
#560 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
JavaScript
Stars
42
Forks
160
Avg merge
3h 9m
Merged PRs (30d)
4

Description

Page URL

https://craftcms.com/docs/2.x/plugins/variables.html

Client

Safari, macOS 11

Description

This 2.x page shows an "unsupported version" banner (correctly)…

Screen Shot 2023-11-09 at 09 32 34

…but when clicking Latest version →, we end up at the 3.x version!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the reported 2.x page URL and inspect how its “Latest version →” link is generated. Compare the link destination with the corresponding latest documentation page, then verify that the link no longer sends users to the wrong version.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.