> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/docs-site.md).

# 你的文档站点

- [站点工作区](https://gitbook.com/docs/documentation/zh/docs-site/sites-first.md): 了解站点工作区如何改变 GitBook 中的导航、内容结构和权限
- [站点设置](https://gitbook.com/docs/documentation/zh/docs-site/site-settings.md): 自定义并编辑已发布站点的各项设置
- [站点自定义](https://gitbook.com/docs/documentation/zh/docs-site/customization.md): 使用自定义徽标、字体、颜色、链接等创建品牌化文档
- [图标、颜色和主题](https://gitbook.com/docs/documentation/zh/docs-site/customization/icons-colors-and-themes.md): 自定义你已发布文档中的图标、颜色、主题及更多细粒度设置
- [布局与结构](https://gitbook.com/docs/documentation/zh/docs-site/customization/layout-and-structure.md): 自定义你已发布文档的布局和结构
- [分享与社交](https://gitbook.com/docs/documentation/zh/docs-site/customization/sharing-and-social.md): 自定义站点的社交账号元数据和分享选项
- [额外配置](https://gitbook.com/docs/documentation/zh/docs-site/customization/extra-configuration.md): 为你已发布的文档配置额外选项
- [站点结构](https://gitbook.com/docs/documentation/zh/docs-site/site-structure.md): 使用章节和变体为你已发布的文档添加结构
- [站点章节](https://gitbook.com/docs/documentation/zh/docs-site/site-structure/site-sections.md): 将多个产品作为章节添加到你的站点，并创建一个带有标签页的内容中心来访问所有内容
- [内容变体](https://gitbook.com/docs/documentation/zh/docs-site/site-structure/variants.md): 在单个站点中发布多个产品版本或语言的文档
- [多语言章节](https://gitbook.com/docs/documentation/zh/docs-site/site-structure/multilingual-sections.md): 为你的站点、章节和章节组设置本地化标题
- [AI 搜索](https://gitbook.com/docs/documentation/zh/docs-site/ai-search.md): 借助强大的 AI 搜索工具，让用户更快找到已发布内容中所需的信息
- [设置自定义域名](https://gitbook.com/docs/documentation/zh/docs-site/custom-domain.md): 为你的文档站点设置自定义域名
- [设置自定义子目录](https://gitbook.com/docs/documentation/zh/docs-site/custom-domain/setting-a-custom-subdirectory.md): 为你的文档站点设置自定义子目录
- [使用 Cloudflare 配置子目录](https://gitbook.com/docs/documentation/zh/docs-site/custom-domain/setting-a-custom-subdirectory/configuring-a-subdirectory-with-cloudflare.md): 使用 Cloudflare 以 /docs 子目录托管你的文档
- [使用 Vercel 配置子目录](https://gitbook.com/docs/documentation/zh/docs-site/custom-domain/setting-a-custom-subdirectory/configuring-a-subdirectory-with-vercel.md): 使用 Vercel 以 /docs 子目录托管你的文档
- [使用 AWS、CloudFront 和 Route 53 配置子目录](https://gitbook.com/docs/documentation/zh/docs-site/custom-domain/setting-a-custom-subdirectory/configuring-a-subdirectory-with-aws.md): 使用 AWS CloudFront 和 Route 53 以 /docs 子目录托管你的文档。
- [发布文档站点](https://gitbook.com/docs/documentation/zh/docs-site/publish-a-docs-site.md): 将你的文档作为文档站点发布到互联网上
- [公开发布](https://gitbook.com/docs/documentation/zh/docs-site/publish-a-docs-site/public-publishing.md): 将你的文档公开发布到网上，让所有人都能访问
- [使用分享链接进行私密发布](https://gitbook.com/docs/documentation/zh/docs-site/publish-a-docs-site/share-links.md): 更精细地控制谁可以查看你已发布的 GitBook 文档
- [站点重定向](https://gitbook.com/docs/documentation/zh/docs-site/site-redirects.md): 设置站点重定向，将流量导向站点内任意位置的内容
- [嵌入到你的产品中](https://gitbook.com/docs/documentation/zh/docs-site/embedding.md): 使用 Docs Embed 将你的文档嵌入到产品或网站中。
- [实现方式](https://gitbook.com/docs/documentation/zh/docs-site/embedding/implementation.md)
- [脚本标签](https://gitbook.com/docs/documentation/zh/docs-site/embedding/implementation/script.md): 了解如何使用单个脚本标签将 Docs Embed 小组件添加到任何网站或 Web 应用
- [Node.js/NPM](https://gitbook.com/docs/documentation/zh/docs-site/embedding/implementation/nodejs.md): 使用 NPM 包集成 Docs Embed，实现完整的应用级控制
- [React](https://gitbook.com/docs/documentation/zh/docs-site/embedding/implementation/react.md): 使用预构建的 React 组件将 Docs Embed 添加到你的 React 应用中
- [认证](https://gitbook.com/docs/documentation/zh/docs-site/embedding/using-with-authenticated-docs.md): 通过传递访客令牌或使用已认证访问，在需要认证的站点上使用 Docs Embed
- [配置](https://gitbook.com/docs/documentation/zh/docs-site/embedding/configuration.md)
- [自定义嵌入](https://gitbook.com/docs/documentation/zh/docs-site/embedding/configuration/customizing-docs-embed.md): 通过设置欢迎消息、操作等，自定义将 Docs Embed 嵌入到产品或应用中的体验
- [连接自定义工具](https://gitbook.com/docs/documentation/zh/docs-site/embedding/configuration/creating-custom-tools.md): 将 GitBook Assistant 连接到你可以从应用中调用的任何工具——尤其是支持工作流
- [API 参考](https://gitbook.com/docs/documentation/zh/docs-site/embedding/configuration/reference.md): 了解以编程方式使用 Docs Embed 时可用的方法
- [AI 洞察](https://gitbook.com/docs/documentation/zh/docs-site/ai-insights.md): 查看用户实际向 GitBook Assistant 提出了什么问题——并识别文档未覆盖的知识空白
- [站点分析](https://gitbook.com/docs/documentation/zh/docs-site/insights.md): 查看与你已发布文档流量和使用情况相关的分析
- [PDF 导出](https://gitbook.com/docs/documentation/zh/docs-site/pdf-export.md): 导出你的 GitBook 内容的 PDF 副本


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook.com/docs/documentation/zh/docs-site.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
