AI 代理和大语言模型的文档
AI 代理和大型语言模型访问和使用 Expo 文档的高效方法。
For the complete documentation index, see llms.txt. Use this file to discover all available pages.
使用以下端点和工具,为 AI 代理和大型语言模型提供对 Expo 文档的访问权限,其所需令牌成本低于获取完整网页。
🌐 Use the following endpoints and tools to give AI agents and LLMs access to Expo documentation at lower token cost than fetching full web pages.
快速开始
🌐 Quick start
选择与你的工具匹配的方法:
🌐 Pick the method that matches your tool:
| 方法 | 最适合 | 如何操作 |
|---|---|---|
| 每页 Markdown | 聊天界面(ChatGPT, Claude.ai)和编码代理 | 在任何文档页面的 URL 后添加 /index.md 或 .md。 |
| 复制 Markdown 下拉菜单 | 适用于单页面的快速提示 | 在任何文档页面顶部点击 复制页面 > 复制 Markdown。 |
| 部分打包 | 项目规则和编码代理 | 在 AI 工具配置或通用索引 (/llms.txt) 中添加部分级别的 llms-*.txt URL。 |
每页标记
🌐 Per-page markdown
每个文档页面都有一个轻量级的 Markdown 版本,可以通过在页面 URL 后附加 /index.md 或 .md 访问。两个 URL 指向同一个文件。例如:
🌐 Every documentation page has a lightweight markdown version accessible by appending either /index.md or .md to the page URL. Both URLs serve the same file. For example:
https://expo.nodejs.cn/develop/development-builds/create-a-build/index.md https://expo.nodejs.cn/develop/development-builds/create-a-build.md
上述方法在你想要向 AI 代理提供有关特定主题或页面的上下文时非常有用,而不会让它被该页面的完整 HTML 淹没。
🌐 The above method is useful when you want to give an AI agent context about a specific topic or page without overwhelming it with the full HTML of that page.
文档包
🌐 Documentation bundles
在 Expo 上,我们支持 llms.txt 倡议,为大型语言模型(LLM)及使用它们的应用提供文档。以下是可用文档文件的列表。
🌐 At Expo, we support the llms.txt initiative to provide documentation for large language models (LLMs) and apps that use them. Below is a list of documentation files available.
全站打包包
🌐 Site-wide bundles
| 端点 | 描述 | 大小 |
|---|---|---|
| /llms.txt | 包含所有可用文档文件列表的索引页面。 | ~100 kB |
| /llms-full.txt | Expo 的完整文档,包括 Expo Router、Expo Modules API、开发流程等。 | ~1.9 MB |
全节打包包
🌐 Section-wide bundles
| 端点 | 描述 | 大小 |
|---|---|---|
| /llms-eas.txt | Expo 应用服务 (EAS) 的完整文档。 | ~1.0 MB |
| /llms-sdk.txt | 最新 Expo SDK 的完整文档。 | ~2.8 MB |
在寻找已弃用的 Expo SDK 版本吗?
- /llms-sdk-v55.0.0.txt:Expo SDK v55.0.0 的文档
- /llms-sdk-v54.0.0.txt:Expo SDK v54.0.0 的文档
- /llms-sdk-v53.0.0.txt:Expo SDK v53.0.0 文档
- /llms-sdk-v52.0.0.txt:Expo SDK v52.0.0 文档
- /llms-sdk-v51.0.0.txt:Expo SDK v51.0.0 文档