Skip to content

Commit 4f2c265

Browse files
matifaliClaude
and
Claude
committed
fix: update Enterprise trial URL links
Fixes #17627 - This change includes two updates: 1. Changes the 'Read more' link under Enterprise trial to point to /licensing docs 2. Fixes the formatting of docs URLs to use @Version format 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 73b4c71 commit 4f2c265

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site/src/pages/SetupPage/SetupPageView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export const SetupPageView: FC<SetupPageViewProps> = ({
247247
quotas, and more.
248248
</span>
249249
<Link
250-
href="https://coder.com/pricing"
250+
href={docs("/licensing")}
251251
target="_blank"
252252
css={{ marginTop: 4, display: "inline-block", fontSize: 13 }}
253253
>

site/src/utils/docs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function defaultDocsUrl(): string {
1313
if (i >= 0) {
1414
version = version.slice(0, i);
1515
}
16-
return `${docsUrl}/v${version.startsWith('v') ? version.substring(1) : version}`;
16+
return `${docsUrl}/@${version}`;
1717
}
1818

1919
// Add cache to avoid DOM reading all the time

0 commit comments

Comments
 (0)