> 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/kontentsuwo/content-structure/space.md).

# セクション

セクションは、関連するページのセットを作業するサイト内の一部です。セクションを使うと、コンテンツの作成、ページの整理、連携の追加などを行えます。各セクションはサイトに属しており、関連するセクションをグループにまとめることができます。

{% hint style="info" %}
GitBook APIでは、セクションは `space` オブジェクトとして表されます。これはAPI統合やGit Syncには影響しません。
{% endhint %}

<figure><img src="/files/14f0c50855cc91cc2625077e29bcf5124b3f6072" alt="A GitBook screenshot showing a site&#x27;s content tree in the sidebar"><figcaption></figcaption></figure>

### セクションを作成する

1. サイトで、次をクリックします **追加…**.
2. クリックして **新しいセクション**.

サイトの最上位またはグループ内にセクションを作成します。新しいセクションは **下書き**：サイトの一部として扱われ、チームが編集できますが、公開するまで訪問者には表示されません。

セクションのヘッダーにある名前にカーソルを合わせて、セクション名を編集します。

### 下書きのセクションを公開する

1. セクションの **アクションメニュー** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="/files/3489a3405c2f5c8e7f31c02ff44e42d2e3e8dbf6" alt="The Actions menu icon in GitBook"></picture>.
2. クリックして **公開**.

または、構造エディターから複数の下書きを一度に公開します。

サイト上で下書きがどのように表示されるかを確認するには、サイトプレビューを **公開中** 、 **公開中 + 下書き**.

### セクションを複製する

1. セクションの **アクションメニュー** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="/files/3489a3405c2f5c8e7f31c02ff44e42d2e3e8dbf6" alt="The Actions menu icon in GitBook"></picture>.
2. クリックして **複製**.

セクションを複製すると、元のセクションのコピーが同じ場所（サイトまたはグループ）に作成されます。

{% hint style="warning" %}
セクションを複製すると、元のセクションのコンテンツがコピーされます。リビジョンやバージョン履歴はコピーされません。
{% endhint %}

### セクションを移動または並べ替える

サイドバーのコンテンツツリーは読み取り専用です。セクションをグループに入れたり外したり、並べ替えたりするには：

1. を開き **構造エディター**.
2. セクションを新しい位置にドラッグします。

変更はサイドバー、そして公開済みサイトにすぐ反映されます。

### セクションを削除する

1. セクションの **アクションメニュー** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="/files/3489a3405c2f5c8e7f31c02ff44e42d2e3e8dbf6" alt="The Actions menu icon in GitBook"></picture>.
2. クリックして **削除**.

{% hint style="warning" %}
**削除したセクションは、ゴミ箱から最大7日間復元できます。** それ以降は、GitBookが完全に削除します。
{% 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 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/ja-gitbook-documentation/kontentsuwo/content-structure/space.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.
