diff --git a/docs/write-a-plugin.md b/docs/write-a-plugin.md index d6605d4..baa894e 100644 --- a/docs/write-a-plugin.md +++ b/docs/write-a-plugin.md @@ -79,7 +79,7 @@ window.$docsify = { function(hook, vm) { hook.beforeEach(function(html) { var url = - 'https://github.com/docsifyjs/docsify/blob/master/docs' + + 'https://github.com/docsifyjs/docsify/blob/master/docs/' + vm.route.file; var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n';