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

# セクション

セクションは、関連するページ群に取り組むサイト内の一部です。セクションでは、コンテンツの作成、ページの整理、統合の追加などを行えます。各セクションはサイトに属しており、関連するセクションをグループにまとめて整理できます。

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

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FHaZz8c6V8LYpNM6ZLHlv%2Fcreating-content-content-structure-space%402x.png?alt=media&amp;token=085393dd-d9a9-4400-8812-7436ebf8bbc5" 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="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F89MTSo5XRpPMVr1T0rxS%2Factions.svg?alt=media&amp;token=2b5d001e-560a-4f29-8d22-de8163725ca1" alt="The Actions menu icon in GitBook"></picture>.
2. クリックして **公開**.

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

下書きがサイト上でどのように表示されるかをプレビューするには、サイトプレビューを次の間で切り替えます **公開** 、 **公開 + 下書き**.

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

1. セクションの〜を開きます **アクションメニュー** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F89MTSo5XRpPMVr1T0rxS%2Factions.svg?alt=media&amp;token=2b5d001e-560a-4f29-8d22-de8163725ca1" 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="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F89MTSo5XRpPMVr1T0rxS%2Factions.svg?alt=media&amp;token=2b5d001e-560a-4f29-8d22-de8163725ca1" 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/create-content/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.
