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..a051f2e9e7 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: ``` -/ +docs ├─ 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..a4d159a7ba 100644 --- a/docs/zh/guide/i18n.md +++ b/docs/zh/guide/i18n.md @@ -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 ```