|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: "EasyKit", |
| 6 | + description: "EasyKit Documentation - Powerful Windows toolkit for developers. Requires Microsoft .NET 8.0.", |
| 7 | + lang: "en-US", |
| 8 | + head: [ |
| 9 | + // Site Metadata |
| 10 | + ['meta', { name: 'keywords', content: 'EasyKit, Windows toolkit, documentation, developer tools, productivity, Windows 10, Windows 11' }], |
| 11 | + ['meta', { name: 'author', content: 'EasyKit Team' }], |
| 12 | + // SEO: Contact Sources |
| 13 | + ['meta', { name: 'contact:github', content: 'https://github.com/LoveDoLove/EasyKit' }], |
| 14 | + ['meta', { name: 'contact:discord', content: 'https://discord.com/invite/FyYEmtRCRE' }], |
| 15 | + ['meta', { name: 'contact:telegram', content: 'https://t.me/lovedoloveofficialchannel' }], |
| 16 | + // SEO: Open Graph |
| 17 | + ['meta', { property: 'og:title', content: 'EasyKit Documentation' }], |
| 18 | + ['meta', { property: 'og:description', content: 'Comprehensive documentation for EasyKit, the Windows-only developer toolkit. Requires Microsoft .NET 8.0.' }], |
| 19 | + ['meta', { property: 'og:type', content: 'website' }], |
| 20 | + ['meta', { property: 'og:url', content: 'https://easykit.dev/' }], |
| 21 | + ['meta', { property: 'og:image', content: 'https://easykit.dev/images/icon.jpg' }], |
| 22 | + // SEO: Twitter Card |
| 23 | + ['meta', { name: 'twitter:card', content: 'summary_large_image' }], |
| 24 | + ['meta', { name: 'twitter:title', content: 'EasyKit Documentation' }], |
| 25 | + ['meta', { name: 'twitter:description', content: 'Comprehensive documentation for EasyKit, the Windows-only developer toolkit. Requires Microsoft .NET 8.0.' }], |
| 26 | + ['meta', { name: 'twitter:image', content: 'https://easykit.dev/images/icon.jpg' }], |
| 27 | + // SEO: Canonical URL |
| 28 | + ['link', { rel: 'canonical', href: 'https://easykit.dev/' }], |
| 29 | + // SEO: Sitemap |
| 30 | + ['link', { rel: 'sitemap', type: 'application/xml', href: '/sitemap.xml' }], |
| 31 | + // Accessibility: Skip to Content |
| 32 | + ['link', { rel: 'stylesheet', href: '/skip-to-content.css' }], |
| 33 | + // Performance: Preload critical assets |
| 34 | + ['link', { rel: 'preload', href: '/images/icon.jpg', as: 'image' }], |
| 35 | + // Performance: Enable caching |
| 36 | + ['meta', { 'http-equiv': 'Cache-Control', content: 'public, max-age=604800, immutable' }] |
| 37 | + ], |
| 38 | + themeConfig: { |
| 39 | + nav: [ |
| 40 | + { text: 'Home', link: '/' }, |
| 41 | + { text: 'Features', link: '/features' }, |
| 42 | + { text: 'Installation', link: '/installation' }, |
| 43 | + { text: 'Usage', link: '/usage' }, |
| 44 | + { text: 'FAQ', link: '/faq' }, |
| 45 | + { text: 'Contact', link: '/contact' } |
| 46 | + ], |
| 47 | + sidebar: [ |
| 48 | + { |
| 49 | + text: 'Documentation', |
| 50 | + items: [ |
| 51 | + { text: 'Home', link: '/' }, |
| 52 | + { text: 'Features', link: '/features' }, |
| 53 | + { text: 'Installation', link: '/installation' }, |
| 54 | + { text: 'Usage', link: '/usage' }, |
| 55 | + { text: 'FAQ', link: '/faq' }, |
| 56 | + { text: 'Contact', link: '/contact' } |
| 57 | + ] |
| 58 | + } |
| 59 | + ], |
| 60 | + socialLinks: [ |
| 61 | + { icon: 'github', link: 'https://github.com/LoveDoLove/EasyKit', ariaLabel: 'Github' }, |
| 62 | + { icon: 'discord', link: 'https://discord.com/invite/FyYEmtRCRE', ariaLabel: 'Discord' }, |
| 63 | + { icon: 'telegram', link: 'https://t.me/lovedoloveofficialchannel', ariaLabel: 'Telegram' } |
| 64 | + ] |
| 65 | + } |
| 66 | +}) |
0 commit comments