Skip to content

Commit 06fa195

Browse files
refactor: To en version (#10)
1 parent 16e26b0 commit 06fa195

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

book/src/setup.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# 工具安装与环境配置
1+
# Tool installation and environment configuration
22

3-
本章节介绍如果安装d2x工具并创建模板项目, 以及基础的环境配置
3+
This chapter introduces how to install the d2x tool, create a template project, and set up the basic environment.
44

5-
## 一、安装d2x工具
5+
## 1. Install d2x tool
66

7-
### 方法1: 通过xlings包管理器安装 (推荐)
7+
### 1.1 Install via the xlings package manager (recommended)
88

9-
[xlings](https://xlings.d2learn.org)开源包管理器, 可以解决不同环境依赖不一致的问题
9+
[xlings](https://xlings.d2learn.org)An open-source package manager that can solve the problem of inconsistent dependencies across different environments
1010

1111
<details>
12-
<summary>点击查看xlings安装命令</summary>
12+
<summary>Click to view the installation command for xlings</summary>
1313

1414
---
1515

@@ -35,21 +35,21 @@ irm https://d2learn.org/xlings-install.ps1.txt | iex
3535
xlings install d2x
3636
```
3737

38-
## 二、书籍和代码检测
38+
## 2. Book and Code Inspection
3939

40-
进入当前项目的根目录, 运行命令进行测试
40+
Enter the root directory of the current project and run the command for testing.
4141

42-
**查看文档命令**
42+
**View Document Command**
4343

44-
运行下面命令后会在浏览器打开新项目的文档/书籍
44+
After running the following command, the documentation/book of the new project will be opened in the browser
4545

4646
```
4747
d2x book
4848
```
4949

50-
**代码自动检测功能**
50+
**Code auto-detection function**
5151

52-
运行下面的checker命令, 可以看到控制台进入实时代码检测模式, 修改文件代码, 控制台会自动更新
52+
By running the checker command below, you can see that the console enters real-time code detection mode. As you modify the file code, the console will automatically update
5353

5454
```
5555
d2x checker

0 commit comments

Comments
 (0)