|
1 | | -import { defineConfig } from 'vitepress' |
| 1 | +import { defineConfig } from 'vitepress'; |
2 | 2 |
|
3 | 3 | // https://vitepress.dev/reference/site-config |
4 | 4 | export default defineConfig({ |
5 | | - base: '/Xed-Docs/', |
6 | | - title: "Xed-Docs", |
7 | | - description: "Documentation of Xed-Editor", |
8 | | - ignoreDeadLinks: [ |
9 | | - /^https?:\/\/localhost/, |
10 | | - ], |
11 | | - themeConfig: { |
12 | | - search: { |
13 | | - provider: 'local' |
14 | | - }, |
15 | | - // https://vitepress.dev/reference/default-theme-config |
16 | | - nav: [ |
17 | | - { text: 'Home', link: '/' }, |
18 | | - ], |
19 | | - sidebar: { |
20 | | - "/docs/extensions/":[ |
21 | | - { |
22 | | - text: 'Getting Started', |
23 | | - items: [ |
24 | | - { text: 'Introduction', link: '/docs/extensions/' }, |
25 | | - { text: 'Environment Setup', link: '/docs/extensions/build-setup' }, |
26 | | - { text: "Manifest File", link: '/docs/extensions/manifest-file' }, |
27 | | - { text: 'Lifecycle Hooks', link: '/docs/extensions/lifecycle-hooks' }, |
28 | | - { text: 'Publishing Extension', link: '/docs/extensions/publishing' }, |
29 | | - ] |
30 | | - } |
31 | | - ], |
32 | | - "/docs/lsp/":[ |
33 | | - { |
34 | | - items: [ |
35 | | - { text: 'Introduction', link: '/docs/lsp/' }, |
36 | | - { text: 'Builtin Servers', link: '/docs/lsp/builtin-servers' }, |
37 | | - { text: 'External Servers', link: '/docs/lsp/external-servers' }, |
38 | | - { text: 'Report Issues', link: '/docs/lsp/report-issues' }, |
39 | | - ] |
40 | | - } |
41 | | - ], |
42 | | - }, |
| 5 | + base: '/docs/', |
| 6 | + title: 'Xed-Docs', |
| 7 | + description: 'Documentation of Xed-Editor', |
| 8 | + ignoreDeadLinks: [/^https?:\/\/localhost/], |
| 9 | + themeConfig: { |
| 10 | + search: { |
| 11 | + provider: 'local', |
| 12 | + }, |
| 13 | + // https://vitepress.dev/reference/default-theme-config |
| 14 | + sidebar: [ |
| 15 | + { |
| 16 | + text: 'Getting Started', |
| 17 | + items: [ |
| 18 | + { text: 'Download', link: '/docs/download' }, |
| 19 | + { text: 'Quick Start', link: '/docs/quick-start' }, |
| 20 | + { text: 'Editor Overview', link: '/docs/editor-overview' }, |
| 21 | + ], |
| 22 | + }, |
| 23 | + { |
| 24 | + text: 'User Guide', |
| 25 | + items: [ |
| 26 | + { text: 'Terminal', link: '/docs/terminal/' }, |
| 27 | + { text: 'Runners', link: '/docs/runners/' }, |
| 28 | + { text: 'Git Integration', link: '/docs/git/' }, |
| 29 | + { |
| 30 | + text: 'Language Servers', |
| 31 | + items: [ |
| 32 | + { text: 'Introduction', link: '/docs/lsp/' }, |
| 33 | + { text: 'Builtin Servers', link: '/docs/lsp/builtin-servers' }, |
| 34 | + { text: 'External Servers', link: '/docs/lsp/external-servers' }, |
| 35 | + { text: 'Report Issues', link: '/docs/lsp/report-issues' }, |
| 36 | + ], |
| 37 | + }, |
| 38 | + ], |
| 39 | + }, |
| 40 | + { |
| 41 | + text: 'Developer Guide', |
| 42 | + items: [ |
| 43 | + { |
| 44 | + text: 'Extension Development', |
| 45 | + items: [ |
| 46 | + { text: 'Introduction', link: '/docs/extensions/' }, |
| 47 | + { text: 'Environment Setup', link: '/docs/extensions/build-setup' }, |
| 48 | + { text: 'Manifest File', link: '/docs/extensions/manifest-file' }, |
| 49 | + { text: 'Lifecycle Hooks', link: '/docs/extensions/lifecycle-hooks' }, |
| 50 | + { text: 'Entry class & Context', link: '/docs/extensions/entry-context' }, |
| 51 | + { text: 'Settings', link: '/docs/extensions/settings' }, |
| 52 | + { text: 'Publishing Extension', link: '/docs/extensions/publishing' }, |
| 53 | + ], |
| 54 | + }, |
| 55 | + { text: 'Themes', link: '/docs/themes/' }, |
| 56 | + { text: 'Icon Packs', link: '/docs/icon-packs/' }, |
| 57 | + ], |
| 58 | + }, |
| 59 | + ], |
43 | 60 |
|
44 | | - socialLinks: [ |
45 | | - { icon: 'github', link: 'https://github.com/Xed-Editor/Xed-Editor' }, |
46 | | - { icon: 'discord', link: 'https://discord.gg/6bKzcQRuef' }, |
47 | | - { icon: 'telegram', link: 'https://t.me/XedEditor' }, |
48 | | - ] |
49 | | - } |
50 | | -}) |
| 61 | + socialLinks: [ |
| 62 | + { icon: 'github', link: 'https://github.com/Xed-Editor/Xed-Editor' }, |
| 63 | + { icon: 'discord', link: 'https://discord.gg/6bKzcQRuef' }, |
| 64 | + { icon: 'telegram', link: 'https://t.me/XedEditor' }, |
| 65 | + ], |
| 66 | + }, |
| 67 | +}); |
0 commit comments