> 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/kontentsuwosuru/content-structure/space.md). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# セクション

セクションとは、関連するページのまとまりを編集するサイト内の領域です。セクションでは、コンテンツの作成、ページの整理、インテグレーションの追加などを行えます。すべてのセクションはサイトに属し、関連するセクションをグループにまとめることもできます。

{% 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%2Fgit-blob-08a3f52de1b1c0f0023784375a8894202b64e9cd%2F25_12_10_creating_content_content_structure_space%402x.png?alt=media" alt="A GitBook screenshot showing a site&#x27;s content tree in the sidebar"><figcaption></figcaption></figure>

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

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

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

セクションヘッダーで名前にカーソルを合わせると、セクション名を編集できます。

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

1. セクションの **アクションメニュー** <picture><source srcset="broken://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%2Fgit-blob-aabbca522107ef561981bdfe5af94605b31e0920%2F25_01_10_actions_icon_light.svg?alt=media" alt="The Actions menu icon in GitBook"></picture>.
2. 次の項目をクリックします： **公開**.

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

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

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

1. セクションの **アクションメニュー** <picture><source srcset="broken://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%2Fgit-blob-aabbca522107ef561981bdfe5af94605b31e0920%2F25_01_10_actions_icon_light.svg?alt=media" alt="The Actions menu icon in GitBook"></picture>.
2. クリックします **複製**.

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

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

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

サイドバーのコンテンツツリーは読み取り専用です。セクションをグループに移動したり、グループから移動したり、セクションの順序を変更したりするには、次の操作を行います。

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

変更はサイドバーと公開済みのサイトにすぐに反映されます。

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

1. セクションの **アクションメニュー** <picture><source srcset="broken://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%2Fgit-blob-aabbca522107ef561981bdfe5af94605b31e0920%2F25_01_10_actions_icon_light.svg?alt=media" 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 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/kontentsuwosuru/content-structure/space.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.
