> 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/toolbar-on-published-sites-and-site-previews.md).

# 已发布站点和站点预览中的工具栏

查看您的实时文档站点时，您可能会看到浏览器窗口底部出现一个工具栏。它可让您一键快速访问实用选项：

* 打开编辑器，查看并编辑您站点的内容
* 在 GitBook 中打开您站点的设置
* 打开您站点的自定义设置
* 打开站点分析

{% hint style="warning" %}
该工具栏 **仅对已登录的 GitBook 组织成员可见**. 不属于您 GitBook 组织的站点访客 **将不会看到工具栏**.
{% endhint %}

当您……时，还会看到略有不同版本的工具栏 [为您的站点打开预览 URL](/docs/documentation/zh/xie-zuo/change-requests.md#preview-a-change-request) 在 GitBook 应用中，这样您就可以跳回应用，添加反馈或继续编辑。

#### 工具栏何时出现？

在以下情况下，您会看到工具栏：

* 已登录 GitBook 时查看您的在线站点
* 通过您的……预览站点的较早版本 [版本历史记录](/docs/documentation/zh/chuang-jian-nei-rong/version-control.md)
* 预览拟议更改的链接，例如在……中 [变更请求](/docs/documentation/zh/xie-zuo/change-requests.md) 在 GitBook 中创建的，或通过……创建的拉取请求 [Git Sync](/docs/documentation/zh/wen-dang-ji-dai-ma/git-sync/github-pull-request-preview.md)

#### 为什么不显示工具栏？

如果您已登录 GitBook 但仍看不到工具栏，您的浏览器可能正在阻止第三方 Cookie。

该工具栏使用第三方 Cookie 来识别您在已发布文档站点或预览 URL 上的 GitBook 会话。如果您的浏览器阻止这些 Cookie，工具栏可能不会出现。

要显示工具栏，请在浏览器设置中为您的文档域名启用第三方 Cookie，然后重新加载页面。

{% hint style="info" %}
在隐私设置更严格的浏览器或扩展中，此问题更常见。
{% endhint %}

#### 我可以隐藏工具栏吗？

可以。点击工具栏上的最后一个按钮，您可以在不同选项之间选择，以更改工具栏的显示方式：

1. **最小化：** 这会将工具栏缩小为一个小圆球。要再次展开，只需单击它。
2. **在当前会话中关闭：** 在当前标签页中完全移除工具栏，直到您关闭它。
3. **不再显示：** 隐藏工具栏并记住您的选择。您可以通过清除浏览器的本地存储来恢复工具栏。

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


---

# 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/toolbar-on-published-sites-and-site-previews.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.
