Skip to content

Commit 30c55ef

Browse files
committed
update
1 parent 53af2f5 commit 30c55ef

File tree

4 files changed

+9
-267
lines changed

4 files changed

+9
-267
lines changed

book/src/SUMMARY.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Summary
22

33
- [简介](./chapter_0.md)
4+
- [工具和环境配置](./chapter_1.md)
45

5-
## 参与开发
6+
# 其他
67

7-
- [参与开发](./dev/chapter_0.md)
8+
- [参与开发](./other/chapter_0.md)

book/src/chapter_1.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 工具安装与环境配置
22

3-
本章节介绍如果安装d2x工具并创建模板项目, 以及基础的环境配置
3+
本章节介绍如果安装d2x工具并获取项目
44

55
## 一、安装d2x工具
66

@@ -39,31 +39,17 @@ xlings install d2x
3939

4040
TODO...
4141

42-
## 二、创建项目 & 测试
42+
## 二、获取项目
4343

44-
### 创建项目
45-
46-
**通过模块创建(推荐)**
47-
48-
点击 [新建教程模板](https://github.com/new?template_name=d2x-project-template&template_owner=d2learn) 按钮, 通过模板仓库创建新教程项目. 然后, 再把生成的仓库clone到本地
44+
### 安装项目
4945

5046
```bash
51-
git clone git@github.com:your_name/your_repo_name.git
52-
```
53-
54-
**本地创建**
55-
56-
通过`d2x new xxx`命令创建一个新项目
57-
47+
d2x install mcpp-start
5848
```
59-
d2x new d2hello
60-
```
61-
62-
命令运行后会生成一个叫`d2hello`的目录, 进入/打开这个目录就能看到项目的基础结构
6349

64-
### 测试
50+
### 用法
6551

66-
进入新创建项目的根目录, 运行命令进行测试完整性
52+
进入项目的根目录, 运行命令进行使用
6753

6854
**查看文档命令测试**
6955

book/src/chapter_2.md

Lines changed: 0 additions & 245 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)