Customization
Colors, typography, sidebar, components, analytics, telemetry, observability, agent primitives, robots.txt, OG images, AI chat, and page actions
Everything is customizable from docs.config.ts. No CSS files to edit, no layout files to create.
What You Can Customize
- Colors — Primary, accent, background, border, and more
- Typography — Font families, heading sizes, weights, spacing
- Sidebar — Title, icons, collapsible groups, style
- Components — Override built-in or add custom MDX components, including live
HoverLinkpreviews - Agent Primitive — Built-in
<Agent>blocks, siblingagent.mdpage overrides, generatedAGENTS.md, and discovery routes for coding agents - OG Images — Dynamic or static Open Graph images; what context your image generator receives; how the docs website does it
- Ask AI — RAG-powered AI chat with configurable LLM, floating/search modes, and more
- Page Actions — "Copy Markdown" and "Open in LLM" buttons on doc pages
- Analytics — Track page views, search, AI, feedback, page actions, agent reads, and MCP usage
- Telemetry — Farming Labs maintainer telemetry for package adoption and coarse agent-surface usage
- Observability — Trace Ask AI and MCP runs with span IDs, timing, status, previews, and errors
- MCP Server — Built-in MCP tools/resources over stdio,
/mcp, and/.well-known/mcp - llms.txt — Auto-generate
llms.txtandllms-full.txtfor LLM-friendly documentation - Sitemaps — Runtime
sitemap.xml,sitemap.md, and/docs/sitemap.mdfor crawlers and agents, plus static export generation - Robots.txt — Runtime agent-friendly crawl policy at
/robots.txt; usedocs robots generatefor static export or committed policies
All customization happens through the theme and top-level config options in docs.config.ts.
How is this guide?