> 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/fa-bu/site-audience/share-links.md).

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

更精细地控制谁可以查看你已发布的 GitBook 文档

你可以通过分享链接，在无需邀请客户或合作伙伴加入你的组织的情况下，私密地分享你的内容。

### 使用分享链接发布

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

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

一旦链接生效，系统会在你的 URL 中生成一个私有令牌，它对你的该部分内容是唯一的。分享此链接后，非 GitBook 用户将只能以只读模式访问你的内容，界面与其他已发布内容看起来相同。

你可以根据需要生成任意数量的链接， **受众设置**.

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

### 访问与权限

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

### 撤销链接

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

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


---

# 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/fa-bu/site-audience/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.
