From 9521ac49a77010f369240a9fa9e7ae97cd7cf166 Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Wed, 14 Nov 2018 00:31:30 +0800 Subject: [PATCH] docs($cn): sync plugin --- packages/docs/docs/plugin/README.md | 6 +++--- packages/docs/docs/plugin/official/plugin-back-to-top.md | 2 +- packages/docs/docs/zh/plugin/README.md | 8 ++++---- .../docs/zh/plugin/official/plugin-active-header-links.md | 3 ++- .../docs/docs/zh/plugin/official/plugin-back-to-top.md | 3 ++- packages/docs/docs/zh/plugin/official/plugin-blog.md | 3 ++- .../docs/zh/plugin/official/plugin-google-analytics.md | 3 ++- packages/docs/docs/zh/plugin/official/plugin-i18n-ui.md | 3 ++- .../docs/docs/zh/plugin/official/plugin-last-updated.md | 3 ++- .../docs/docs/zh/plugin/official/plugin-medium-zoom.md | 3 ++- .../docs/docs/zh/plugin/official/plugin-pagination.md | 3 ++- packages/docs/docs/zh/plugin/official/plugin-pwa.md | 3 ++- packages/docs/docs/zh/plugin/official/plugin-search.md | 3 ++- 13 files changed, 28 insertions(+), 18 deletions(-) diff --git a/packages/docs/docs/plugin/README.md b/packages/docs/docs/plugin/README.md index 7c295b4929..9b4684ac71 100644 --- a/packages/docs/docs/plugin/README.md +++ b/packages/docs/docs/plugin/README.md @@ -2,9 +2,9 @@ Plugins usually add global-level functionality to VuePress. There is no strictly defined scope for a plugin - there are typically several types of plugins: -1. Extend the data generated at compile time. e.g. [@vuepress/plugin-last-updated](./official/plugin-last-updated.md). -2. Generate extra files before or after compilation. e.g. [@vuepress/plugin-pwa](./official/plugin-pwa.md). -3. Add extra pages. e.g. [@vuepress/plugin-i18n-ui](./official/plugin-i18n-ui.md). +1. Extend the data generated at compile time. e.g. [@vuepress/plugin-last-updated](./official/plugin-last-updated.md); +2. Generate extra files before or after compilation. e.g. [@vuepress/plugin-pwa](./official/plugin-pwa.md); +3. Add extra pages. e.g. [@vuepress/plugin-i18n-ui](./official/plugin-i18n-ui.md); 4. Inject global UI. e.g. [@vuepress/plugin-back-to-top](./official/plugin-back-to-top.md). ![Architecture of VuePress](/architecture.png) diff --git a/packages/docs/docs/plugin/official/plugin-back-to-top.md b/packages/docs/docs/plugin/official/plugin-back-to-top.md index 8aceda1da3..f00d9dc9f0 100644 --- a/packages/docs/docs/plugin/official/plugin-back-to-top.md +++ b/packages/docs/docs/plugin/official/plugin-back-to-top.md @@ -1,6 +1,6 @@ --- title: back-to-top -metaTitle: Back-To-Top | VuePress +metaTitle: Back-To-Top Plugin | VuePress --- # [@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-back-to-top) diff --git a/packages/docs/docs/zh/plugin/README.md b/packages/docs/docs/zh/plugin/README.md index 7181a36c37..4edd329080 100644 --- a/packages/docs/docs/zh/plugin/README.md +++ b/packages/docs/docs/zh/plugin/README.md @@ -2,9 +2,9 @@ 插件通常会为 VuePress 添加全局功能。插件的范围没有限制——一般有下面几种: -1. 拓展在编译期生成的数据,如:[@vuepress/plugin-last-updated](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-last-updated). -2. 在编译前后生成额外的文件,如:[@vuepress/plugin-pwa](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-pwa) -3. 增加额外的页面,如:[@vuepress/plugin-i18n-ui](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-i18n-ui) -4. 注入全局的 UI, 如:[@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-back-to-top). +1. 拓展在编译期生成的数据,如:[@vuepress/plugin-last-updated](./official/plugin-last-updated.md); +2. 在编译前后生成额外的文件,如:[@vuepress/plugin-pwa](./official/plugin-pwa.md); +3. 增加额外的页面,如:[@vuepress/plugin-i18n-ui](./official/plugin-i18n-ui.md); +4. 注入全局的 UI, 如:[@vuepress/plugin-back-to-top](./official/plugin-back-to-top.md)。 ![Architecture of VuePress](/architecture.png) diff --git a/packages/docs/docs/zh/plugin/official/plugin-active-header-links.md b/packages/docs/docs/zh/plugin/official/plugin-active-header-links.md index d45578167a..ad92eed8fe 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-active-header-links.md +++ b/packages/docs/docs/zh/plugin/official/plugin-active-header-links.md @@ -1,8 +1,9 @@ --- title: active-header-links +metaTitle: Active-Header-Links 插件 | VuePress --- -# @vuepress/plugin-active-header-links +# [@vuepress/plugin-active-header-links](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-active-header-linksd) > 页面滚动时自动更新标题链接的插件 ## Install diff --git a/packages/docs/docs/zh/plugin/official/plugin-back-to-top.md b/packages/docs/docs/zh/plugin/official/plugin-back-to-top.md index 598ed781a4..5d06146a46 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-back-to-top.md +++ b/packages/docs/docs/zh/plugin/official/plugin-back-to-top.md @@ -1,8 +1,9 @@ --- title: back-to-top +metaTitle: Back-To-Top 插件 | VuePress --- -# @vuepress/plugin-back-to-top +# [@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-back-to-top) > back-to-top 插件. diff --git a/packages/docs/docs/zh/plugin/official/plugin-blog.md b/packages/docs/docs/zh/plugin/official/plugin-blog.md index 86c4f20165..e9aa14b9b1 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-blog.md +++ b/packages/docs/docs/zh/plugin/official/plugin-blog.md @@ -1,8 +1,9 @@ --- title: blog +metaTitle: Blog 插件 | VuePress --- -# @vuepress/plugin-blog +# [@vuepress/plugin-blog](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-blog) > 博客插件 diff --git a/packages/docs/docs/zh/plugin/official/plugin-google-analytics.md b/packages/docs/docs/zh/plugin/official/plugin-google-analytics.md index 32cabd812a..4b59cd4e28 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-google-analytics.md +++ b/packages/docs/docs/zh/plugin/official/plugin-google-analytics.md @@ -1,8 +1,9 @@ --- title: google-analytics +metaTitle: Google Analytics 插件 | VuePress --- -# @vuepress/plugin-google-analytics +# [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-google-analytics) > Google analytics 插件 diff --git a/packages/docs/docs/zh/plugin/official/plugin-i18n-ui.md b/packages/docs/docs/zh/plugin/official/plugin-i18n-ui.md index 0448c928c3..9ca9e1476e 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-i18n-ui.md +++ b/packages/docs/docs/zh/plugin/official/plugin-i18n-ui.md @@ -1,8 +1,9 @@ --- title: i18n-ui +metaTitle: I18n-UI 插件 | VuePress --- -# @vuepress/plugin-i18n-ui +# [@vuepress/plugin-i18n-ui](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-i18n-ui) > i18n-ui 插件。 diff --git a/packages/docs/docs/zh/plugin/official/plugin-last-updated.md b/packages/docs/docs/zh/plugin/official/plugin-last-updated.md index 7c36bcccf4..ccbcd3e51f 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-last-updated.md +++ b/packages/docs/docs/zh/plugin/official/plugin-last-updated.md @@ -1,8 +1,9 @@ --- title: last-updated +metaTitle: Last-Updated 插件 | VuePress --- -# @vuepress/plugin-last-updated +# [@vuepress/plugin-last-updated](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-last-updated) > last-updated 插件。 diff --git a/packages/docs/docs/zh/plugin/official/plugin-medium-zoom.md b/packages/docs/docs/zh/plugin/official/plugin-medium-zoom.md index ed1bfb2592..dca9f34cc2 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-medium-zoom.md +++ b/packages/docs/docs/zh/plugin/official/plugin-medium-zoom.md @@ -1,8 +1,9 @@ --- title: medium-zoom +metaTitle: Medium-Zoom 插件 | VuePress --- -# @vuepress/plugin-medium-zoom +# [@vuepress/plugin-medium-zoom](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-medium-zoom) > [medium-zoom](https://github.com/francoischalifour/medium-zoom) 插件 diff --git a/packages/docs/docs/zh/plugin/official/plugin-pagination.md b/packages/docs/docs/zh/plugin/official/plugin-pagination.md index e3dc483627..0c749e5a9b 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-pagination.md +++ b/packages/docs/docs/zh/plugin/official/plugin-pagination.md @@ -1,8 +1,9 @@ --- title: pagination +metaTitle: Pagination 插件 | VuePress --- -# @vuepress/plugin-pagination +# [@vuepress/plugin-pagination](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-pagination) > 分页器插件 diff --git a/packages/docs/docs/zh/plugin/official/plugin-pwa.md b/packages/docs/docs/zh/plugin/official/plugin-pwa.md index d1ede6ba09..4f5c738f4a 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-pwa.md +++ b/packages/docs/docs/zh/plugin/official/plugin-pwa.md @@ -1,8 +1,9 @@ --- title: pwa +metaTitle: PWA 插件 | VuePress --- -# @vuepress/plugin-pwa +# [@vuepress/plugin-pwa](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-pwa) > PWA 插件 diff --git a/packages/docs/docs/zh/plugin/official/plugin-search.md b/packages/docs/docs/zh/plugin/official/plugin-search.md index 4bd4a332b1..b1a351474a 100644 --- a/packages/docs/docs/zh/plugin/official/plugin-search.md +++ b/packages/docs/docs/zh/plugin/official/plugin-search.md @@ -1,8 +1,9 @@ --- title: search +metaTitle: Search 插件 | VuePress --- -# @vuepress/plugin-search +# [@vuepress/plugin-search](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-search) > 基于 [Headers](../../miscellaneous/glossary.md#headers) 的搜索插件