Skip to content

Commit 6f7a801

Browse files
committed
update readme & rename d2x create -> d2x new
1 parent 1e94ba6 commit 6f7a801

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
> d2x交互式教程项目模板 - `Book + Video + Code + X`
44
55
[![d2x](https://img.shields.io/badge/d2x-ok-green.svg)](https://github.com/d2learn/d2x)
6+
[![online-ebook](https://img.shields.io/badge/online-ebook-orange.svg)](https://github.com/d2learn/d2x)
67
[![License](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](LICENSE-CODE)
78

89
| [d2x工具](https://github.com/d2learn/d2x) - [论坛](https://forum.d2learn.org) |
910
| --- |
10-
| [文档](https://d2learn.github.io/d2x-project-template) -> [工具和环境配置](https://github.com/d2learn/d2x) -> [项目和新内容添加](https://forum.d2learn.org) |
11+
| [文档](https://d2learn.github.io/d2x-project-template) -> [工具和环境配置](https://d2learn.github.io/d2x-project-template/chapter_1.html) -> [项目和新内容添加](https://d2learn.github.io/d2x-project-template/chapter_2.html) |
1112

1213
该项目提供了一个, 可以被[d2x](https://github.com/d2learn/d2x)工具识别和加载的**交互式教程项目**的基础结构. 开发者和教程创作者, 可以基于这个模板来设计开发自己的交互式教程项目
1314

book/src/chapter_1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ TODO...
4343

4444
### 创建项目
4545

46-
通过`d2x create xxx`命令创建一个新项目
46+
通过`d2x new xxx`命令创建一个新项目
4747

4848
```
49-
d2x create d2hello
49+
d2x new d2hello
5050
```
5151

5252
命令运行后会生成一个叫`d2hello`的目录, 进入/打开这个目录就能看到项目的基础结构

0 commit comments

Comments
 (0)