Skip to content

Add /llms.txt to Flutter docs for LLM-friendly indexingΒ #12197

@malthee

Description

@malthee

What information needs to be added?

Info about the llms.txt file: https://llmstxt.org/

Add a top-level /llms.txt file to docs.flutter.dev that gives LLMs a concise, Markdown-based map of the most important documentation. The goal is to improve answer quality in tools such as ChatGPT, Android-Studio AI Assist, VS Code Copilot, etc.

A common issue right now is for example, that often outdated widget syntax is generated by these tools.
An up-to-date llms.txt file could counter that by feeding the LLMs the current state of docs.
Furthermore, it would have the nice side effect of reducing manual LLM scraping over different doc-subpages.

Examples of other tools:
https://svelte.dev/llms.txt
https://next.angular.dev/llms.txt
https://docs.astro.build/llms.txt

Where should this new content appear?

https://docs.flutter.dev/llms
https://docs.flutter.dev/llms.txt

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    co.requestCommunity ask for documentationp1-highMajor but not urgent concern: Resolve in months. Update each month.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions