Skip to content

Commit 747acd3

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 02f4d6e commit 747acd3

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
@@ -198,7 +198,7 @@ There are four kinds of tests in code-server:
198198
Our unit tests are written in TypeScript and run using
199199
[Jest](https://jestjs.io/), the testing framework].
200200

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

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

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

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

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

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

252252
### Modifications to Code
253253

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

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

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

0 commit comments

Comments
 (0)