From 10bb419ae10f47687fe9122f20682fd446753e78 Mon Sep 17 00:00:00 2001 From: icret Date: Mon, 6 Feb 2023 11:21:16 +0800 Subject: [PATCH] docs --- docs/_redirects | 1 + docs/index.html | 29 +++++++++++++++++++++-------- 2 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 docs/_redirects 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