Skip to content

Commit ff1e1e5

Browse files
eiganulivz
authored andcommitted
docs: use same directory listing format (#558)
1 parent 7331e0e commit ff1e1e5

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

Diff for: docs/guide/basic-config.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
Without any configuration, the page is pretty minimal, and the user has no way to navigate around the site. To customize your site, let's first create a `.vuepress` directory inside your docs directory. This is where all VuePress-specific files will be placed in. Your project structure is probably like this:
66

77
```
8-
cwd
9-
├─── docs
10-
├── README.md
11-
└── .vuepress
12-
└── config.js
13-
└─ package.json
8+
.
9+
├─ docs
10+
─ README.md
11+
─ .vuepress
12+
─ config.js
13+
└─ package.json
1414
```
1515

1616
The essential file for configuring a VuePress site is `.vuepress/config.js`, which should export a JavaScript object:

Diff for: docs/guide/i18n.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
To leverage multi-language support in VuePress, you first need to use the following file structure:
66

77
```
8-
/
8+
docs
99
├─ README.md
1010
├─ foo.md
11-
├─ /nested/
11+
├─ nested
1212
│  └─ README.md
13-
└─ /zh/
13+
└─ zh
1414
├─ README.md
1515
├─ foo.md
16-
└─ /zh/nested/
16+
└─ nested
1717
   └─ README.md
1818
```
1919

Diff for: docs/zh/guide/basic-config.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
如果没有任何配置,这个网站将会是非常局限的,用户也无法在你的网站上自由导航。为了更好地自定义你的网站,让我们首先在你的文档目录下创建一个 `.vuepress` 目录,所有 VuePress 相关的文件都将会被放在这里。你的项目结构可能是这样:
66

77
```
8-
cwd
9-
├─── docs
10-
├── README.md
11-
└── .vuepress
12-
└── config.js
13-
└─ package.json
8+
.
9+
├─ docs
10+
─ README.md
11+
─ .vuepress
12+
─ config.js
13+
└─ package.json
1414
```
1515

1616
一个 VuePress 网站必要的配置文件是 `.vuepress/config.js`,它应该导出一个 JavaScript 对象:

Diff for: docs/zh/guide/i18n.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
要启用 VuePress 的多语言支持,首先需要使用如下的文件结构:
66

77
```
8-
/
8+
docs
99
├─ README.md
1010
├─ foo.md
11-
├─ /nested/
11+
├─ nested
1212
│  └─ README.md
13-
└─ /zh/
13+
└─ zh
1414
├─ README.md
1515
├─ foo.md
16-
└─ /zh/nested/
16+
└─ nested
1717
   └─ README.md
1818
```
1919

0 commit comments

Comments
 (0)