Repository navigation
docs: fix the self-healing links, the redirects and the duplicated tree - #102
Merged
Merged
Conversation
…the redirects Mintlify serves this site under the /llm-gateway/docs subdirectory and adds that prefix to every redirect destination, so the prefixed destinations resolved twice and returned 404. Destinations are relative again, and the duplicated prefixed sources are gone.
…directory Mintlify serves this site under /llm-gateway/docs and adds that prefix to every path, so the repo must not carry it. The 47 copies under llm-gateway/docs/ were never served, and the prefix is gone from the navigation and from every internal link.
…orm repo .mintignore now covers CLAUDE.md, references/ and scripts/, so the files the agents read never become public pages. The agent instructions point at mnfst/llm-gateway, the platform repo's current name.
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.
Why
The self-healing docs moved to
docs.manifest.build. The menu and the header button still pointed atmanifest.build/docs, which now redirects back to this site.Mintlify serves this site under the
/llm-gateway/docssubdirectory and adds that prefix to every path it emits. #97 wrote the prefix into the repo as well, so it was applied twice. Two consequences, both live:/llm-gateway/docs/installsent readers to/llm-gateway/docs/llm-gateway/docs/self-hosted.llm-gateway/docs/were never served. Their only possible address was/llm-gateway/docs/llm-gateway/docs/<page>, which must never exist.What changed
https://docs.manifest.build.Public addresses stay
manifest.build/llm-gateway/docs/<page>.Check
Crawled locally: the 30 navigation pages return 200, the 17 redirects land on a 200, and no internal link is broken.
node scripts/check-coherence.mjsis GREEN.