Skip to content

Commit

Permalink
docs: use same directory listing format (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
eigan authored and ulivz committed Jun 9, 2018
1 parent 7331e0e commit ff1e1e5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions docs/guide/basic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
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:

```
cwd
├─── docs
├── README.md
└── .vuepress
└── config.js
└─ package.json
.
├─ docs
─ README.md
─ .vuepress
─ config.js
└─ package.json
```

The essential file for configuring a VuePress site is `.vuepress/config.js`, which should export a JavaScript object:
Expand Down
8 changes: 4 additions & 4 deletions docs/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
To leverage multi-language support in VuePress, you first need to use the following file structure:

```
/
docs
├─ README.md
├─ foo.md
├─ /nested/
├─ nested
│  └─ README.md
└─ /zh/
└─ zh
├─ README.md
├─ foo.md
└─ /zh/nested/
└─ nested
   └─ README.md
```

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

```
cwd
├─── docs
├── README.md
└── .vuepress
└── config.js
└─ package.json
.
├─ docs
─ README.md
─ .vuepress
─ config.js
└─ package.json
```

一个 VuePress 网站必要的配置文件是 `.vuepress/config.js`,它应该导出一个 JavaScript 对象:
Expand Down
8 changes: 4 additions & 4 deletions docs/zh/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
要启用 VuePress 的多语言支持,首先需要使用如下的文件结构:

```
/
docs
├─ README.md
├─ foo.md
├─ /nested/
├─ nested
│  └─ README.md
└─ /zh/
└─ zh
├─ README.md
├─ foo.md
└─ /zh/nested/
└─ nested
   └─ README.md
```

Expand Down

0 comments on commit ff1e1e5

Please sign in to comment.