From 20d60c401f96a7fb5a78bbd7007f9522c226a0b1 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Wed, 31 May 2017 08:39:01 +0800 Subject: [PATCH] docs(write-a-plugin): update demo --- CHANGELOG.md | 6 ++++++ docs/de-de/write-a-plugin.md | 2 +- docs/write-a-plugin.md | 2 +- docs/zh-cn/write-a-plugin.md | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18a1bf5..6969e99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 4.1.8(since 4.1.1) / 2017-05-31 + + * fix(pure-css):add coverpage style, fixed #165 + * feat: add edit button demo, close #162 + * fix some ssr bugs + ## 4.1.0 / 2017-05-30 🎂 to me diff --git a/docs/de-de/write-a-plugin.md b/docs/de-de/write-a-plugin.md index 916edde..b852ff0 100644 --- a/docs/de-de/write-a-plugin.md +++ b/docs/de-de/write-a-plugin.md @@ -79,7 +79,7 @@ window.$docsify = { plugins: [ function(hook, vm) { hook.beforeEach(function (html) { - var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile() + var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.route.file var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n' return editHtml diff --git a/docs/write-a-plugin.md b/docs/write-a-plugin.md index 93c5f6d..def74e7 100644 --- a/docs/write-a-plugin.md +++ b/docs/write-a-plugin.md @@ -78,7 +78,7 @@ window.$docsify = { plugins: [ function(hook, vm) { hook.beforeEach(function (html) { - var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile() + var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.route.file var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n' return editHtml diff --git a/docs/zh-cn/write-a-plugin.md b/docs/zh-cn/write-a-plugin.md index 5fd3119..25aa1d1 100644 --- a/docs/zh-cn/write-a-plugin.md +++ b/docs/zh-cn/write-a-plugin.md @@ -79,7 +79,7 @@ window.$docsify = { plugins: [ function(hook, vm) { hook.beforeEach(function (html) { - var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile() + var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.route.file var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n' return editHtml