fix(docs): add missing /docs/ prefix to custom component hrefs#1362
Open
EthanThatOneKid wants to merge 1 commit into
Open
fix(docs): add missing /docs/ prefix to custom component hrefs#1362EthanThatOneKid wants to merge 1 commit into
EthanThatOneKid wants to merge 1 commit into
Conversation
Custom MDX components (HeroCard, BuildingBlock) use raw <a> tags which aren't auto-prefixed by Mintlify. Added explicit /docs/ prefix to 15 href values across the landing page and What is Supermemory page. Fixes: Architecture, Quickstart, Set up your company brain, and 12 other broken links on the docs site.
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.
Summary
Custom MDX components (HeroCard, BuildingBlock) use raw
<a>tags whosehrefvalues were missing the/docs/base path. Mintlify doesn't auto-prefix these, causing 404s.Changes
apps/docs/index.mdx- 7 links fixed:/concepts/how-it-works->/docs/concepts/how-it-works/quickstart->/docs/quickstart/company-brain/setup->/docs/company-brain/setupapps/docs/overview/what-is-supermemory.mdx- 8 BuildingBlock hrefs fixedFollow-up
Consider adding a broken link checker to CI (
mintlify broken-links) to catch these in the future.