diff --git a/docs/de-de/write-a-plugin.md b/docs/de-de/write-a-plugin.md index 9450c86..916edde 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' + vm.router.getFile() + var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile() var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n' return editHtml diff --git a/docs/index.html b/docs/index.html index 0ed1f63..0817b68 100644 --- a/docs/index.html +++ b/docs/index.html @@ -53,7 +53,7 @@ plugins: [ function(hook, vm) { hook.beforeEach(function (html) { - var url = 'https://github.com/QingWei-Li/docsify/blob/master' + vm.router.getFile() + var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile() var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n' return editHtml diff --git a/docs/write-a-plugin.md b/docs/write-a-plugin.md index df5fec0..93c5f6d 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' + vm.router.getFile() + var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile() 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 1608e29..5fd3119 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' + vm.router.getFile() + var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile() var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n' return editHtml