> 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/manage-your-site/site-settings.md).

# 站点设置

自定义并编辑已发布站点中的各项设置

<figure><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FtLuT2q1SZk1DTXdXd5Qw%2F26_03_30_site_settings%402x.png?alt=media&amp;token=5993c955-c741-4acf-8ca9-1ce317efca28" alt="A GitBook screenshot showing site settings"><figcaption><p>更新已发布文档的设置。</p></figcaption></figure>

### 常规

<details>

<summary>站点标题</summary>

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

</details>

<details>

<summary>分析 Cookie</summary>

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

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

禁用这些 Cookie 也会关闭 [站点分析](/docs/documentation/zh/analytics/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>

管理谁可以访问并管理你的文档站点。

打开 **访问** 并点击 **管理权限**。你还可以使用 **分享** 来自站点的 **概览** 页面。

所有套餐都可使用站点权限。

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

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

</details>

### Agents

{% content-ref url="/pages/b5ac798786cec307b1c4ee767ac2ab9e54c84acb" %}
[概览](/docs/documentation/zh/gitbook-dai-li/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/publish/publish-a-docs-site.md) 。

</details>

<details>

<summary>自适应内容 <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture></summary>

为你的站点页面、变体和分区开启自适应内容。 [自适应内容](/docs/documentation/zh/publish/adaptive-content.md) 可根据访客的权限隐藏或显示不同内容。

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

</details>

### 域名和 URL

<details>

<summary>自定义域名</summary>

配置自定义域名，将你的站点与品牌统一起来。参见 [设置自定义域名](/docs/documentation/zh/publish/custom-domain.md) 。

</details>

<details>

<summary>GitBook 子目录</summary>

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

</details>

### 重定向

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

### 功能

<details>

<summary>导出 PDF <picture><source srcset="/files/5v7vLpEB0s9GQaH8Au0V" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FWng01hYenprJGPUfEWma%2FEssential%20Badge%20Light.png?alt=media&amp;token=80159365-1cab-4b3c-96d9-72f2c8d752e6" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture></summary>

让访问者将你的网站导出为 PDF。请参见 [导出 PDF](/docs/documentation/zh/publish/pdf-export.md) 。

</details>

<details>

<summary>页面评分 <picture><source srcset="/files/5v7vLpEB0s9GQaH8Au0V" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FWng01hYenprJGPUfEWma%2FEssential%20Badge%20Light.png?alt=media&amp;token=80159365-1cab-4b3c-96d9-72f2c8d752e6" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture></summary>

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

你可以通过打开以下内容查看这些评分结果： [**分析 → 流量**](/docs/documentation/zh/analytics/insights/traffic.md) 在你站点的侧边栏中，然后选择 **页面反馈**.

</details>

### AI 与 MCP

AI 设置适用于不同方案。搜索框位置（AI Assistant Ask）适用于 Essential 和 Ultimate 网站方案。侧边栏位置（AI Assistant Chat）和 MCP 连接器适用于 Ultimate。AI 功能会使用 AI 积分。

<details>

<summary>AI 助手 <picture><source srcset="/files/5v7vLpEB0s9GQaH8Au0V" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FWng01hYenprJGPUfEWma%2FEssential%20Badge%20Light.png?alt=media&amp;token=80159365-1cab-4b3c-96d9-72f2c8d752e6" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture></summary>

为你的站点开启或关闭 AI 助手。参见 [AI 助手](/docs/documentation/zh/ai-for-your-readers/gitbook-ai-assistant.md) 。

</details>

<details>

<summary>外观 <picture><source srcset="/files/5v7vLpEB0s9GQaH8Au0V" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FWng01hYenprJGPUfEWma%2FEssential%20Badge%20Light.png?alt=media&amp;token=80159365-1cab-4b3c-96d9-72f2c8d752e6" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture></summary>

使用 **位置** 来选择助手显示的位置： **侧边栏** 用于完整聊天体验（AI Assistant Chat），适用于 Ultimate 网站方案，或 **搜索框** 在你网站的搜索栏中回答问题（AI Assistant Ask），适用于 Essential 和 Ultimate 网站方案。你也可以在此设置助手问候语，这仅适用于侧边栏位置。请参见 [AI 助手](/docs/documentation/zh/ai-for-your-readers/gitbook-ai-assistant.md) 。

</details>

<details>

<summary>使用 MCP 连接器扩展 GitBook Assistant <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture></summary>

配置 GitBook Assistant 可用于在文档中回答问题的 MCP 服务器。此设置适用于 Ultimate 站点套餐。参见 [已发布文档的 MCP 服务器](/docs/documentation/zh/ai-for-your-readers/mcp-servers-for-published-docs.md) 。

</details>

### 连接

{% content-ref url="/pages/a9dc9d18df80990ad5dbf6aebaa44dfc44f5ace2" %}
[连接](/docs/documentation/zh/ai-for-your-readers/connections.md)
{% endcontent-ref %}

### 结构

{% content-ref url="/pages/67bac0b5cd4d775551c78f92d018a512443f9927" %}
[站点结构](/docs/documentation/zh/manage-your-site/site-structure.md)
{% endcontent-ref %}

### 套餐

{% content-ref url="/pages/c20535a4c55cdf5a9ce914a0002f26f70c1b89be" %}
[套餐](/docs/documentation/zh/zhang-hu-yu-ji-fei/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
