coder / coder

Provision remote development environments via Terraform
https://coder.com
GNU Affero General Public License v3.0
9.59k stars 859 forks source link

bug: "Beta" label on Presets has a broken link which leads to 404 error page #16998

Closed bartekgatzcoder closed 2 weeks ago

bartekgatzcoder commented 1 month ago

Is there an existing issue for this?

Current Behavior

See the screenshot of the Presets in Beta. The Beta label has a nice hover-over with a link:

Image

Unfortunately the link is broken and leads to this 404 page: https://coder.com/docs/@v2.20.1/about/feature-stages

Relevant Log Output

Expected Behavior

The link should point to https://coder.com/docs/about/feature-stages

Steps to Reproduce

  1. Go to the template which has a presets anabled (on dev.coder.com this can be "dogfood with presets)
  2. Hover over the "beta"sign
  3. Click on the link in the popup and Bob's your uncle

Environment

Additional Context

No response

dannykopping commented 2 weeks ago

Seems like the mainline release version (in this case v2.21.0) is being selected in the absence of a version being defined in the URL.

https://github.com/coder/coder/pull/17199 moved the document, and therefore we don't have a published (or main) version of the docs, so this is 404ing.

This will be resolved once we cut a release. I think we can close this for now?