feat: 更新 VitePress 配置,添加文档基础路径、图标和最后更新时间,增强主题样式
This commit is contained in:
@@ -4,6 +4,11 @@ import { defineConfig } from 'vitepress'
|
||||
export default defineConfig({
|
||||
title: "Bash",
|
||||
description: "My Bash!",
|
||||
base: '/docs/',
|
||||
head: [
|
||||
['link', { rel: 'icon', type: 'image/svg+xml', href: 'favicon.ico' }]
|
||||
],
|
||||
lastUpdated: true,
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
@@ -20,9 +25,5 @@ export default defineConfig({
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
||||
]
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user