diff --git a/docs/_redirects b/docs/_redirects new file mode 100644 index 0000000..f824337 --- /dev/null +++ b/docs/_redirects @@ -0,0 +1 @@ +/* /index.html 200 \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index a425895..13f9a34 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,7 +7,7 @@ - + @@ -37,29 +37,42 @@ color: 'rgb(90,90,90)', language: 'chinese' }, + plugins: [ + function (hook) { + var footer = [ + '
', + '' + ].join(''); + + hook.afterEach(function (html) { + return html + footer; + }); + }, + ] } // 离线模式 if (typeof navigator.serviceWorker !== 'undefined') { navigator.serviceWorker.register('sw.js') } + console.log(window.Docsify.version) + - + - + - - + - + - - \ No newline at end of file