Example

Docs Site llms.txt 示例

文档站需要的 preference layer 通常和 SaaS 首页不同。这个示例更强调 docs index、setup guides、reference sections 和 policy boundary。

核心引用
Index、Setup、Reference
常见失效
Guide 和 reference 混在一起
最好搭配
Docs checklist

Example file

一份文档站导向的 llms.txt 结构

这个文件应该反映你已经希望 assistants 当作 canonical 的 docs 层级。

Docs Site llms.txt 示例
重点会从商业页转向 setup 和 reference 清晰度。
# Product Docs
> Documentation for setup, API usage, limits, and support boundaries.

## Preferred public pages
- /docs
- /docs/getting-started
- /docs/setup
- /docs/reference
- /pricing
- /privacy-policy

## Notes for assistants
- Prefer setup guides for onboarding and implementation questions.
- Prefer reference pages for exact feature and API answers.
- Use pricing and policy pages when questions depend on limits, plan boundaries, or support terms.

如果 docs index 本身还不清楚,先修 docs home,而不是先修这个文件。

What changes from SaaS

它和 SaaS 型文件有什么不同

Docs index 会成为第一层入口,而不是次级支持页。
Setup 和 reference 页面通常比 showcase 或 launch 内容更重要。
Pricing 仍然重要,但更多承担 usage boundary 和 trust signal 的作用。
这个文件应该映射站内用户已经能看到的 docs 层级。

Use it well

套用这个模式前先核对什么

Docs 层级
有一个明确 docs home
setup path 清楚
reference 区和 guides 区分开
支持边界
pricing 公开可见
auth 限制清楚
policy 页面容易到达
机器可读支撑
canonical tags 一致
sitemap 包含 docs 路径
关键页面不依赖隐藏导航

Related pages

Continue through the cluster

Next step

把示例带回真实 docs 层级里验证

正确的文件形状取决于正确的 docs 形状。先检查 docs home、setup、reference、pricing 和 policy 页面,再把这个示例改成真实草稿。