diff --git a/docs/index.html b/docs/index.html index 55c02fa14..5a335a33a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,104 +1,153 @@ + + + docsify + + + + + + + + + + + + + + - - - docsify - - - - - - - - - - - - - - - -
Loading ...
- - - - - - - - - - - - + formatUpdated: '{MM}/{DD} {HH}:{mm}', + plugins: [ + function(hook, vm) { + hook.beforeEach(function(html) { + if (/githubusercontent\.com/.test(vm.route.file)) { + url = vm.route.file + .replace('raw.githubusercontent.com', 'github.com') + .replace(/\/master/, '/blob/master') + } else { + url = + 'https://github.com/docsifyjs/docsify/blob/master/docs/' + + vm.route.file + } + var editHtml = '[:memo: Edit Document](' + url + ')\n' + return ( + editHtml + + html + + '\n\n----\n\n' + + 'Powered by docsify' + ) + }) + }, + DocsifyCodefund.create('fae1f9a4-870c-4c25-b8e0-c80464f7a95c') + ] + } + + + + + + + + + + + +