> For the complete documentation index, see [llms.txt](https://wangtingzheng.gitbook.io/minecraft-source-code-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wangtingzheng.gitbook.io/minecraft-source-code-wiki/ke-qian-yu-xi/duo-ren-he-zuo/bian-xie-ben-wiki.md).

# 编写本Wiki

## 准备

* 注册[Github](https://github.com)账号
* 注册[Gitbook](https://www.gitbook.com/)账号（以Github登录）

## 导入项目

* fork走本项目的[源代码](https://github.com/WangTingZheng/Minecraft-Source-Code-Wiki)到你的账号下
* 创建一个叫Minecraft Source Code Wiki的空间

![创建项目空间](/files/-MDsVa4u6i5j2MaTgMF_)

* 开启Github集成

![Github集成](/files/-MDsWN4cnX6XSBNnWlfo)

* 列从Github中所有的项目

![列出所有项目](/files/-MDsWOIbrcakdzONBuvi)

* 选择刚才fork的项目：Minecraft-Source-Code-Wiki

![选择项目仓库](/files/-MDsWPMyDNJB5Jjjt7Ff)

* 选择导入master分支

![选择主分支](/files/-MDsYHQI6ONFEx-9f9NO)

* 选择从Github

![选择从GitHub导入到gitbook](/files/-MDsYOPfChCaShwVsDoC)

## 保存与发布

当你改变本项目中的一些内容时，页面左下方会出现保存按钮：

![gitbook的保存按钮](/files/-MDsYpsJtrA8l1UtfvOd)

当你保存好所有的改动后，原来的`Save`按钮将会变成`Merge`按钮，此时点击它就会把更新推送到Github上，并供其他人公共地访问：

![推送（合并）功能](/files/-MDsZKOx-EBS9vFxl9b3)

## 提交更新到本项目

如果你想让你的修改应用到本页面中，你可以点击[这里](https://github.com/WangTingZheng/Minecraft-Source-Code-Wiki/compare) 并点击compare across forks，显示你的更新：

![](/files/-MDs_v-uuN-HOUbTR0wH)

以此来提交一个Pull request，请简要概述一下你所做的工作，我收到你的Pull request将对你的工作进行审核，审核通过后我将把它应用到本页面中，供所有人访问。

## Gitbook在线合作编写

gitbook的在线合作编写是[收费功能](https://www.gitbook.com/pricing)，每个月每人8美元，也就是55.7825元￥（2020-8-4），如果您喜欢这种更加高效的合作模式，请赞助我们8美元：

![paycode](/files/-MDsdVAvigEmNzhcsPIg)


---

# 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:

```
GET https://wangtingzheng.gitbook.io/minecraft-source-code-wiki/ke-qian-yu-xi/duo-ren-he-zuo/bian-xie-ben-wiki.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
