diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 30abbb1..1e19cd3 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -17,103 +17,5 @@ export default defineConfig({ }, sitemap: { hostname: 'https://wufangzhen.com' - }, - themeConfig: { - outline: { - level: [2, 3], - label: '目录' - }, - docFooter: { - prev: '上一页', - next: '下一页' - }, - lastUpdated: { - text: '最后更新于', - formatOptions: { - dateStyle: 'short', - timeStyle: 'short' - } - }, - sidebar: { - '/java/': [ - { - 'text': 'Java 笔记', - 'items': [ - { - 'text': '概述', - 'link': '/java/' - }, - { - 'text': 'Java基础语法', - 'link': '/java/basic' - }, - { - 'text': '集合框架', - 'link': '/java/collection' - }, - { - 'text': '面向对象编程', - 'link': '/java/oop' - }, - { - 'text': '多线程编程', - 'link': '/java/thread' - } - ] - } - ], - '/vue/': [ - { - 'text': 'Vue 笔记', - 'items': [ - { - 'text': '概述', - 'link': '/vue/' - }, - { - 'text': 'Vue3基础', - 'link': '/vue/basic' - }, - { - 'text': '组件开发', - 'link': '/vue/component' - }, - { - 'text': '组合式API', - 'link': '/vue/composition' - }, - { - 'text': '状态管理', - 'link': '/vue/pinia' - } - ] - } - ], - '/杂谈/': [ - { - 'text': '杂谈 笔记', - 'items': [ - { - 'text': '概述', - 'link': '/杂谈/' - } - ] - } - ] - }, - nav: [ - { - 'text': 'Java', - 'link': '/java/' - }, - { - 'text': 'Vue', - 'link': '/vue/' - }, - { - 'text': '杂谈', - 'link': '/杂谈/' - } - ] } })