Skip to content

Commit 8911200

Browse files
committed
address comments
1 parent c50b95e commit 8911200

File tree

5 files changed

+8
-26
lines changed

5 files changed

+8
-26
lines changed

docs/manifest.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"versions": ["main"],
2+
"versions": [
3+
"main"
4+
],
35
"routes": [
46
{
57
"title": "About",
@@ -373,7 +375,7 @@
373375
"icon_path": "./images/icons/scale.svg"
374376
},
375377
{
376-
"title": "Provisioners",
378+
"title": "External Provisioners",
377379
"description": "Run provisioners isolated from the Coder server",
378380
"path": "./admin/provisioners.md",
379381
"icon_path": "./images/icons/queue.svg",

docs/templates/agent-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![agent-metadata](../images/agent-metadata.png)
44

55
You can show live operational metrics to workspace users with agent metadata. It
6-
is the dynamic complement of [Resource Metadata](./resource-metadata.md).
6+
is the dynamic complement of [resource metadata](./resource-metadata.md).
77

88
You specify agent metadata in the
99
[`coder_agent`](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent).

docs/templates/creating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Working with templates
22

3-
You create and edit Coder templates as [Terraform](./concepts.md) configuration
3+
You create and edit Coder templates as [Terraform](./tour.md) configuration
44
files (`.tf`) and any supporting files, like a README or configuration files for
55
other services.
66

docs/templates/resource-metadata.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -105,26 +105,6 @@ icons:
105105
We also have other icons related to the IDEs. You can see more information on
106106
how to use the builtin icons [here](./icons.md).
107107

108-
## Agent Metadata
109-
110-
In cases where you want to present automatically updating, dynamic values. You
111-
can use the `metadata` block in the `coder_agent` resource. For example:
112-
113-
```hcl
114-
resource "coder_agent" "dev" {
115-
os = "linux"
116-
arch = "amd64"
117-
dir = "/workspace"
118-
metadata {
119-
name = "Process Count"
120-
script = "ps aux | wc -l"
121-
interval = 1
122-
timeout = 3
123-
}
124-
}
125-
```
126-
127-
Read more [here](./agent-metadata.md).
128108

129109
## Up next
130110

docs/templates/tour.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ so that a developer can continue their work when they start the workspace again.
276276

277277
We do this in 2 parts:
278278

279-
- Our `docker_volume` resource uses the `lifecycle` block with
279+
- Our `docker_volume` resource uses the `lifecycle` block with the
280280
`ignore_changes = all` argument to prevent accidental deletions.
281281
- To prevent Terraform from destroying persistent Docker volumes in case of a
282282
workspace name change, we use an immutable parameter, like
@@ -406,7 +406,7 @@ The template-tour template has been created! Developers can provision a workspac
406406
coder create --template="template-tour" [workspace name]
407407
```
408408

409-
In your web browser, log in to your Coder dashboard, select **\*Templates**.
409+
In your web browser, log in to your Coder dashboard, select **Templates**.
410410
Your template is ready to use for new workspaces.
411411

412412
![Your new template, ready to use](../images/templates/template-tour.png)

0 commit comments

Comments
 (0)