Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 339486a

Browse files
committed
Update links in templates documentation
Resolve incorrect relative paths across various templates documentation files to ensure all links work seamlessly after recent refactoring. - Corrected links to setup and workspace lifecycle docs - Updated GitHub repository links for JFrog templates - Fixed CLI reference paths for coder commands - Adjusted path for template schedule image These changes improve document navigation and maintain consistency.
1 parent 829c750 commit 339486a

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

docs/admin/templates/extending-templates/icons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ come bundled with your Coder deployment.
4444
CODER_EXTERNAL_AUTH_1_ICON=/icon/google.svg
4545
```
4646
47-
- [**Support Links**](../admin/setup/appearance.md#support-links):
47+
- [**Support Links**](../../setup/appearance.md#support-links):
4848
4949
- Use icons for support links to make them recognizable. You can set the
5050
`icon` field for each link in `CODER_SUPPORT_LINKS` array.

docs/admin/templates/extending-templates/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ephemeral resources are destroyed and recreated on restart. All resources are
5050
destroyed when a workspace is deleted.
5151

5252
> You can read more about how resource behavior and workspace state in the
53-
> [workspace lifecycle documentation](../../workspaces/lifecycle.md).
53+
> [workspace lifecycle documentation](../../../user-guides/workspace-lifecycle.md).
5454
5555
Template resources follow the
5656
[behavior of Terraform resources](https://developer.hashicorp.com/terraform/language/resources/behavior#how-terraform-applies-a-configuration)

docs/admin/templates/extending-templates/modules.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,11 @@ Based on the instructions
111111

112112
#### Example template
113113

114-
We have an example template [here](../../examples/jfrog/remote/main.tf) that
115-
uses our [JFrog Docker](../../examples/jfrog/docker/main.tf) template as the
116-
underlying module.
114+
We have an example template
115+
[here](https://github.com/coder/coder/blob/main/examples/jfrog/remote/main.tf)
116+
that uses our
117+
[JFrog Docker](https://github.com/coder/coder/blob/main/examples/jfrog/docker/main.tf)
118+
template as the underlying module.
117119

118120
### Private git repository
119121

docs/admin/templates/managing-templates/dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ inside a folder containing the Terraform source code for a given template.
9191

9292
This will create a new file named `.terraform.lock.hcl` in the current
9393
directory. When you next run
94-
[`coder templates push`](../reference/cli/templates_push.md), the lock file will
95-
be stored alongside with the other template source code.
94+
[`coder templates push`](../../../reference/cli/templates_push.md), the lock
95+
file will be stored alongside with the other template source code.
9696

9797
> Note: Terraform best practices also recommend checking in your
9898
> `.terraform.lock.hcl` into Git or other VCS.

docs/admin/templates/managing-templates/devcontainers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Coder:
2020
## How it works
2121

2222
A Coder admin adds a devcontainer-compatible template to Coder (envbuilder).
23-
Then developers enter their repository URL as a [parameter](./parameters.md)
24-
when they create their workspace.
25-
[Envbuilder](https://github.com/coder/envbuilder) clones the repo and builds a
26-
container from the `devcontainer.json` specified in the repo.
23+
Then developers enter their repository URL as a
24+
[parameter](../extending-templates/parameters.md) when they create their
25+
workspace. [Envbuilder](https://github.com/coder/envbuilder) clones the repo and
26+
builds a container from the `devcontainer.json` specified in the repo.
2727

2828
When using the [Envbuilder Terraform provider](#provider), a previously built
2929
and cached image can be re-used directly, allowing instantaneous dev container

docs/admin/templates/managing-templates/schedule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
You can configure a template to control how workspaces are started and stopped.
44
You can also manage the lifecycle of failed or inactive workspaces.
55

6-
![Schedule screen](../../../images/templates/schedule/template-schedule-settings.png)
6+
![Schedule screen](../../../images/admin/templates/schedule/template-schedule-settings.png)
77

88
## Schedule
99

0 commit comments

Comments
 (0)