From 24e61f5e2f91feddec7f9fbe5ea6b492208ff9a0 Mon Sep 17 00:00:00 2001 From: cyrilf Date: Sat, 6 Apr 2019 00:11:54 +1000 Subject: [PATCH] Fix typo in Edit Button example Missing trailing slash in the Edit button url --- docs/write-a-plugin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';