Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ export default defineConfig({
cleanUrls: true,
lastUpdated: true,
// 不往外取字体、统计脚本,页面只用本站自己的文件
head: [['meta', { name: 'theme-color', content: '#3c6fb4' }]],
head: [
['meta', { name: 'theme-color', content: '#3c6fb4' }],
['link', { rel: 'icon', href: '/favicon.ico', sizes: 'any' }],
],
transformHead: ({ pageData }) => alternates(pageData.relativePath),

// 中文(根)和英文(/en/)各一份导航、侧边栏和界面文字,页面一一对应
Expand Down Expand Up @@ -174,6 +177,7 @@ export default defineConfig({
},

themeConfig: {
logo: '/images/logo.png',
socialLinks: [{ icon: 'github', link: 'https://github.com/ModAVD' }],

search: {
Expand Down
Binary file added docs/public/favicon.ico
Binary file not shown.
Binary file added docs/public/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading