|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: "MOGA", |
| 6 | + description: "Make Opensource Great Again", |
| 7 | + themeConfig: { |
| 8 | + // https://vitepress.dev/reference/default-theme-config |
| 9 | + nav: [ |
| 10 | + { text: '主页', link: '/' }, |
| 11 | + { text: '文档', link: '/documents/quick-start/intro.md' }, |
| 12 | + { text: '案例', link: '/documents/cases/dstruct.md' }, |
| 13 | + { text: '历史记录', link: '/history/intro.md' }, |
| 14 | + { |
| 15 | + text: '社区', |
| 16 | + items: [ |
| 17 | + { text: '核心团队', link: '/documents/community/core-team.md' }, |
| 18 | + ] |
| 19 | + }, |
| 20 | + ], |
| 21 | + |
| 22 | + sidebar: { |
| 23 | + '/documents/' : [ |
| 24 | + { |
| 25 | + text: '快速开始', |
| 26 | + items: [ |
| 27 | + { text: '基本介绍', link: '/documents/quick-start/intro.md' }, |
| 28 | + { text: '价值导向', link: '/documents/quick-start/mvv.md' }, |
| 29 | + { text: '开源的问题', link: '/documents/quick-start/issues.md' }, |
| 30 | + ] |
| 31 | + }, |
| 32 | + { |
| 33 | + text: '社区', |
| 34 | + items: [ |
| 35 | + { text: '核心团队', link: '/documents/community/core-team.md' }, |
| 36 | + ] |
| 37 | + } |
| 38 | + ], |
| 39 | + '/history/' : [ |
| 40 | + { text: '历史线', link: '/history/intro.md' }, |
| 41 | + { |
| 42 | + text: '2025-09', |
| 43 | + items: [ |
| 44 | + { text: '2025-09-28', link: '/history/2025-09/2025-09-28.md' }, |
| 45 | + ] |
| 46 | + }, |
| 47 | + { |
| 48 | + text: '2025-10', |
| 49 | + items: [ |
| 50 | + { text: '2025-10-01', link: '/history/2025-10/2025-10-01.md' }, |
| 51 | + ] |
| 52 | + }, |
| 53 | + ] |
| 54 | + }, |
| 55 | + |
| 56 | + socialLinks: [ |
| 57 | + { icon: 'github', link: 'https://github.com/d2learn/MOGA' } |
| 58 | + ] |
| 59 | + } |
| 60 | +}) |
0 commit comments