Skip to content

feature: Auto-generate llms.txt #1

@pawamoy

Description

@pawamoy

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

@Kludex pointed out that what this plugin generates is llms-full.txt. Per the spec, the llms.txt file is just a summary:

  • H1 heading
  • optional quote or text pararaphs describing the project
  • one or more H2 heading composed only of a single item list
  • each item is a link to another Markdown page, or to an arbitrary resource

Example: https://docs.cursor.com/llms.txt. More examples https://llmstxthub.com/.

Describe the solution you'd like

mkdocs-llmstxt could:

  • generate a md file for each page
  • generate /llms.txt with the H1 heading, a Docs H2 heading, and links to all md pages

...but it couldn't (at least not automatically):

  • generate a quote or text paragraphs in llms.txt
  • generate descriptions of each link in llms.txt
  • organize links in more than one Docs section in llms.txt

Describe alternatives you've considered

/

Additional context

/

Metadata

Metadata

Assignees

Labels

featureNew feature or requestinsidersCandidate for Insiders

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions