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.
This commit is contained in:
Denbeigh Stevens
2022-09-19 02:23:17 +00:00
committed by GitHub
parent 68ee82437e
commit 36a599ea9a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
@@ -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 = () => {
<HelpTooltipTitle>{Language.resourceTooltipTitle}</HelpTooltipTitle>
<HelpTooltipText>{Language.resourceTooltipText}</HelpTooltipText>
<HelpTooltipLinksGroup>
<HelpTooltipLink href="https://coder.com/docs/coder-oss/latest/templates#persistent-and-ephemeral-resources">
<HelpTooltipLink href="https://coder.com/docs/coder-oss/latest/templates#persistent-vs-ephemeral-resources">
{Language.resourceTooltipLink}
</HelpTooltipLink>
</HelpTooltipLinksGroup>