Skip to content

Support llms.txt generation #4590

Open
@S1M0N38

Description

@S1M0N38

Is your feature request related to a problem? Please describe.

VitePress lacks support for the emerging llms.txt "standard", which provides markdown content in a format optimized for LLM consumption. Documentation sites need a way to make their content more easily digestible by AI assistants for improved accuracy and context preservation.

Describe the solution you'd like

Implement native llms.txt generation in VitePress:

  • Auto-generate LLM-optimized versions of documentation
  • Support structured content formatting for better AI comprehension
  • Provide configuration options to customize output format

Describe alternatives you've considered

Manual content transformation or post-processing scripts, but these create maintenance overhead and version inconsistencies.

Additional context

The llms.txt standard focuses on making documentation more accessible to AI systems through optimized formatting and structure. Supporting this would enhance how VitePress documentation is consumed by AI assistants, resulting in more accurate responses when users query documentation content through LLMs.

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-workaroundHas workaround, low priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions