docs: fix 7 broken relative links in CONTRIBUTING.md#7820
Open
nickvigilante wants to merge 1 commit into
Open
Conversation
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>
747acd3 to
299e566
Compare
code-asher
reviewed
May 27, 2026
Member
code-asher
left a comment
There was a problem hiding this comment.
Do you know if there is any way we can fix this on the docs site? Something like if the link is relative, resolve it against the repo.
Just because now it will be more difficult to jump to the other files from within an IDE, especially since they are contributing docs (it is nice to reference them within the IDE while editing without getting kicked out to a browser).
Author
|
Ah, I see your point. The tricky bit will be making sure we strictly only do relative links when linking to other Markdown files, or we use absolute links for docs. I'll do some investigation on this and get back to you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relative paths like `../test/unit` work correctly on GitHub but produce 404s when the page is rendered at `coder.com/docs/code-server/CONTRIBUTING`. The docs site treats the page URL as a directory, so relative links resolve into `/docs/code-server/...` paths that don't exist.
Replace all 7 affected links with absolute `github.com/coder/code-server/tree/main/...` URLs.
Closes https://linear.app/codercom/issue/DOCS-244