> 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/layout-and-structure.md).

# レイアウトと構造

公開ドキュメントのレイアウトと構造をカスタマイズします

### ヘッダー

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FNWPGJajaYBgFbMaw9BtH%2FHeader%402x.png?alt=media&amp;token=50b141a9-ce44-4223-9ecf-930d003f8dd5" alt="A GitBook screenshot showing header customization settings"><figcaption></figcaption></figure>

**検索バー**

検索バーの位置と見た目を、目立つ表示（ヘッダー中央）と控えめな表示（右上隅）の間で変更できます。ヘッダーを完全にオフにすると、検索バーは代わりにサイドバーに表示されます。

**ナビゲーション**

サイトにヘッダーリンクを追加します。ヘッダーリンクを使ってドキュメントの重要な部分へ誘導したり、メインのWebサイトへ戻るリンクにしたりできます。

リンクの見た目を、通常リンク、プライマリボタン、セカンダリボタンから選べます。有効にすると、各リンクにタイトルとURLを追加するだけです。ヘッダーナビゲーションは2階層まで対応しているため、ドロップダウンメニューに表示されるサブリンクを設定できます。

使用 `localizedTitle` サイト、セクション、セクショングループのタイトルとあわせて、ヘッダーリンクとボタンのタイトルをローカライズするために。

### お知らせ <picture><source srcset="/files/5v7vLpEB0s9GQaH8Au0V" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FWng01hYenprJGPUfEWma%2FEssential%20Badge%20Light.png?alt=media&amp;token=80159365-1cab-4b3c-96d9-72f2c8d752e6" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture>

このオプションをオンにすると、公開サイトの上部にお知らせバナーを追加できます。メッセージを追加し、必要に応じてリンクと行動喚起を含めることもでき、バナー内ではメッセージの後に表示されます。

ヒントブロックと同じオプションを使って、お知らせのスタイルも変更できます。情報、警告、危険、成功です。これらのスタイルの色は、セマンティックカラーの設定によって決まります。

### ページネーション

セクション内の各ページ下部に表示される「前へ」「次へ」ボタンの表示を制御します。特定のページごとにもこの機能を設定できます。

### フッター <picture><source srcset="/files/5v7vLpEB0s9GQaH8Au0V" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FWng01hYenprJGPUfEWma%2FEssential%20Badge%20Light.png?alt=media&amp;token=80159365-1cab-4b3c-96d9-72f2c8d752e6" alt=""></picture> <picture><source srcset="/files/iRBqMn8OAyswwIZUIKbS" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FQwF4B36BprLKQ98G1vS8%2FUltimate%20Badge%20Light.png?alt=media&amp;token=7e677b59-1a60-47b1-9440-4c21367dedc5" alt=""></picture>

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FRJ8f0ZFhDWvoEmiBB0os%2FFooter%402x.png?alt=media&amp;token=8f7fd01b-e3ec-4c39-8cba-5691aecf623a" alt="A GitBook screenshot showing footer customization settings"><figcaption></figcaption></figure>

**ロゴ**

フッターにロゴや別の画像を追加します。

**著作権テキスト**

フッターに著作権情報を追加します。

**ナビゲーション**

フッターにリンクを追加し、複数のセクションに整理します。ヘッダーと同様に、各リンクにタイトルとURLを追加し、リンクの各グループにセクションタイトルを含めます。

使用 `localizedTitle` サイト、セクション、セクショングループのタイトルとあわせて、フッターリンクとグループタイトルをローカライズするために。


---

# 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/layout-and-structure.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.
