> 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/docs-site/publish-a-docs-site/share-links.md).

# 通过分享链接进行私密发布

{% hint style="info" %}
此功能适用于 [高级和终极站点方案](https://www.gitbook.com/pricing).
{% endhint %}

你可以使用共享链接，在无需邀请他们加入你的组织的情况下，私下与客户或合作伙伴分享你的内容。

### 使用共享链接发布

要私下发布你的文档，请前往 [文档站点的 ](/docs/documentation/zh/docs-site/site-settings.md)设置，点击 **受众设置** 按钮，然后选择 **共享链接** 选项。

接着，点击 **创建链接** 来创建一个共享链接。你可以查看并命名你的共享链接，自定义域名并复制链接。

一旦链接激活，系统会在你的 URL 中生成一个私密令牌，该令牌仅适用于你的章节。分享此链接后，非 GitBook 用户将只能以只读模式访问你的内容，界面看起来与其他已发布内容无异。

你可以根据需要从 **受众设置**.

{% hint style="info" %}
你可以 [撤销](#revoke-a-link) 并随时重新生成共享链接。
{% endhint %}

### 访问权限和权限

该内容将可供 **任何拥有该链接的人访问**。你的团队成员可以通过侧边栏中的 **文档站点** 部分访问你的内容，或直接导航到该内容。

### 撤销链接

你可以通过撤销共享链接来禁用或重新生成它。你可以通过打开可见性菜单并点击链接和域名设置，查看并撤销任何之前生成的链接。

一旦你撤销某个链接，任何使用该过期链接访问你内容的人都将不再有访问权限。


---

# 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/docs-site/publish-a-docs-site/share-links.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.
