> 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/customization/extra-configuration.md).

# 额外配置

在 **配置** 在该选项卡中，您可以更改与您的网站相关的其他设置。例如，您可以设置界面本地化、链接行为和页面操作，帮助用户将您的内容添加到 ChatGPT 等 AI 工具中。

在本页中，您将了解这些选项分别的作用，以及如何启用或禁用它们。

### 本地化用户界面

您可以从语言列表中选择一种语言，以本地化已发布内容的用户界面。这会将翻译应用于界面中不可自定义的区域。

此设置将 *不* 不会自动翻译您的实际内容，但它可以帮助界面与您正在撰写的语言保持一致。要了解有关翻译内容的更多信息，请前往 [翻译](/docs/documentation/zh/gitbook-agent/translations.md) 部分。

是否有我们尚未提供、但您希望加入的语言？ [告诉我们](https://github.com/GitbookIO/gitbook/issues)，或 [贡献您自己的翻译](https://www.gitbook.com/solutions/open-source)!

### 主链接

在 **主链接** 的部分中 **配置** 选项卡中，您可以为文档站点左上角的徽标设置自定义 URL。

默认情况下，点击徽标或站点标题会将用户带回您的文档站点的第一页。您可以设置一个站点外的自定义 URL——或者您站点中的某个页面、章节或变体——来替代打开。如果您的文档是更大网站的一部分，这有助于访客返回您的着陆页。

### 外部链接

该 **外部链接** 中的部分 **配置** 选项卡控制当您站点的用户点击外部 URL 链接时的行为。默认情况下，这些链接会在同一标签页中打开，但如果您愿意，也可以将其改为在新标签页中打开。

### 页面操作

页面操作会在您的文档的每个页面上添加一个页面级下拉菜单，允许用户对页面内容执行快速操作——非常适合将您的文档内容作为 AI 提示词中的上下文。

您可以在 **配置** 选项卡中，如果您不希望在已发布的文档中显示页面选项，您可以禁用此选项。

如果您禁用 **页面操作**，GitBook 还会禁用位于 `~gitbook/mcp`。要使用 MCP，请保持 **页面操作** 在……中启用 **站点自定义** → **页面操作**.

<figure><img src="/files/b7ad7e4ee0c614ff9b68a82ddcff40224b0d381c" alt=""><figcaption></figcaption></figure>

#### 在 AI 提供商中打开

启用此选项以显示一个操作，使您可以使用页面内容打开 ChatGPT 或 Claude。

#### 以 Markdown 复制/查看

启用此选项以显示一个操作，使您可以将页面复制或查看为 Markdown。

#### 连接 MCP 服务器

启用此选项以在页面操作菜单中显示 MCP 服务器链接。

此选项本身不会启用 MCP 服务器。MCP 服务器仅在 **页面操作** 已启用。要了解更多信息，请参阅 [已发布文档的 MCP 服务器](/docs/documentation/zh/wei-du-zhe-ti-gong-de-ai/mcp-servers-for-published-docs.md).

#### 在 GitHub/GitLab 上编辑

如果您的章节已连接到 Git 仓库，您可以在 **配置** 选项卡中启用此选项，以显示一个链接，让用户可以从您关联的仓库为您的文档做出贡献。

#### 导出 PDF

启用此选项可让访客 [导出 PDF](/docs/documentation/zh/fa-bu/pdf-export.md) 您的文档。

### 隐私政策

在 **隐私政策** 的部分中 **配置** 选项卡中，您可以链接到自己的隐私政策，帮助访客了解您的 GitBook 内容如何使用 Cookie 以及您如何保护他们的隐私。如果您选择不设置，您的站点将默认使用 [GitBook 的隐私政策](https://gitbook.com/docs/policies/privacy-and-security/statement/cookies).


---

# 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/customization/extra-configuration.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.
