> 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).

# 章节

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

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

<figure><img src="/files/a0b7d3d09be72b916603f0a7219fa162a728db2b" 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/d05670ba93b683794fb3fe95a9fc7ab5c7fceafd" alt="The Actions menu icon in GitBook"></picture>.
2. 点击 **发布**.

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

若要预览草稿在您网站上的显示效果，请在网站预览之间切换 **实时** 并 **实时 + 草稿**.

### 复制部分

1. 打开该部分的 **操作菜单** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="/files/d05670ba93b683794fb3fe95a9fc7ab5c7fceafd" 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/d05670ba93b683794fb3fe95a9fc7ab5c7fceafd" 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/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.
