|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | +import { getVersion } from '../utils' |
| 3 | + |
| 4 | +export default defineConfig({ |
| 5 | + description: 'Intuitive service for organizing your homepage', |
| 6 | + lang: 'ru-RU', |
| 7 | + themeConfig: { |
| 8 | + nav: [ |
| 9 | + { text: 'Home', link: '/ru/' }, |
| 10 | + { text: 'Configuration', link: '/ru/reference/configuration' }, |
| 11 | + { text: 'Showcase', link: '/ru/community/showcase' }, |
| 12 | + { |
| 13 | + text: getVersion(), |
| 14 | + items: [ |
| 15 | + { text: 'Changelog', link: '/ru/other/changelog' }, |
| 16 | + { text: 'Contributing', link: '/ru/community/contributing' }, |
| 17 | + ], |
| 18 | + }, |
| 19 | + ], |
| 20 | + |
| 21 | + sidebar: [ |
| 22 | + { |
| 23 | + text: 'Guide', |
| 24 | + base: '/ru/guide', |
| 25 | + items: [ |
| 26 | + { text: 'What is Mafl?', link: '/what-is' }, |
| 27 | + { text: 'Getting Started', link: '/getting-started' }, |
| 28 | + { text: 'Deployment', link: '/deployment' }, |
| 29 | + ], |
| 30 | + }, |
| 31 | + { |
| 32 | + text: 'Reference', |
| 33 | + base: '/ru/reference', |
| 34 | + items: [ |
| 35 | + { text: 'Configuration', link: '/configuration' }, |
| 36 | + ], |
| 37 | + }, |
| 38 | + { |
| 39 | + text: 'Services', |
| 40 | + base: '/ru/services', |
| 41 | + items: [ |
| 42 | + { text: 'Base', link: '/base' }, |
| 43 | + ], |
| 44 | + }, |
| 45 | + { |
| 46 | + text: 'Community', |
| 47 | + base: '/ru/community', |
| 48 | + collapsed: true, |
| 49 | + items: [ |
| 50 | + { text: 'Showcase', link: '/showcase' }, |
| 51 | + { text: 'Development', link: '/development' }, |
| 52 | + { text: 'Contributing', link: '/contributing' }, |
| 53 | + ], |
| 54 | + }, |
| 55 | + { |
| 56 | + text: 'Other', |
| 57 | + base: '/ru/other', |
| 58 | + collapsed: true, |
| 59 | + items: [ |
| 60 | + { text: 'Changelog', link: '/changelog' }, |
| 61 | + { text: 'License', link: '/license' }, |
| 62 | + ], |
| 63 | + }, |
| 64 | + ], |
| 65 | + }, |
| 66 | +}) |
0 commit comments