Skip to content

docusaurus-plugin-llms-txt : Take into account the Accept HTTP header #30

@Nicolapps

Description

@Nicolapps

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions