1
0
Fork 0

Improve docs "Edit Document" footer

This commit is contained in:
fauxpark 2019-12-18 14:01:13 +11:00
parent 1ac99586a6
commit 3c190f8927
3 changed files with 4 additions and 4 deletions

View file

@ -82,9 +82,9 @@
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
url = 'https://github.com/qmk/qmk_firmware/blob/master/docs/' + vm.route.file
url = 'https://github.com/qmk/qmk_firmware/edit/master/docs/' + vm.route.file
}
var editHtml = '[:memo: Edit Document](' + url + ')\n'
var editHtml = ':pencil2: [Edit this page](' + url + ')\n'
return html
+ '\n\n----\n\n'
+ editHtml