fix: auto replace version

This commit is contained in:
qingwei.li 2017-05-31 08:25:00 +08:00
commit 22b50f07c3
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4
9 changed files with 35 additions and 7 deletions

View file

@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>4.0</small>
# docsify <small>4.1.7</small>
> A magical documentation site generator.

View file

@ -53,8 +53,8 @@
plugins: [
function(hook, vm) {
hook.beforeEach(function (html) {
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile()
var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n'
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.route.file
var editHtml = '[:memo: Edit Document](' + url + ')\n'
return editHtml
+ html