-
Notifications
You must be signed in to change notification settings - Fork 301
Add Claude Code to docs homepage #2385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Walkthrough
Possibly related PRs
Suggested reviewers
Pre-merge checks (3 passed)✅ Passed checks (3 passed)
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. ✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (4)
src/routes/docs/+page.svelte (4)
340-351: Make the logo decorative and disambiguate analytics for Claude Desktop.
- The adjacent text “Claude Desktop” already conveys meaning; set the logo’s alt to empty to avoid SR duplication.
- Add an item-specific event name to distinguish clicks in analytics.
- onclick={() => trackEvent(`docs-mcp-click`)} + onclick={() => trackEvent(`docs-mcp-click--claude-desktop`)} @@ - alt="Claude" + alt=""
388-390: Logo alt should be empty here as well.Adjacent text “Windsurf Editor” already names the target; make the logo decorative to avoid redundant SR output.
- alt="Windsurf" + alt=""
402-404: Same a11y nit: make the VS Code logo decorative.- alt="VS Code" + alt=""
352-365: Add Claude Code — route exists; make logo decorative & analytics event uniqueRoute exists at src/routes/docs/tooling/mcp/claude-code/+page.markdoc. Update the link in src/routes/docs/+page.svelte:
- onclick={() => trackEvent(`docs-mcp-click`)} + onclick={() => trackEvent(`docs-mcp-click--claude-code`)} @@ - alt="Claude" + alt=""
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/redirects.json(1 hunks)src/routes/docs/+page.svelte(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: tests
- GitHub Check: build
🔇 Additional comments (2)
src/redirects.json (2)
728-730: Redirect LGTM.Mapping /docs/tooling/mcp/claude → /docs/tooling/mcp/claude-desktop aligns with the updated card. JSON remains valid.
728-730: Sanity check passed — no duplicate "link" entries; JSON parses cleanly.
Script output: OK: no duplicate links.
What does this PR do?
/docs/tooling/mcp/claudepath to the Claude Desktop docsTest Plan
pnpm i && pnpm dev/docsand scroll down to Build faster with AI sectionRelated PRs and Issues
#2338
#2365
Have you read the Contributing Guidelines on issues?
Yes
Summary by CodeRabbit