docs: make Email SDK agent-ready#2
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@greptile review |
Greptile SummaryThis PR makes the Email SDK docs site agent-ready by adding
Confidence Score: 5/5This PR is safe to merge — all changes are documentation content and supporting infrastructure with no logic that touches the email-sending core. The new route handlers (robots.txt, sitemap.xml) are server-only and straightforward; the sitemap correctly resolves relative paths to absolute URLs and escapes all five required XML entities. The meta-tag additions in the root route use shared constants and avoid introducing incorrect canonical or og:url values. The two new docs pages add content only. No files require special attention. Important Files Changed
Reviews (4): Last reviewed commit: "fix: address Greptile review feedback" | Re-trigger Greptile |
Greptile SummaryThis PR makes the Email SDK docs site agent-ready by adding
Confidence Score: 3/5The docs content and new endpoints are solid, but the root route emits a static canonical URL on every page, which will tell search engines that all docs pages are duplicates of the homepage. Almost all of the changes — new routes, docs pages, nav restructuring, Content-Type fixes — are clean and correct. The one issue that needs attention before merging is in __root.tsx: the canonical link and og:url are both set to the root domain for every page on the site, so every individual docs page will incorrectly declare itself a duplicate of the homepage. This will actively harm search indexing of the doc pages this PR is designed to surface. apps/fumadocs/src/routes/__root.tsx needs per-page canonical and og:url values instead of the static siteUrl root. Important Files Changed
Sequence DiagramsequenceDiagram
participant Bot as AI Crawler / Search Tool
participant Robots as /robots.txt
participant Sitemap as /sitemap.xml
participant LLMs as /llms.txt
participant LLMsFull as /llms-full.txt
participant Docs as /docs/{page}.md
Bot->>Robots: GET /robots.txt
Robots-->>Bot: Allow: / + Sitemap pointer
Bot->>Sitemap: GET /sitemap.xml
Sitemap-->>Bot: All HTML + Markdown URLs
Bot->>LLMs: GET /llms.txt
LLMs-->>Bot: Compact docs index (text/plain)
Bot->>LLMsFull: GET /llms-full.txt
LLMsFull-->>Bot: Full docs bundle (text/plain)
Bot->>Docs: GET /docs/getting-started/quickstart.md
Docs-->>Bot: Per-page Markdown
Reviews (2): Last reviewed commit: "docs: make Email SDK agent-ready" | Re-trigger Greptile |
|
@greptile review |
Automated PR - Greptile review workflow