diff --git a/docs/de-de/write-a-plugin.md b/docs/de-de/write-a-plugin.md index 9450c86c4..916edde81 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 0ed1f6312..0817b68e9 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 df5fec038..93c5f6de8 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 1608e2956..5fd3119d5 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