fix(docs): use absolute path for PostHog Code link in MCP docs#16936
Merged
Conversation
The PostHog Code entry in the MCP clients list used a relative path (`docs/posthog-code`) while every other entry uses an absolute path (`/docs/...`). On `/docs/model-context-protocol` the browser resolved it to `/docs/docs/posthog-code`, which 404s. Generated-By: PostHog Code Task-Id: 2c7117d8-0c71-4c13-99cc-2263339c6da3
Contributor
Deploy preview
|
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.
Changes
The PostHog Code entry in
contents/docs/model-context-protocol/_snippets/mcp-clients.tsxused a relative path (docs/posthog-code) while every other entry in the same list uses an absolute path (/docs/...).When rendered on
/docs/model-context-protocol, the browser resolves the relative URL against the current path, producing/docs/docs/posthog-code— which 404s. Switching to/docs/posthog-codemakes the link match the rest of the list and point at the actual docs page.Checklist
vercel.jsonCreated with PostHog Code