fix(docs): prefix raw internal href/src literals with /docs - #1333
Conversation
index.mdx uses `mode: "custom"`, which renders raw HTML instead of Mintlify's own components — Mintlify only auto-prefixes internal links it generates itself (nav, Card href), not literal href/src strings in raw <a>/<img> tags or JS string literals, so those still 404 under the /docs mount. Fixed the homepage's raw <a href> links and the hardcoded avatar path literals in the shared Slack-message snippet component. 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 | ec1817e | Commit Preview URL Branch Preview URL |
Jul 22 2026, 03:50 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | ec1817e | Jul 22 2026, 03:48 AM |
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 54s —— View job PR Review Complete
Overview: This PR fixes 404 errors on the docs homepage by adding the Issues found: None — this looks good to ship. The changes are straightforward and correct:
All paths are consistently updated, and the Mintlify preview deployment confirms the fix works. Score: 10/10 |

index.mdx uses
tags or JS string literals, so those still 404 under the
mode: "custom", which renders raw HTML instead ofMintlify's own components — Mintlify only auto-prefixes internal links
it generates itself (nav, Card href), not literal href/src strings in
raw /
/docs mount. Fixed the homepage's raw links and the hardcoded
avatar path literals in the shared Slack-message snippet component.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Note
Low Risk
Documentation-only URL path fixes with no runtime or security impact.
Overview
Fixes broken navigation and images on the docs homepage and in Slack UI snippets when the site is served under the
/docsmount.Because
index.mdxusesmode: "custom", Mintlify does not rewrite literalhrefvalues on raw<a>tags orHeroCardprops—those links now use paths like/docs/quickstartand/docs/overview/what-is-supermemoryinstead of root-relative paths that 404.The shared
slack-messagesnippet updates hardcoded avatarsrcstrings (including DM fallbacks andSlackMessagedefaults) from/images/...to/docs/images/...so assets resolve correctly.Reviewed by Cursor Bugbot for commit ec1817e. Bugbot is set up for automated code reviews on this repo. Configure here.