fix: auto replace version
This commit is contained in:
parent
ec887c1b5f
commit
22b50f07c3
9 changed files with 35 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||

|
||||
|
||||
# docsify <small>4.0</small>
|
||||
# docsify <small>4.1.7</small>
|
||||
|
||||
> A magical documentation site generator.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue