chore: fix edit docs button, fixed #562

This commit is contained in:
qingwei.li 2018-07-07 08:41:30 +08:00
parent 2e793061a8
commit 75f914354f

View File

@ -67,7 +67,7 @@
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
url = 'https://github.com/docsifyjs/docsify/blob/master/' + vm.route.file
url = 'https://github.com/docsifyjs/docsify/blob/master/docs/' + vm.route.file
}
var editHtml = '[:memo: Edit Document](' + url + ')\n'