Skip to content

Commit 89ff487

Browse files
authored
chore(docs): fix broken or missing links (coder#15085)
Fixes a number of TODOs and broken links.
1 parent 42e2a41 commit 89ff487

File tree

9 files changed

+31
-21
lines changed

9 files changed

+31
-21
lines changed

.github/workflows/mlc_config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
{
1313
"pattern": "docs.github.com"
1414
},
15+
{
16+
"pattern": "github.com/<your_github_handle>"
17+
},
18+
{
19+
"pattern": "imgur.com"
20+
},
1521
{
1622
"pattern": "support.google.com"
1723
},

docs/admin/monitoring/notifications/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ can only be delivered to one method, and this method is configured globally with
7777
(default: `smtp`).
7878

7979
Enterprise customers can configure which method to use for each of the supported
80-
[Events](#events); see the [Preferences](#preferences) section below for more
80+
[Events](#workspace-events); see the
81+
[Preferences](#delivery-preferences-enterprise-premium) section below for more
8182
details.
8283

8384
## SMTP (Email)

docs/admin/provisioners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ coder provisioner start \
9494
--tag environment=kubernetes
9595
```
9696

97-
Note: Any user can start [user-scoped provisioners](#User-scoped-Provisioners),
97+
Note: Any user can start [user-scoped provisioners](#user-scoped-provisioners),
9898
but this will also require a template on your deployment with the corresponding
9999
tags.
100100

docs/admin/templates/creating-templates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Give your template a name, description, and icon and press `Create template`.
2727

2828
> **⚠️ Note**: If template creation fails, Coder is likely not authorized to
2929
> deploy infrastructure in the given location. Learn how to configure
30-
> [provisioner authentication](#TODO).
30+
> [provisioner authentication](./extending-templates/provider-authentication.md).
3131
3232
### CLI
3333

3434
You can the [Coder CLI](../../install/cli.md) to manage templates for Coder.
35-
After [logging in](#TODO) to your deployment, create a folder to store your
36-
templates:
35+
After [logging in](../../reference/cli/login.md) to your deployment, create a
36+
folder to store your templates:
3737

3838
```sh
3939
# This snippet applies to macOS and Linux only

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ repository on
5757
[GitHub](https://github.com/coder/coder/tree/main/site/static/icon).
5858
5959
You can also view the entire list, with search and previews, by navigating to
60-
/icons on your Coder deployment. E.g. [https://coder.example.com/icons](#). This
61-
can be particularly useful in airgapped deployments.
60+
`/icons` on your Coder deployment (for example,
61+
`https://coder.example.com/icons`). This can be particularly useful in airgapped
62+
deployments.
6263
6364
![The icon gallery](../../../images/icons-gallery.png)
6465

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Then developers enter their repository URL as a
2525
workspace. [Envbuilder](https://github.com/coder/envbuilder) clones the repo and
2626
builds a container from the `devcontainer.json` specified in the repo.
2727

28-
When using the [Envbuilder Terraform provider](#provider), a previously built
29-
and cached image can be re-used directly, allowing instantaneous dev container
30-
starts.
28+
When using the [Envbuilder Terraform provider](#envbuilder-terraform-provider),
29+
a previously built and cached image can be re-used directly, allowing
30+
instantaneous dev container starts.
3131

3232
Developers can edit the `devcontainer.json` in their workspace to rebuild to
3333
iterate on their development environments.

docs/admin/templates/troubleshooting.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ terminating processes started by it or terminating the startup script itself (on
5858
Linux, `ps` and `kill` are useful tools).
5959

6060
For tips on how to write a startup script that doesn't run forever, see the
61-
[`startup_script`](#startup_script) section. For more ways to override the
62-
startup script behavior, see the
63-
[`startup_script_behavior`](#startup_script_behavior) section.
61+
[`startup_script`](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script)
62+
section. For more ways to override the startup script behavior, see the
63+
[`startup_script_behavior`](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script_behavior)
64+
section.
6465

6566
Template authors can also set the
6667
[startup script behavior](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script_behavior)
@@ -75,9 +76,9 @@ be aware that programs, files, or settings may be missing from your workspace.
7576
This can happen if the
7677
[startup script](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script)
7778
is still running or has exited with a non-zero status (see
78-
[startup script error](#startup-script-error)). No action is necessary, but you
79-
may want to
80-
[start a new shell session](#session-was-started-before-the-startup-script-finished-web-terminal)
79+
[startup script error](#startup-script-exited-with-an-error)). No action is
80+
necessary, but you may want to
81+
[start a new shell session](#session-was-started-before-the-startup-script-finished)
8182
after it has completed or check the
8283
[startup script logs](#debugging-the-startup-script) to see if there are any
8384
issues.

docs/admin/users/sessions-tokens.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Users can generate tokens to make API requests on behalf of themselves.
44

55
## Short-Lived Tokens (Sessions)
66

7-
The [Coder CLI](../../install/cli.md) and [Backstage Plugin](#TODO) use
8-
short-lived token to authenticate. To generate a short-lived session token on
9-
behalf of your account, visit the following URL:
10-
`https://coder.example.com/cli-auth`
7+
The [Coder CLI](../../install/cli.md) and
8+
[Backstage Plugin](https://github.com/coder/backstage-plugins) use short-lived
9+
token to authenticate. To generate a short-lived session token on behalf of your
10+
account, visit the following URL: `https://coder.example.com/cli-auth`
1111

1212
### Session Durations
1313

docs/user-guides/workspace-access/vscode.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
You can develop in your Coder workspace remotely with
44
[VSCode](https://code.visualstudio.com/download). We support connecting with the
5-
desktop client and VSCode in the browser with [code-server](#code-server).
5+
desktop client and VSCode in the browser with
6+
[code-server](https://github.com/coder/code-server).
67

78
## VSCode Desktop
89

0 commit comments

Comments
 (0)