Some agents like Claude Code include the following HTTP header when fetching documentation:
Accept: text/markdown, text/html, */*
When an agent tries to fetch a doc page using that header, it would be great to serve the Markdown version automatically. This behavior is already implemented by some doc websites such as the Vercel docs and the Claude Code docs.
Some agents like Claude Code include the following HTTP header when fetching documentation:
When an agent tries to fetch a doc page using that header, it would be great to serve the Markdown version automatically. This behavior is already implemented by some doc websites such as the Vercel docs and the Claude Code docs.