Skip to content

Commit c9bf2a9

Browse files
authored
ci: verify that all docs links work (#4710)
1 parent 05f38d6 commit c9bf2a9

File tree

9 files changed

+34
-11
lines changed

9 files changed

+34
-11
lines changed

.github/workflows/coder.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -674,3 +674,10 @@ jobs:
674674
buildScriptName: "storybook:build"
675675
projectToken: 695c25b6cb65
676676
workingDir: "./site"
677+
markdown-link-check:
678+
runs-on: ubuntu-latest
679+
steps:
680+
- uses: actions/checkout@master
681+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
682+
with:
683+
config-file: .github/workflows/mlc_config.json

.github/workflows/mlc_config.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": ":\/\/localhost"
5+
},
6+
{
7+
"pattern": ":\/\/.*.?example\\.com"
8+
},
9+
{
10+
"pattern": "developer.github.com"
11+
},
12+
{
13+
"pattern": "tailscale.com"
14+
}
15+
]
16+
}

docs/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Use the following `make` commands and scripts in development:
7777

7878
### Documentation
7979

80-
Our style guide for authoring documentation can be found [./contributing/documentation.md](here).
80+
Our style guide for authoring documentation can be found [here](./contributing/documentation.md).
8181

8282
### Backend
8383

docs/admin/auth.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Once complete, run `sudo service coder restart` to reboot Coder.
7878
## SCIM (enterprise)
7979

8080
Coder supports user provisioning and deprovisioning via SCIM 2.0 with header
81-
authentication. Upon deactivation, users are [suspended](userd.md#suspend-a-user)
81+
authentication. Upon deactivation, users are [suspended](./users.md#suspend-a-user)
8282
and are not deleted. [Configure](./configure.md) your SCIM application with an
8383
auth key and supply it the Coder server.
8484

docs/dotfiles.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Dotfiles
22

3+
<!-- markdown-link-check-disable -->
34
Coder offers the `coder dotfiles <repo>` command which simplifies workspace
45
personalization. Our behavior is consistent with Codespaces, so
56
[their documentation](https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-codespaces-for-your-account#dotfiles)
67
explains how it loads your repo.
8+
<!-- markdown-link-check-enable -->
79

810
You can read more on dotfiles best practices [here](https://dotfiles.github.io).
911

docs/ides/web-ides.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,9 @@ resource "coder_app" "intellij" {
197197

198198
You can also reference/use to these pre-built templates with JetBrains projector:
199199

200-
- IntelliJ ([Docker](https://github.com/mark-theshark/v2-templates/tree/main/docker-with-intellij), [Kubernetes](https://github.com/mark-theshark/v2-templates/tree/main/pod-with-intellij))
200+
- IntelliJ ([Docker](https://github.com/mark-theshark/v2-templates/tree/main/docker-with-intellij), [Kubernetes](https://github.com/sharkymark/v2-templates/tree/main/multi-projector-intellij))
201201

202-
- PyCharm ([Docker](https://github.com/mark-theshark/v2-templates/tree/main/docker-with-pycharm), [Kubernetes](https://github.com/mark-theshark/v2-templates/tree/main/pod-with-pycharm)
203-
204-
- GoLand ([Docker](https://github.com/mark-theshark/v2-templates/tree/main/docker-with-goland), [Kubernetes](https://github.com/mark-theshark/v2-templates/tree/main/pod-with-goland))
202+
- PyCharm ([Docker](https://github.com/mark-theshark/v2-templates/tree/main/docker-with-pycharm), [Kubernetes](https://github.com/sharkymark/v2-templates/tree/main/multi-projector-pycharm)
205203

206204
> You need to have a valid `~/.kube/config` on your Coder host and a namespace on a Kubernetes cluster to use the Kubernetes pod template examples.
207205

docs/networking.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All user <-> workspace connections are end-to-end encrypted.
1616
## coder server
1717

1818
Workspaces connect to the coder server via the server's external address,
19-
set via [`ACCESS_URL`](./admin/configure#access-url). There must not be a
19+
set via [`ACCESS_URL`](./admin/configure.md#access-url). There must not be a
2020
NAT between workspaces and coder server.
2121

2222
Users connect to the coder server's dashboard and API through its `ACCESS_URL`

docs/quickstart.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ possible way to use Coder.
55

66
## Generic Quickstart
77

8-
Please [install Coder](../install) before proceeding with the steps below.
8+
Please [install Coder](./install/index.md) before proceeding with the steps below.
99

1010
## First time owner user setup
1111

@@ -42,7 +42,7 @@ Connect to your workspace via SSH:
4242
coder ssh <workspaceName>
4343
```
4444

45-
To access your workspace in the Coder dashboard, navigate to the [configured access URL](../admin/configure#access-url),
45+
To access your workspace in the Coder dashboard, navigate to the [configured access URL](./admin/configure.md#access-url),
4646
and log in with the owner credentials provided to you by Coder.
4747

4848
![Coder Web UI with code-server](./images/code-server.png)
@@ -65,4 +65,4 @@ coder templates push gcp-linux # updates the template
6565

6666
## Up Next
6767

68-
Learn about [templates](../templates.md).
68+
Learn about [templates](./templates.md).

examples/web-server/caddy/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This is an example configuration of how to use Coder with [caddy](https://caddys
9494

9595
## Generating wildcard certificates
9696

97-
By default, this configuration uses Caddy's [on-demand TLS](https://caddyserver.com/docs/caddyfile/options#on-demand-tls) to generate a certificate for each subdomain (e.g. `app1.coder.example.com`, `app2.coder.example.com`). When users visit new subdomains, such as accessing [ports on a workspace](../../networking/port-forwarding.md), the request will take an additional 5-30 seconds since a new certificate is being generated.
97+
By default, this configuration uses Caddy's [on-demand TLS](https://caddyserver.com/docs/caddyfile/options#on-demand-tls) to generate a certificate for each subdomain (e.g. `app1.coder.example.com`, `app2.coder.example.com`). When users visit new subdomains, such as accessing [ports on a workspace](../../../docs/networking/port-forwarding.md), the request will take an additional 5-30 seconds since a new certificate is being generated.
9898

9999
For production deployments, we recommend configuring Caddy to generate a wildcard certificate, which requires an explicit DNS challenge and additional Caddy modules.
100100

0 commit comments

Comments
 (0)