From fea4560a6481f2228db75957712b2865944f72b1 Mon Sep 17 00:00:00 2001 From: david-fraley <67079030+david-fraley@users.noreply.github.com> Date: Thu, 26 Mar 2026 12:10:47 -0500 Subject: [PATCH] fix(site): use docs() helper for hardcoded documentation URLs (#23606) --- site/src/components/Paywall/PaywallAIGovernance.tsx | 2 +- site/src/modules/resources/AppLink/AppLink.tsx | 3 ++- site/src/pages/AIBridgePage/AIBridgeSessionsLayout.tsx | 3 ++- site/src/pages/AgentsPage/components/AgentCreateForm.tsx | 3 ++- .../AppearanceSettingsPage/AppearanceSettingsPageView.tsx | 3 ++- .../DeploymentSettingsPage/OverviewPage/OverviewPageView.tsx | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/site/src/components/Paywall/PaywallAIGovernance.tsx b/site/src/components/Paywall/PaywallAIGovernance.tsx index 5984e8b522..107b6ee44a 100644 --- a/site/src/components/Paywall/PaywallAIGovernance.tsx +++ b/site/src/components/Paywall/PaywallAIGovernance.tsx @@ -44,7 +44,7 @@ const PaywallAIGovernance = () => { Visit{" "} = ({ <> Port forwarding will not work because hostname is too long, see the{" "} diff --git a/site/src/pages/AIBridgePage/AIBridgeSessionsLayout.tsx b/site/src/pages/AIBridgePage/AIBridgeSessionsLayout.tsx index 9d4b44c6cd..f74f42b7b5 100644 --- a/site/src/pages/AIBridgePage/AIBridgeSessionsLayout.tsx +++ b/site/src/pages/AIBridgePage/AIBridgeSessionsLayout.tsx @@ -7,6 +7,7 @@ import { } from "components/PageHeader/PageHeader"; import type { FC, PropsWithChildren } from "react"; import { Outlet } from "react-router"; +import { docs } from "utils/docs"; const AIBridgeSessionsLayout: FC = () => { return ( @@ -20,7 +21,7 @@ const AIBridgeSessionsLayout: FC = () => { Centralized auditing for LLM usage across your organization.{" "} diff --git a/site/src/pages/AgentsPage/components/AgentCreateForm.tsx b/site/src/pages/AgentsPage/components/AgentCreateForm.tsx index 1736de8942..a641bd9662 100644 --- a/site/src/pages/AgentsPage/components/AgentCreateForm.tsx +++ b/site/src/pages/AgentsPage/components/AgentCreateForm.tsx @@ -2,6 +2,7 @@ import { type FC, useEffect, useRef, useState } from "react"; import { useQuery } from "react-query"; import { Link } from "react-router"; import { toast } from "sonner"; +import { docs } from "utils/docs"; import { isApiError } from "#/api/errors"; import { workspaces } from "#/api/queries/workspaces"; import type * as TypesGen from "#/api/typesGenerated"; @@ -338,7 +339,7 @@ export const AgentCreateForm: FC = ({

Coder Agents is available via{" "} diff --git a/site/src/pages/DeploymentSettingsPage/OverviewPage/OverviewPageView.tsx b/site/src/pages/DeploymentSettingsPage/OverviewPage/OverviewPageView.tsx index 18c12474eb..a19707cc85 100644 --- a/site/src/pages/DeploymentSettingsPage/OverviewPage/OverviewPageView.tsx +++ b/site/src/pages/DeploymentSettingsPage/OverviewPage/OverviewPageView.tsx @@ -62,7 +62,7 @@ export const OverviewPageView: FC = ({ It is recommended that you remove these experiments from your configuration as they have no effect. See{" "}