Home /

docs

Customization

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 HoverLink previews
  • Agent Primitive — Built-in <Agent> blocks, sibling agent.md page overrides, generated AGENTS.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.txt and llms-full.txt for LLM-friendly documentation
  • Sitemaps — Runtime sitemap.xml, sitemap.md, and /docs/sitemap.md for crawlers and agents, plus static export generation
  • Robots.txt — Runtime agent-friendly crawl policy at /robots.txt; use docs robots generate for static export or committed policies

All customization happens through the theme and top-level config options in docs.config.ts.

Customize
Live preview on these docs
Reset
Customize
Export Code
Preset
Explore more themes
Primary Color
Primary
Colors
Background
Foreground
Muted Text
Border
Card
Muted BG
Ring
Layout
SidebarBordered
TOC StyleDirectional (tree)
TOC DepthH2 + H3
Ask AI
ModeFloating
Floating StyleFull Modal
PositionBottom Right
Features