LLMs
The docs are also published as Markdown for LLMs and agents, following llms.txt.
Files
| File | Content |
|---|---|
| en/llms.txt | Index of all pages, grouped like the sidebar, one line per page |
| en/llms-full.txt | All pages in one file |
| llms.txt, llms-full.txt | Chinese version |
Component docs are not fully translated yet, so untranslated pages are in Chinese.
A page as Markdown
Replace .html with .md in any docs or component page URL to get that page as Markdown, for example /en/components/button.md. Component pages include props, events, slots and the full code of every example.
With an agent
Give the agent the full URL of llms.txt (the site's domain followed by /en/llms.txt) and ask it to read the component pages it needs. It reads the index first and fetches only the pages it uses.
llms-full.txt contains the code of every example and is large. It suits tools that can index a whole file; llms.txt is usually enough.