From f4c6d0aed319ec29409eacb4ac8b09ac068682bb Mon Sep 17 00:00:00 2001 From: Old-Second <oldsecond2@qq.com> Date: Tue, 30 Jan 2024 20:40:06 +0800 Subject: [PATCH] fix: change config --- docs/.vitepress/config.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 5c907aa..5e045a7 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -16,19 +16,25 @@ export default { // theme: 'material-theme-palenight', lineNumbers: true, math: true, + image: { + lazyLoading: true + } + }, + sitemap: { + hostname: 'https://wiki.sirly.cc' }, themeConfig: { logo: '/cf.png', footer: { message: 'Released under the MIT License.', - copyright: 'Copyright © 2023-present CCNUACM' + copyright: 'Copyright © 2023-2024 CCNUACM' }, search: { provider: 'local' }, - outline: 'deep', + outline: [1, 6], editLink: { - pattern: 'https://github.com/', + pattern: 'https://github.com/CCNU-ACM-Official/CCNU-ACM-Official.github.io/edit/main/docs/:path', text: 'Edit this page on GitHub' }, externalLinkIcon: true,