fix(docs): revert homepage href prefixes causing doubled /docs/docs/ 404s - #1341
Conversation
…404s Mintlify's client-side router intercepts same-origin anchor clicks (including raw <a> tags, not just its own components) and automatically prepends /docs on navigation — that's how the unprefixed top-nav links correctly land on /docs/company-brain/overview etc. Hardcoding /docs into these homepage hrefs made the router double it up to /docs/docs/company-brain/overview, a real 404 confirmed by clicking through in a live browser. Reverted to unprefixed hrefs, matching every other internal link in the docs and what `mintlify broken-links` expects. Image src/icon/imageUrl paths are untouched — those are literal resource fetches never touched by the router, so they still need the explicit /docs prefix. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | 8d05a65 | Commit Preview URL Branch Preview URL |
Jul 22 2026, 06:05 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | 8d05a65 | Jul 22 2026, 06:03 PM |
How to use the Graphite Merge QueueAdd the label Main to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Claude finished @Dhravya's task in 39s —— View job Reviewing PR #1341
Review SummaryOverview: Removes hardcoded Issues found: None — this looks good to ship. The change is correct and well-scoped:
Score: 10/10 Clean, targeted fix that resolves a real 404 bug. No bugs, no security issues, no logic errors. |

Mintlify's client-side router intercepts same-origin anchor clicks
(including raw tags, not just its own components) and automatically
prepends /docs on navigation — that's how the unprefixed top-nav links
correctly land on /docs/company-brain/overview etc. Hardcoding /docs
into these homepage hrefs made the router double it up to
/docs/docs/company-brain/overview, a real 404 confirmed by clicking
through in a live browser. Reverted to unprefixed hrefs, matching every
other internal link in the docs and what
mintlify broken-linksexpects.Image src/icon/imageUrl paths are untouched — those are literal
resource fetches never touched by the router, so they still need the
explicit /docs prefix.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Note
Low Risk
Docs-only link path fix with no runtime, auth, or data impact.
Overview
Fixes broken homepage navigation by changing internal
hrefs on the docs landing page from/docs/...back to site-root paths (e.g./quickstart,/company-brain/overview).Mintlify’s client-side router already prepends
/docson same-origin link clicks, so explicit/docsprefixes were doubled to/docs/docs/...and 404’d. The update aligns the hero buttons andHeroCardlinks with other internal doc links andmintlify broken-linksexpectations.Image
imageUrlpaths are unchanged — they still use/docs/images/...because those are static asset URLs, not router-handled navigation.Reviewed by Cursor Bugbot for commit 8d05a65. Bugbot is set up for automated code reviews on this repo. Configure here.