Repository navigation
Move redirects.json into config/ - #3094
Merged
Merged
Conversation
docs.json already loads it with $ref, so only the path changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
/triage |
Contributor
|
🤖 Automated message from the Stellar Triage Bot. Reviewing because @ElliotFriend asked with /triage. Verified: pure rename, no old path left in the repo, all checks green. On the preview, |
5 tasks
kaankacar
approved these changes
Nov 11, 2026
This branch was successfully deployed
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.
The first repo-root tidy-up:
redirects.jsonmoves toconfig/redirects.json.docs.jsonalready loads it with$ref, so only the path changes. The file is a pure rename with all 1,625 rules unchanged.Also updated
docs.json:"redirects": { "$ref": "config/redirects.json" }tools/gen-html-redirects.cjsreads and writes the new path, and writes the new$ref.config/is deliberately not in.mintignore, so Mintlify still reads it.Checked
mint validatepasses. To confirm the$refreally loads from the new path, I pointed it atconfig/nope.json, and the build failed with "Referenced config file 'config/nope.json' does not exist".mint dev, the wildcard redirect (/es/docs/buildto/docs/build) and a.htmlredirect (/docs/learn/glossary.htmlto/docs/learn/glossary) both return 307 to the right destination.mint broken-links --check-redirectsreports no bad redirect destinations. Its result is the same as onmain.node tools/gen-html-redirects.cjs --dryruns against the new path.Side note, not in this PR: the dry run shows that pages added since the migration (fee-sponsorship, queryEvents, and others) have no
.htmlredirect yet. Re-running the generator would add them.Please check on the preview
/docs/learn/glossary.html.🤖 Generated with Claude Code