diff --git a/doc-site/.dumi/theme/plugin.ts b/doc-site/.dumi/theme/plugin.ts index 4bcb39de..c643c9e9 100644 --- a/doc-site/.dumi/theme/plugin.ts +++ b/doc-site/.dumi/theme/plugin.ts @@ -1,24 +1,5 @@ // @ts-nocheck export default function (api) { - // github-button - api.addHTMLHeadScripts( - () => ` - var timer = setInterval(() => { - if (performance.now() > 10000) { - clearInterval(timer) - return - } - if (document.querySelector('.github-button') == null) return - - clearInterval(timer) - - var s = document.createElement('script') - s.src = 'https://buttons.github.io/buttons.js' - document.body.appendChild(s) - }, 100); - `, - ); - api.addHTMLHeadScripts( () => ` (function(c,l,a,r,i,t,y){ diff --git a/doc-site/.dumirc.ts b/doc-site/.dumirc.ts index 32b3e340..7ded1eab 100644 --- a/doc-site/.dumirc.ts +++ b/doc-site/.dumirc.ts @@ -27,7 +27,7 @@ export default defineConfig({ github: 'https://github.com/bilibili/WebAV', }, footer: - '
碰到问题请去 WebAV Issues 中反馈
Star
', + '
碰到问题请去 WebAV Issues 中反馈
', }, ...(process.env.NODE_ENV === 'development' ? {