From 36a599ea9a873ce77f1d280538d89f8ff801b4d2 Mon Sep 17 00:00:00 2001 From: Denbeigh Stevens Date: Sun, 18 Sep 2022 19:23:17 -0700 Subject: [PATCH] docs: fix ephemeral resources link (#4101) [This link](https://coder.com/docs/coder-oss/latest/templates#persistent-and-ephemeral-resources) directs to the top of the Templates page, we should use [this link](https://coder.com/docs/coder-oss/latest/templates#persistent-vs-ephemeral-resources) instead. --- docs/workspaces.md | 4 ++-- site/src/components/Tooltips/ResourcesHelpTooltip.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/workspaces.md b/docs/workspaces.md index 2066886025..5839a7e056 100644 --- a/docs/workspaces.md +++ b/docs/workspaces.md @@ -28,8 +28,8 @@ update](./templates.md#manage-templates) available. Resources are often destroyed and re-created when a workspace is restarted, though the exact behavior depends on the template's definitions. For more -information, see [persistent and ephemeral -resources](./templates.md#persistent-and-ephemeral-resources). +information, see [persistent vs. ephemeral +resources](./templates.md#persistent-vs-ephemeral-resources). > ⚠️ To avoid data loss, refer to your template documentation for information on > where to store files, install software, etc., so that they persist. Default diff --git a/site/src/components/Tooltips/ResourcesHelpTooltip.tsx b/site/src/components/Tooltips/ResourcesHelpTooltip.tsx index ae613b6e18..102460d617 100644 --- a/site/src/components/Tooltips/ResourcesHelpTooltip.tsx +++ b/site/src/components/Tooltips/ResourcesHelpTooltip.tsx @@ -10,7 +10,7 @@ export const Language = { resourceTooltipTitle: "What is a resource?", resourceTooltipText: "A resource is an infrastructure object that is created when the workspace is provisioned.", - resourceTooltipLink: "Persistent and ephemeral resources", + resourceTooltipLink: "Persistent vs. ephemeral resources", } export const ResourcesHelpTooltip: React.FC = () => { @@ -19,7 +19,7 @@ export const ResourcesHelpTooltip: React.FC = () => { {Language.resourceTooltipTitle} {Language.resourceTooltipText} - + {Language.resourceTooltipLink}