> 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/zh/chuang-jian-nei-rong/content-structure/space.md).

# 分区

Section 是你网站中用于处理一组相关页面的部分。Section 让你可以撰写内容、组织页面、添加集成等。每个 section 都属于某个 site，你可以将相关的 section 组织成组。

{% hint style="info" %}
GitBook API 将 section 表示为 `space` 对象。这对 API 集成或 Git Sync 没有影响。
{% endhint %}

<figure><img src="https://2111890564-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>

### 创建 section

1. 在你的网站中，点击 **添加…**.
2. 点击 **新建分区**.

在你网站的顶层或某个组内创建一个 section。新建的 section 起初为 **草稿**：是你网站的一部分，可由你的团队编辑，但在发布之前访客看不到。

将鼠标悬停在 section 标题中的名称上即可编辑 section 的名称。

### 发布草稿 section

1. 打开该 section 的 **操作菜单** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="https://2111890564-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. 点击 **发布**.

或者在结构编辑器中一次发布多个草稿。

要预览草稿在你网站上的显示效果，请在以下之间切换网站预览： **实时** 以及 **实时 + 草稿**.

### 复制 section

1. 打开该 section 的 **操作菜单** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="https://2111890564-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. 点击 **复制**.

复制 section 会在相同位置（site 或 group）创建源 section 的副本。

{% hint style="warning" %}
复制 section 会复制源 section 中的内容，但不会复制修订或版本历史记录。
{% endhint %}

### 移动或重新排序 section

侧边栏中的内容树为只读。要将 section 移入或移出某个组，或重新排序 section：

1. 打开 **结构编辑器**.
2. 将 section 拖到新位置。

更改会立即反映到侧边栏——以及你已发布的网站上。

### 删除 section

1. 打开该 section 的 **操作菜单** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="https://2111890564-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" %}
**已删除的 section 可在废纸篓中保留最多 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/zh/chuang-jian-nei-rong/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.
