> 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/ja-gitbook-documentation/manage-your-site/customization/toolbar-on-published-sites-and-site-previews.md). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# 公開サイトとサイトプレビューのツールバー

GitBook にログインしているときに公開サイトに表示されるツールバーについて詳しく学びましょう

公開中のドキュメントサイトを表示すると、ブラウザーウィンドウの下部にツールバーが表示されることがあります。クリックするだけで便利なオプションにすばやくアクセスできます。

* エディターを開いて、サイトのコンテンツを表示・編集する
* GitBookでサイトの設定を開く
* サイトのカスタマイズ設定を開く
* サイトのアナリティクスを開く

{% hint style="warning" %}
ツールバーが表示されるのは、 **GitBook組織にログインしているメンバーのみです**。GitBook組織のメンバーではないサイト訪問者には、 **ツールバーは表示されません**.
{% endhint %}

また、 [サイトのプレビューURLを開く](https://gitbook.com/docs/documentation/ja-gitbook-documentation/collaborate/change-requests.md#preview-a-change-request) 際にも、少し異なるバージョンのツールバーが表示されます。GitBookアプリに戻ってフィードバックを追加したり、編集を続けたりできます。

#### ツールバーはいつ表示されますか？

次のような場合にツールバーが表示されます。

* GitBookにログインした状態で公開中のサイトを表示しているとき
* サイトの以前のバージョンを、 [バージョン履歴](https://gitbook.com/docs/documentation/ja-gitbook-documentation/kontentsuwosuru/version-control.md)
* 変更提案のプレビューリンクを表示しているとき（たとえば、 [変更リクエスト](https://gitbook.com/docs/documentation/ja-gitbook-documentation/collaborate/change-requests.md) （GitBookで作成）や、 [Git Sync](https://gitbook.com/docs/documentation/ja-gitbook-documentation/docs-as-code/git-sync/github-pull-request-preview.md)

#### ツールバーが表示されないのはなぜですか？

GitBookにログインしているのにツールバーが表示されない場合は、ブラウザーでサードパーティCookieがブロックされている可能性があります。

ツールバーは、公開済みのドキュメントサイトまたはプレビューURLでGitBookのセッションを認識するために、サードパーティCookieを使用します。ブラウザーでこれらのCookieがブロックされていると、ツールバーが表示されない場合があります。

ツールバーを表示するには、ブラウザーの設定でドキュメントのドメインに対するサードパーティCookieを有効にしてから、ページを再読み込みしてください。

{% hint style="info" %}
プライバシー設定が厳しいブラウザーや拡張機能では、この問題がより頻繁に発生します。
{% endhint %}

#### ツールバーを非表示にできますか？

はい。ツールバーの最後のボタンをクリックすると、ツールバーの表示方法を変更するオプションを選べます。

1. **最小化：** ツールバーが小さな円形アイコンになります。再び展開するには、そのアイコンをクリックします。
2. **このセッション中は閉じる：** 現在のタブでツールバーを完全に非表示にします。タブを閉じるまで非表示のままです。
3. **今後表示しない：** ツールバーを非表示にし、この設定を記憶します。ブラウザーのローカルストレージを消去すると、ツールバーを再び表示できます。

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-6bdab2134fc5c5c3047b258a681ca0870c432b15%2F25_10_16_gitbook_ui_preview_toolbar%402x.jpg?alt=media" 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 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/ja-gitbook-documentation/manage-your-site/customization/toolbar-on-published-sites-and-site-previews.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.
