# レイアウトと構成

### ヘッダー

<figure><img src="/files/f3435c390b928c393ede84d72b3258a9ba495bfa" alt="A GitBook screenshot showing header customization settings"><figcaption></figcaption></figure>

**検索バー**

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

**ナビゲーション**

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

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

### お知らせ（Premium & Ultimate）

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

また、ヒントブロックと同じオプションを使ってお知らせのスタイルを変更できます。Info、Warning、Danger、Successです。これらのスタイルの色は、セマンティックカラーの設定によって決まります。

### ページネーション

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

### フッター（Premium & Ultimate）

<figure><img src="/files/c2d97877f341119d908b5860665891c20c05f2ef" alt="A GitBook screenshot showing footer customization settings"><figcaption></figcaption></figure>

**ロゴ**

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

**著作権表示**

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

**ナビゲーション**

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


---

# Agent Instructions: 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:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/docs-site/customization/layout-and-structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
