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

# セクション

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

{% hint style="info" %}
GitBook API では、セクションは `スペース` オブジェクトとして表されます。これは 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/creating-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.
