Skip to content

Commit 299e566

Browse files
nickvigilanteclaude
andcommitted
docs: fix 7 broken relative links in CONTRIBUTING.md
Relative paths like ../test/unit resolve correctly on GitHub but produce 404s when the page is rendered at coder.com/docs/code-server/CONTRIBUTING. Replace all 7 with absolute github.com/coder/code-server/tree/main/... URLs. Closes https://linear.app/codercom/issue/DOCS-244 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2396092 commit 299e566

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ There are four kinds of tests in code-server:
201201
Our unit tests are written in TypeScript and run using
202202
[Jest](https://jestjs.io/), the testing framework].
203203

204-
These live under [test/unit](../test/unit).
204+
These live under [test/unit](https://github.com/coder/code-server/tree/main/test/unit).
205205

206206
We use unit tests for functions and things that can be tested in isolation. The
207207
file structure is modeled closely after `/src` so it's easy for people to know
@@ -230,7 +230,7 @@ testing the CLI requires us to build and package code-server.
230230
The end-to-end (e2e) tests are written in TypeScript and run using
231231
[Playwright](https://playwright.dev/).
232232

233-
These live under [test/e2e](../test/e2e).
233+
These live under [test/e2e](https://github.com/coder/code-server/tree/main/test/e2e).
234234

235235
Before the e2e tests run, we run `globalSetup`, which eliminates the need to log
236236
in before each test by preserving the authentication state.
@@ -246,15 +246,15 @@ We also have a model where you can create helpers to use within tests. See
246246
code-server essentially serves as an HTTP API for logging in and starting a
247247
remote Code process.
248248

249-
The CLI code is in [src/node](../src/node) and the HTTP routes are implemented
250-
in [src/node/routes](../src/node/routes).
249+
The CLI code is in [src/node](https://github.com/coder/code-server/tree/main/src/node) and the HTTP routes are implemented
250+
in [src/node/routes](https://github.com/coder/code-server/tree/main/src/node/routes).
251251

252252
Most of the meaty parts are in the Code portion of the codebase under
253-
[lib/vscode](../lib/vscode), which we describe next.
253+
[lib/vscode](https://github.com/coder/code-server/tree/main/lib/vscode), which we describe next.
254254

255255
### Modifications to Code
256256

257-
Our modifications to Code can be found in the [patches](../patches) directory.
257+
Our modifications to Code can be found in the [patches](https://github.com/coder/code-server/tree/main/patches) directory.
258258
We pull in Code as a submodule pointing to an upstream release branch.
259259

260260
In v1 of code-server, we had Code as a submodule and used a single massive patch
@@ -277,7 +277,7 @@ requires us to ensure that our changes are still applied correctly and work as
277277
intended. In the future, we'd like to run Code unit tests against our builds to
278278
ensure that features work as expected.
279279

280-
> We have [extension docs](../ci/README.md) on the CI and build system.
280+
> We have [extension docs](https://github.com/coder/code-server/tree/main/ci) on the CI and build system.
281281
282282
If the functionality you're working on does NOT depend on code from Code, please
283283
move it out and into code-server.

0 commit comments

Comments
 (0)