From c7de9f81bae6bfbd20b911a36bbe89c1c9e0acdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Einar=20Gangs=C3=B8?= Date: Fri, 8 Jun 2018 09:29:50 +0200 Subject: [PATCH] Use same directory listing format --- docs/guide/basic-config.md | 12 ++++++------ docs/guide/i18n.md | 8 ++++---- docs/zh/guide/basic-config.md | 12 ++++++------ docs/zh/guide/i18n.md | 8 ++++---- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/guide/basic-config.md b/docs/guide/basic-config.md index 1d6f24c082..e333472466 100644 --- a/docs/guide/basic-config.md +++ b/docs/guide/basic-config.md @@ -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: diff --git a/docs/guide/i18n.md b/docs/guide/i18n.md index 15415fe0f8..6d717129bd 100644 --- a/docs/guide/i18n.md +++ b/docs/guide/i18n.md @@ -5,15 +5,15 @@ To leverage multi-language support in VuePress, you first need to use the following file structure: ``` -/ +. ├─ README.md ├─ foo.md -├─ /nested/ +├─ nested │  └─ README.md -└─ /zh/ +└─ zh ├─ README.md ├─ foo.md - └─ /zh/nested/ + └─ nested    └─ README.md ``` diff --git a/docs/zh/guide/basic-config.md b/docs/zh/guide/basic-config.md index 9306a9a610..3ac5f459d1 100644 --- a/docs/zh/guide/basic-config.md +++ b/docs/zh/guide/basic-config.md @@ -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 对象: diff --git a/docs/zh/guide/i18n.md b/docs/zh/guide/i18n.md index 4c462b95fa..69a5d9c0b4 100644 --- a/docs/zh/guide/i18n.md +++ b/docs/zh/guide/i18n.md @@ -5,15 +5,15 @@ 要启用 VuePress 的多语言支持,首先需要使用如下的文件结构: ``` -/ +. ├─ README.md ├─ foo.md -├─ /nested/ +├─ nested │  └─ README.md -└─ /zh/ +└─ zh ├─ README.md ├─ foo.md - └─ /zh/nested/ + └─ nested    └─ README.md ```