> 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/guan-li-ni-de-zhan-dian/site-settings.md).

# 站点设置

<figure><img src="/files/2d57a0404d9c8915ad6e4b8f2dfbaab4721409bd" alt="A GitBook screenshot showing site settings"><figcaption><p>更新已发布文档的设置。</p></figcaption></figure>

### 常规

<details>

<summary>网站标题</summary>

更改你网站的名称；如果你没有自定义标志，网站访客将看到这个名称。

</details>

<details>

<summary>分析 Cookie</summary>

如果你想使用 GitBook 的 [网站分析](/docs/documentation/zh/fen-xi/insights.md)，你的网站将使用 Cookie 来识别回访访客并收集查看分析所需的数据。你可以选择禁用这些 Cookie，但这会阻止你使用网站分析。\
\
当你的网站通过集成启用了分析功能时，会显示 Cookie 通知，尤其是 **Google Analytics**.

要移除该通知，请打开 **网站设置 → 集成** <i class="fa-puzzle-piece">:puzzle-piece:</i> 在右上角。然后禁用或移除 **Google Analytics**

禁用这些 Cookie 也会关闭 [网站分析](/docs/documentation/zh/fen-xi/insights.md) 该网站的。

</details>

<details>

<summary>取消发布网站</summary>

取消发布你的网站，但保留其设置和自定义内容。你可以随时再次发布你的网站。

</details>

<details>

<summary>删除网站</summary>

取消发布并将你的网站从 **文档站点** GitBook 应用中的部分中移除。

**注意：** 删除网站是永久性操作，无法撤销。任何设置和自定义内容都将丢失，但你的内容仍将保留在其 [space](/docs/documentation/zh/chuang-jian-nei-rong/content-structure/space.md).

</details>

<details>

<summary>访问权限</summary>

管理哪些人可以访问和管理你的文档站点。

打开 **访问权限** 并点击 **管理权限**。你也可以使用 **分享** 从该网站的 **概览** 页面。

所有方案均提供站点权限。

默认情况下，新网站会从其关联的 [空间](/docs/documentation/zh/chuang-jian-nei-rong/content-structure/space.md)，直到你在网站权限弹窗中更新权限。

网站权限也会影响使用以下方式的关联空间的权限： **继承** 模式。在这种情况下，每个继承空间都会获得组织、任何父集合以及包含它的任何网站所授予的最高权限级别。

</details>

### 智能体

{% content-ref url="/pages/b5ac798786cec307b1c4ee767ac2ab9e54c84acb" %}
[概览](/docs/documentation/zh/gitbook-agent/overview.md)
{% endcontent-ref %}

### 样式指南

创建、重复使用或分离定义你团队写作规则并保持 GitBook Agent 一致性的样式指南。

{% content-ref url="/pages/28c2a3c3085e07afd7ea7b467c1e883e8c0ded84" %}
[风格指南](/docs/documentation/zh/chuang-jian-nei-rong/styleguide.md)
{% endcontent-ref %}

### 受众

<details>

<summary>受众</summary>

选择谁可以查看你已发布的内容。参见 [发布文档站点](/docs/documentation/zh/fa-bu/publish-a-docs-site.md) 了解更多信息。

</details>

<details>

<summary>自适应内容 <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="/files/9ecf76138d806047ae4679b26e60179238588f05" alt=""></picture></summary>

为你的网站页面、变体和章节启用自适应内容。 [自适应内容](/docs/documentation/zh/fa-bu/adaptive-content.md) 可让你根据不同访客的权限隐藏或显示内容。

你的访客令牌签名密钥也会显示在这里。

</details>

### 域名和 URL

<details>

<summary>自定义域</summary>

配置自定义域名，以将你的网站与你自己的品牌统一起来。参见 [设置自定义域名](/docs/documentation/zh/fa-bu/custom-domain.md) 了解更多信息。

</details>

<details>

<summary>GitBook 子目录</summary>

将你的内容发布到子目录中（例如 `yourcompany.com/docs`）。在以下位置了解更多： [设置自定义子目录](/docs/documentation/zh/fa-bu/custom-domain/setting-a-custom-subdirectory.md).

</details>

### 重定向

{% content-ref url="/pages/725ac45c948b94001bb7bd3c8388b043725adf43" %}
[站点重定向](/docs/documentation/zh/fa-bu/site-redirects.md)
{% endcontent-ref %}

### 功能

<details>

<summary>PDF 导出 <picture><source srcset="/files/8pdGCn8TI6WIcFGsPNFh" media="(prefers-color-scheme: dark)"><img src="/files/40b88cc6f18108fd7d78ba3a6dd23080d1b04f2f" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="/files/9ecf76138d806047ae4679b26e60179238588f05" alt=""></picture></summary>

让你的访客将你的 GitBook 导出为 PDF。参见 [PDF 导出](/docs/documentation/zh/fa-bu/pdf-export.md) 了解更多信息。

</details>

<details>

<summary>页面评分 <picture><source srcset="/files/8pdGCn8TI6WIcFGsPNFh" media="(prefers-color-scheme: dark)"><img src="/files/40b88cc6f18108fd7d78ba3a6dd23080d1b04f2f" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="/files/9ecf76138d806047ae4679b26e60179238588f05" alt=""></picture></summary>

选择已发布内容的访客是否可以在每个页面留下评分，以告诉你他们的感受。他们可以选择悲伤、中立或开心的表情。

你可以通过打开以下内容来查看这些评分结果： [网站分析](/docs/documentation/zh/fen-xi/insights.md) 在你的文档站点仪表板中，并选择 **页面与反馈**.

</details>

### AI 与 MCP

AI 设置适用于不同方案。AI 搜索适用于 Premium 和 Ultimate 网站方案。GitBook Assistant 和 MCP 连接器适用于 Ultimate。

<details>

<summary>选择 AI 体验 <picture><source srcset="/files/8pdGCn8TI6WIcFGsPNFh" media="(prefers-color-scheme: dark)"><img src="/files/40b88cc6f18108fd7d78ba3a6dd23080d1b04f2f" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="/files/9ecf76138d806047ae4679b26e60179238588f05" alt=""></picture></summary>

选择你网站的搜索体验。AI 搜索适用于 Premium 和 Ultimate 网站方案。GitBook Assistant 适用于 Ultimate 网站方案。参见 [AI 搜索](/docs/documentation/zh/wei-ni-de-du-zhe-ti-gong-ai/ai-search.md) 了解更多信息。

</details>

<details>

<summary>使用 MCP 连接器扩展 GitBook Assistant <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="/files/9ecf76138d806047ae4679b26e60179238588f05" alt=""></picture></summary>

配置 GitBook Assistant 在回答你文档内问题时可使用的 MCP 服务器。此设置适用于 Ultimate 网站方案。参见 [AI 搜索](/docs/documentation/zh/wei-ni-de-du-zhe-ti-gong-ai/ai-search.md#how-do-i-use-gitbook-ai) 了解更多信息。

</details>

### 连接

{% content-ref url="/pages/a9dc9d18df80990ad5dbf6aebaa44dfc44f5ace2" %}
[连接](/docs/documentation/zh/wei-ni-de-du-zhe-ti-gong-ai/connections.md)
{% endcontent-ref %}

### 结构

{% content-ref url="/pages/67bac0b5cd4d775551c78f92d018a512443f9927" %}
[站点结构](/docs/documentation/zh/guan-li-ni-de-zhan-dian/site-structure.md)
{% endcontent-ref %}

### 方案

{% content-ref url="/pages/c20535a4c55cdf5a9ce914a0002f26f70c1b89be" %}
[计划](/docs/documentation/zh/zhang-hu-yu-zhang-dan/plans.md)
{% endcontent-ref %}


---

# 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/guan-li-ni-de-zhan-dian/site-settings.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.
