> 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%2Fgit-blob-e7d42f24a766e4351d3c0ddfe98dba4676821d19%2F26_03_30_site_settings%402x.png?alt=media" alt="A GitBook screenshot showing site settings"><figcaption><p>更新已发布文档的设置。</p></figcaption></figure>

### 常规

<details>

<summary>站点标题</summary>

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

</details>

<details>

<summary>分析 Cookie</summary>

如果你想使用 GitBook 的 [网站分析](https://gitbook.com/docs/documentation/zh/analytics/insights.md)，你的网站会使用 Cookie 来识别回访访客，并收集查看分析数据所需的信息。你可以选择停用这些 Cookie，但这样就无法使用网站分析。\
\
当网站通过集成启用了分析功能时，系统会显示 Cookie 提示，尤其是在使用 **Google Analytics**.

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

停用这些 Cookie 也会关闭该网站的 [网站分析](https://gitbook.com/docs/documentation/zh/analytics/insights.md) 。

</details>

<details>

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

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

</details>

<details>

<summary>删除站点</summary>

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

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

</details>

<details>

<summary>访问</summary>

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

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

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

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

站点权限也可能影响使用 **继承** 模式的关联空间的权限。对于这些空间，站点权限优先于成员从组织或父级集合获得的角色。直接授予空间成员或团队的访问权限仍优先于站点权限。请参阅 [权限与继承](https://gitbook.com/docs/documentation/zh/collaborate/member-management/permissions-and-inheritance.md) 了解完整的优先级顺序。

</details>

### Agents

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

### 风格指南

创建、重复使用或解除关联定义你团队写作规则并保持 GitBook Agent 一致性的风格指南。

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

### 受众

<details>

<summary>受众</summary>

选择谁可以查看已发布的内容。了解详情，请参阅 [发布文档站点](https://gitbook.com/docs/documentation/zh/publish/publish-a-docs-site.md) 。

</details>

<details>

<summary>自适应内容 <picture><source srcset="broken://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%2Fgit-blob-fdea33fff377c3eff2104fd7eaf9e93f67018402%2FUltimate%20Badge%20Light.png?alt=media" alt=""></picture></summary>

为网站页面、变体和版块启用自适应内容。 [自适应内容](https://gitbook.com/docs/documentation/zh/publish/adaptive-content.md) 可根据访客的权限，隐藏或显示不同内容。

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

</details>

### 域名和 URL

<details>

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

配置自定义域名，让网站统一使用你的品牌形象。了解详情，请参阅 [设置自定义域名](https://gitbook.com/docs/documentation/zh/publish/custom-domain.md) 。

</details>

<details>

<summary>GitBook 子目录</summary>

在子目录中发布内容（例如 `yourcompany.com/docs`）。了解更多信息，请参阅 [设置自定义子目录](https://gitbook.com/docs/documentation/zh/publish/custom-domain/setting-a-custom-subdirectory.md).

</details>

### 重定向

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

### 功能

<details>

<summary>导出 PDF <picture><source srcset="broken://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%2Fgit-blob-48a4c82c8f3063c2ceadae94fdee6f61e289d874%2FEssential%20Badge%20Light.png?alt=media" alt=""></picture> <picture><source srcset="broken://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%2Fgit-blob-fdea33fff377c3eff2104fd7eaf9e93f67018402%2FUltimate%20Badge%20Light.png?alt=media" alt=""></picture></summary>

允许访客将你的网站导出为 PDF。了解详情，请参阅 [导出 PDF](https://gitbook.com/docs/documentation/zh/publish/pdf-export.md) 。

</details>

<details>

<summary>页面评分 <picture><source srcset="broken://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%2Fgit-blob-48a4c82c8f3063c2ceadae94fdee6f61e289d874%2FEssential%20Badge%20Light.png?alt=media" alt=""></picture> <picture><source srcset="broken://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%2Fgit-blob-fdea33fff377c3eff2104fd7eaf9e93f67018402%2FUltimate%20Badge%20Light.png?alt=media" alt=""></picture></summary>

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

要查看这些评分的结果，请打开网站侧边栏中的 [**分析 → 流量**](https://gitbook.com/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="broken://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%2Fgit-blob-48a4c82c8f3063c2ceadae94fdee6f61e289d874%2FEssential%20Badge%20Light.png?alt=media" alt=""></picture> <picture><source srcset="broken://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%2Fgit-blob-fdea33fff377c3eff2104fd7eaf9e93f67018402%2FUltimate%20Badge%20Light.png?alt=media" alt=""></picture></summary>

为网站开启或关闭 AI 助手。了解详情，请参阅 [AI 助手](https://gitbook.com/docs/documentation/zh/ai-for-your-readers/gitbook-ai-assistant.md) 。

</details>

<details>

<summary>外观 <picture><source srcset="broken://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%2Fgit-blob-48a4c82c8f3063c2ceadae94fdee6f61e289d874%2FEssential%20Badge%20Light.png?alt=media" alt=""></picture> <picture><source srcset="broken://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%2Fgit-blob-fdea33fff377c3eff2104fd7eaf9e93f67018402%2FUltimate%20Badge%20Light.png?alt=media" alt=""></picture></summary>

使用 **位置** 来选择 Assistant 的显示位置： **侧边栏** 提供完整的聊天体验（AI Assistant Chat），适用于 Ultimate 站点计划；或者 **搜索框** 在站点搜索栏中回答问题（AI Assistant Ask），适用于 Essential 和 Ultimate 站点计划。你还可以在此设置 Assistant 的问候语，该设置仅适用于侧边栏位置。有关详细信息，请参阅 [AI 助手](https://gitbook.com/docs/documentation/zh/ai-for-your-readers/gitbook-ai-assistant.md) 。

</details>

<details>

<summary>使用 MCP 连接器扩展 GitBook Assistant <picture><source srcset="broken://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%2Fgit-blob-fdea33fff377c3eff2104fd7eaf9e93f67018402%2FUltimate%20Badge%20Light.png?alt=media" alt=""></picture></summary>

配置 GitBook Assistant 在文档中回答问题时可使用的 MCP 服务器。此设置适用于 Ultimate 站点计划。有关详细信息，请参阅 [已发布文档的 MCP 服务器](https://gitbook.com/docs/documentation/zh/ai-for-your-readers/mcp-servers-for-published-docs.md) 。

</details>

### 连接

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

### 结构

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

### 套餐

{% content-ref url="/pages/c20535a4c55cdf5a9ce914a0002f26f70c1b89be" %}
[套餐](https://gitbook.com/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.
