Fix redirected URLs in docs sitemap - #808
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview verification, 2026-08-19 16:34 MDT:
Preview: https://runpod-b18f5ded-agent-fix-docs-redirect-sitemap.mintlify.site |
danstotts-ops
marked this pull request as ready for review
August 19, 2026 22:40
emmett-fear
approved these changes
Aug 19, 2026
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.
What changed
docs.json.scripts/validate-redirect-sources.jsto prevent redirect source files from being emitted by Mintlify's generated sitemap.Why
Google Search Console reports 24 submitted pages under "Page with redirect." All 24 are present in
https://docs.runpod.io/sitemap.xml, all resolve through a single permanent redirect to a 200 destination, and all correspond to source files that overlap existing redirect rules.Removing the obsolete source files keeps the redirects for backlinks and bookmarks while allowing Mintlify to remove those source URLs from its generated sitemap. It preserves
seo.indexing: "all"and leaves other intentionally indexed hidden pages unchanged.Validation
node scripts/validate-redirect-sources.js, 293 redirects checked, zero source-file collisionsnode scripts/validate-tooltips.js, pass with four pre-existing unused-import warningspython3 -m json.tool docs.json, passgit diff --check, passnpx --yes mintlify@latest broken-links, reports the five pre-existing broken links inCLAUDE.mdandinstant-clusters/ray-vllm.mdx; none reference the 24 removed routesExpected impact
After merge and Mintlify deployment, the generated docs sitemap should drop the 24 redirecting URLs. The permanent redirects remain available for legacy inbound traffic. GSC validation should wait until the live sitemap confirms the URLs are gone.