> 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/customization/sharing-and-social.md). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# 分享与社交

自定义站点的社交账号元数据和分享选项

### 社交账号

你可以在 **分享** 选项卡中，将社交账号添加到网站的元数据和页脚。

点击 **+ 添加账号** 并从内置选项列表中选择账号类型，例如 X、GitHub、LinkedIn、Discord 和 Bluesky。在此菜单中添加社交账号，也会将其添加到网站的元数据中。

对于每个社交账号，你可以单独开启或关闭它在文档网站页脚中的显示，而不会影响元数据。

<figure><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-2b939c06eb06ed0a8846cf3914ce7876d2fa7ccd%2F26_01_23_social_accounts%402x.png?alt=media" alt="Social accounts settings in Site customization"><figcaption></figcaption></figure>

### 社交预览

你可以在此处为网站上传自定义社交预览图片。这会将网站的 `og:image` 设置为你上传的图片。当网站链接分享到 Slack 或 X 等支持 OpenGraph 图片的平台或产品时，这张图片就会显示出来。

如果你没有添加社交预览，GitBook 会根据主题颜色、页面标题和描述自动生成一张。

如果你的网站包含多个 [网站分区](https://gitbook.com/docs/documentation/zh/manage-your-site/site-structure/site-sections.md)，你可以使用“自定义”页面顶部的下拉菜单在各个分区之间切换，并为每个分区添加自定义社交预览图片。


---

# 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/customization/sharing-and-social.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.
