> 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="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/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="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/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="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FqIwkYVR0zglkt0uchq3b%2FPremium%20Badge%20Light.png?alt=media&amp;token=fac71df7-6fdc-4bfc-a97c-174b60480c56" 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>

让访客将你的 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="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FqIwkYVR0zglkt0uchq3b%2FPremium%20Badge%20Light.png?alt=media&amp;token=fac71df7-6fdc-4bfc-a97c-174b60480c56" 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/fen-xi/insights.md) 从你的文档站点仪表板并选择 **页面和反馈**.

</details>

### AI 与 MCP

AI 设置适用于不同方案。搜索框位置适用于 Premium 和 Ultimate 站点方案。侧边栏位置和 MCP 连接器仅适用于 Ultimate。

<details>

<summary>AI 助手 <picture><source srcset="/files/8pdGCn8TI6WIcFGsPNFh" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FqIwkYVR0zglkt0uchq3b%2FPremium%20Badge%20Light.png?alt=media&amp;token=fac71df7-6fdc-4bfc-a97c-174b60480c56" 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/wei-du-zhe-ti-gong-de-ai/gitbook-ai-assistant.md) 了解更多信息。

</details>

<details>

<summary>外观 <picture><source srcset="/files/8pdGCn8TI6WIcFGsPNFh" media="(prefers-color-scheme: dark)"><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FqIwkYVR0zglkt0uchq3b%2FPremium%20Badge%20Light.png?alt=media&amp;token=fac71df7-6fdc-4bfc-a97c-174b60480c56" 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>

使用以下方式选择助手的显示位置： **位置** —— **侧边栏** 适用于完整聊天体验，提供于 Ultimate 站点方案；或者 **搜索框** 在你网站的搜索栏中回答问题，适用于 Premium 和 Ultimate 站点方案。你也可以在这里设置助手问候语，但仅适用于侧边栏位置。参见 [AI 助手](/docs/documentation/zh/wei-du-zhe-ti-gong-de-ai/gitbook-ai-assistant.md) 了解更多信息。

</details>

<details>

<summary>使用 MCP 连接器扩展 GitBook 助手 <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 助手在回答你的文档中的问题时可以使用的 MCP 服务器。此设置适用于 Ultimate 站点方案。参见 [用于已发布文档的 MCP 服务器](/docs/documentation/zh/wei-du-zhe-ti-gong-de-ai/mcp-servers-for-published-docs.md) 了解更多信息。

</details>

### 连接

{% content-ref url="/pages/a9dc9d18df80990ad5dbf6aebaa44dfc44f5ace2" %}
[连接](/docs/documentation/zh/wei-du-zhe-ti-gong-de-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-he-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.
