Setup for AI agents
- CLI prompts don't wait without a terminal: a missing choice fails with the flag and its values, confirmations take their default, and existing files are kept unless
--yesis passed. - The CLI fails with a clear message where it finds no supported framework, instead of setting up Next.js.
- The CLI detects Radix UI from a plain
fumadocs-uidependency. init --i18non a static Next.js site keeps the locale in URLs and writes no proxy.- The duplicated slugs error names both files.
- The macro error of Fumadocs MDX explains how to load content outside the bundler.
- New projects include an
AGENTS.mdthat links the Fumadocs docs for AI agents. - The CLI and
create-fumadocs-appprint plain lines instead of spinner frames without a terminal. create-fumadocs-appnames the file to set the site name and GitHub repository, and names the package after the current folder when created in..- The
paththat a collection schema function receives is documented as absolute.
Files for agents in every framework
fumadocs feature llmsserves the files ofdocsLlms.serve()on every framework:llms.txt,llms-full.txt, thellms-full.txtof each section and<page>.md.- Page Markdown moves from
/llms.mdx/docs/<page>/content.mdto<page>.md, and to/llms.mdx/<page>.mdon React Router, Waku and Next.js static export. - React Router and Waku serve the Markdown of a docs page to requests that prefer
text/markdown. - The CLI no longer generates
getPageMarkdownUrl(): the Markdown URL of a page is${page.url}.md, with the/llms.mdxprefix on those setups. - The Astro template serves the files from one endpoint.