docs: convert hardcoded internal URLs to validated relative links - #834
Merged
Conversation
Because * Same-site links written as fully-qualified https://experimenter.info/... URLs are treated as external by Docusaurus, so onBrokenLinks:"throw" never validated them and many had rotted to stale flat paths from an old docs structure. * One relative link in getting-started/for-engineers.md was missing its leading slash, so it resolved against the page slug instead of the site root and 404'd. This commit * Rewrites every same-site fully-qualified link to its current root-relative slug, preserving anchors. * Adds the missing leading slash on the web-integration link.
jaredlockhart
marked this pull request as ready for review
July 27, 2026 17:20
jaredlockhart
requested review from
freshstrangemusic,
mikewilli and
yashikakhurana
as code owners
July 27, 2026 17:20
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.
Because
https://experimenter.info/...URLs bypass Docusaurus's broken-link validation (onBrokenLinks: "throw"), because any link with a scheme+host is treated as external and never checked. Several had rotted to 404s after a docs restructure and shipped silently.This commit
experimenter.infostrings (display text, an FML YAML example, the siteurlconfig) untouched.npm run buildpasses withonBrokenLinks: "throw", so these links are now covered by validation and future rot fails the build.