Fix broken cross-links in documentation#44998
Conversation
I fixed the Code of Conduct redirection error that you had mentioned on the community. f
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. This pull request contains code changes, so we will not generate a table of review links. 🤖 This comment is automatically generated. |
|
👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:
You'll need to revert all of the files you changed that match that list using GitHub Desktop or The complete list of files we can't accept are:
We also can't accept contributions to files in the content directory with frontmatter |
Pull Request: Fix broken cross-links in documentation
Description
This PR updates internal links within
CONTRIBUTING.mdto use root-relative paths.Previously, relative links (e.g.,
./CODE_OF_CONDUCT.md) broke when viewed via the GitHub repository's "Contributing" overview tab. This is because that tab renders content at the root level, causing relative paths to resolve incorrectly.By switching to root-relative paths (starting with
/), these links now resolve correctly in both:This approach also maintains full compatibility with local editor previews (e.g., VS Code).
Changes
.github/CONTRIBUTING.md/.github/CODE_OF_CONDUCT.md).Verification