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

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

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

您可以使用共享链接，私密地与客户或合作伙伴分享您的内容，而无需邀请他们加入您的组织。

### 使用共享链接发布

若要私密发布文档，请前往 [文档站点的设置](https://gitbook.com/docs/documentation/zh/manage-your-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 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/publish/site-audience/share-links.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.
