|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +const description = |
| 4 | + 'Documentation for Soar, a fast, modern, bloat-free package manager for Linux. Install static binaries, AppImages, and portable packages across any distro.' |
| 5 | + |
| 6 | +export default defineConfig({ |
| 7 | + lang: 'en-US', |
| 8 | + title: 'Soar', |
| 9 | + titleTemplate: ':title · Soar', |
| 10 | + description, |
| 11 | + cleanUrls: true, |
| 12 | + lastUpdated: true, |
| 13 | + appearance: 'dark', |
| 14 | + sitemap: { hostname: 'https://soar.qaidvoid.dev' }, |
| 15 | + |
| 16 | + head: [ |
| 17 | + ['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }], |
| 18 | + ['meta', { name: 'theme-color', content: '#0d1117' }], |
| 19 | + ['meta', { property: 'og:type', content: 'website' }], |
| 20 | + ['meta', { property: 'og:title', content: 'Soar Documentation' }], |
| 21 | + ['meta', { property: 'og:description', content: description }], |
| 22 | + ['meta', { property: 'og:url', content: 'https://soar.qaidvoid.dev' }], |
| 23 | + [ |
| 24 | + 'link', |
| 25 | + { rel: 'preconnect', href: 'https://fonts.googleapis.com' }, |
| 26 | + ], |
| 27 | + [ |
| 28 | + 'link', |
| 29 | + { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }, |
| 30 | + ], |
| 31 | + [ |
| 32 | + 'link', |
| 33 | + { |
| 34 | + rel: 'stylesheet', |
| 35 | + href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap', |
| 36 | + }, |
| 37 | + ], |
| 38 | + ], |
| 39 | + |
| 40 | + themeConfig: { |
| 41 | + logo: '/favicon.svg', |
| 42 | + siteTitle: 'Soar', |
| 43 | + |
| 44 | + nav: [ |
| 45 | + { text: 'Quick Start', link: '/quick-start' }, |
| 46 | + { text: 'CLI Reference', link: '/cli-reference' }, |
| 47 | + { |
| 48 | + text: 'Guide', |
| 49 | + items: [ |
| 50 | + { text: 'Installation', link: '/installation' }, |
| 51 | + { text: 'Configuration', link: '/configuration' }, |
| 52 | + { text: 'Profiles', link: '/profiles' }, |
| 53 | + { text: 'Package Management', link: '/package-management' }, |
| 54 | + ], |
| 55 | + }, |
| 56 | + { text: 'Releases', link: '/releases' }, |
| 57 | + ], |
| 58 | + |
| 59 | + sidebar: [ |
| 60 | + { |
| 61 | + text: 'Getting Started', |
| 62 | + collapsed: false, |
| 63 | + items: [ |
| 64 | + { text: 'Quick Start', link: '/quick-start' }, |
| 65 | + { text: 'Installation', link: '/installation' }, |
| 66 | + { text: 'Configuration', link: '/configuration' }, |
| 67 | + { text: 'Profiles', link: '/profiles' }, |
| 68 | + { text: 'CLI Reference', link: '/cli-reference' }, |
| 69 | + ], |
| 70 | + }, |
| 71 | + { |
| 72 | + text: 'Package Management', |
| 73 | + collapsed: false, |
| 74 | + items: [ |
| 75 | + { text: 'Overview', link: '/package-management' }, |
| 76 | + { text: 'Declarative Packages', link: '/declarative' }, |
| 77 | + { text: 'Install Packages', link: '/install' }, |
| 78 | + { text: 'Remove Packages', link: '/remove' }, |
| 79 | + { text: 'Update Packages', link: '/update' }, |
| 80 | + { text: 'Search Packages', link: '/search' }, |
| 81 | + { text: 'List Packages', link: '/list' }, |
| 82 | + { text: 'Use Package', link: '/use' }, |
| 83 | + { text: 'Run Package', link: '/run' }, |
| 84 | + { text: 'Inspect Packages', link: '/inspection' }, |
| 85 | + ], |
| 86 | + }, |
| 87 | + { |
| 88 | + text: 'Repositories & Files', |
| 89 | + collapsed: false, |
| 90 | + items: [ |
| 91 | + { text: 'Repository Management', link: '/repo' }, |
| 92 | + { text: 'Download Files', link: '/download' }, |
| 93 | + ], |
| 94 | + }, |
| 95 | + { |
| 96 | + text: 'Operations', |
| 97 | + collapsed: false, |
| 98 | + items: [ |
| 99 | + { text: 'Health', link: '/health' }, |
| 100 | + { text: 'Maintenance', link: '/maintenance' }, |
| 101 | + ], |
| 102 | + }, |
| 103 | + { |
| 104 | + text: 'Release Notes', |
| 105 | + collapsed: false, |
| 106 | + items: [ |
| 107 | + { text: 'Overview', link: '/releases' }, |
| 108 | + { text: 'Soar 0.12', link: '/releases/v0.12' }, |
| 109 | + { text: 'Soar 0.11', link: '/releases/v0.11' }, |
| 110 | + { text: 'Soar 0.10', link: '/releases/v0.10' }, |
| 111 | + ], |
| 112 | + }, |
| 113 | + ], |
| 114 | + |
| 115 | + socialLinks: [ |
| 116 | + { icon: 'github', link: 'https://github.com/pkgforge/soar' }, |
| 117 | + { icon: 'discord', link: 'https://discord.gg/djJUs48Zbu' }, |
| 118 | + ], |
| 119 | + |
| 120 | + editLink: { |
| 121 | + pattern: 'https://github.com/pkgforge/soar/edit/main/docs/:path', |
| 122 | + text: 'Edit this page on GitHub', |
| 123 | + }, |
| 124 | + |
| 125 | + search: { |
| 126 | + provider: 'local', |
| 127 | + }, |
| 128 | + |
| 129 | + outline: { level: [2, 3], label: 'On this page' }, |
| 130 | + |
| 131 | + footer: { |
| 132 | + message: 'Released under the MIT License.', |
| 133 | + copyright: 'Copyright © 2024-present pkgforge', |
| 134 | + }, |
| 135 | + |
| 136 | + docFooter: { |
| 137 | + prev: 'Previous', |
| 138 | + next: 'Next', |
| 139 | + }, |
| 140 | + }, |
| 141 | +}) |
0 commit comments