|
| 1 | +import { defineConfig } from "vitepress"; |
| 2 | +import tailwindcss from "@tailwindcss/vite"; |
| 3 | + |
| 4 | +// https://vitepress.dev/reference/site-config |
| 5 | +export default defineConfig({ |
| 6 | + title: "Flexpilot IDE - Open-Source AI Native IDE", |
| 7 | + lastUpdated: true, |
| 8 | + appearance: true, |
| 9 | + sitemap: { |
| 10 | + hostname: "https://flexpilot.ai", |
| 11 | + }, |
| 12 | + vite: { |
| 13 | + plugins: tailwindcss(), |
| 14 | + }, |
| 15 | + description: |
| 16 | + "An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.", |
| 17 | + head: [ |
| 18 | + [ |
| 19 | + "script", |
| 20 | + { |
| 21 | + async: "", |
| 22 | + src: "https://www.googletagmanager.com/gtag/js?id=G-VXH6LXCQ53", |
| 23 | + }, |
| 24 | + ], |
| 25 | + [ |
| 26 | + "script", |
| 27 | + {}, |
| 28 | + ` |
| 29 | + window.dataLayer = window.dataLayer || []; |
| 30 | + function gtag(){dataLayer.push(arguments);} |
| 31 | + gtag('js', new Date()); |
| 32 | + gtag('config', 'G-VXH6LXCQ53'); |
| 33 | + `, |
| 34 | + ], |
| 35 | + [ |
| 36 | + "meta", |
| 37 | + { |
| 38 | + property: "title", |
| 39 | + content: "Flexpilot IDE - Open-Source AI Native IDE", |
| 40 | + }, |
| 41 | + ], |
| 42 | + [ |
| 43 | + "meta", |
| 44 | + { |
| 45 | + property: "description", |
| 46 | + content: |
| 47 | + "An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.", |
| 48 | + }, |
| 49 | + ], |
| 50 | + [ |
| 51 | + "meta", |
| 52 | + { |
| 53 | + property: "keywords", |
| 54 | + content: |
| 55 | + "Visual Studio Code, AI Coding Assistant, Open Source, GitHub Copilot Alternative, Cursor Alternative, Free Coding Assistant", |
| 56 | + }, |
| 57 | + ], |
| 58 | + ["meta", { property: "http-equiv", content: "Content-Type" }], |
| 59 | + ["meta", { property: "language", content: "English" }], |
| 60 | + ["meta", { property: "revisit-after", content: "1 days" }], |
| 61 | + ["meta", { property: "author", content: "flexpilot.ai" }], |
| 62 | + ["meta", { property: "og:type", content: "website" }], |
| 63 | + ["meta", { property: "og:url", content: "https://flexpilot.ai/" }], |
| 64 | + [ |
| 65 | + "meta", |
| 66 | + { |
| 67 | + property: "og:title", |
| 68 | + content: "Flexpilot IDE - Open-Source AI Native IDE", |
| 69 | + }, |
| 70 | + ], |
| 71 | + [ |
| 72 | + "meta", |
| 73 | + { |
| 74 | + property: "og:description", |
| 75 | + content: |
| 76 | + "An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.", |
| 77 | + }, |
| 78 | + ], |
| 79 | + [ |
| 80 | + "meta", |
| 81 | + { |
| 82 | + property: "og:image", |
| 83 | + content: "https://flexpilot.ai/flexpilot-logo.png", |
| 84 | + }, |
| 85 | + ], |
| 86 | + ["meta", { property: "twitter:card", content: "summary_large_image" }], |
| 87 | + [ |
| 88 | + "meta", |
| 89 | + { property: "twitter:url", content: "https://flexpilot.ai/" }, |
| 90 | + ], |
| 91 | + [ |
| 92 | + "meta", |
| 93 | + { |
| 94 | + property: "twitter:title", |
| 95 | + content: "Flexpilot IDE - Open-Source AI Native IDE", |
| 96 | + }, |
| 97 | + ], |
| 98 | + [ |
| 99 | + "meta", |
| 100 | + { |
| 101 | + property: "twitter:description", |
| 102 | + content: |
| 103 | + "An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.", |
| 104 | + }, |
| 105 | + ], |
| 106 | + [ |
| 107 | + "meta", |
| 108 | + { |
| 109 | + property: "twitter:image", |
| 110 | + content: "https://flexpilot.ai/flexpilot-logo.png", |
| 111 | + }, |
| 112 | + ], |
| 113 | + [ |
| 114 | + "link", |
| 115 | + { |
| 116 | + rel: "icon", |
| 117 | + type: "image/png", |
| 118 | + sizes: "96x96", |
| 119 | + href: "/favicon-96x96.png", |
| 120 | + }, |
| 121 | + ], |
| 122 | + [ |
| 123 | + "link", |
| 124 | + { |
| 125 | + rel: "icon", |
| 126 | + type: "image/svg+xml", |
| 127 | + href: "/favicon.svg", |
| 128 | + }, |
| 129 | + ], |
| 130 | + [ |
| 131 | + "link", |
| 132 | + { |
| 133 | + rel: "shortcut icon", |
| 134 | + href: "/favicon.ico", |
| 135 | + }, |
| 136 | + ], |
| 137 | + [ |
| 138 | + "link", |
| 139 | + { |
| 140 | + rel: "apple-touch-icon", |
| 141 | + sizes: "180x180", |
| 142 | + href: "/apple-touch-icon.png", |
| 143 | + }, |
| 144 | + ], |
| 145 | + [ |
| 146 | + "meta", |
| 147 | + { |
| 148 | + name: "apple-mobile-web-app-title", |
| 149 | + content: "Flexpilot IDE", |
| 150 | + }, |
| 151 | + ], |
| 152 | + [ |
| 153 | + "link", |
| 154 | + { |
| 155 | + rel: "manifest", |
| 156 | + href: "/site.webmanifest", |
| 157 | + }, |
| 158 | + ], |
| 159 | + ], |
| 160 | + themeConfig: { |
| 161 | + search: { |
| 162 | + provider: 'algolia', |
| 163 | + options: { |
| 164 | + appId: 'NZP20C20EL', |
| 165 | + apiKey: '258fc660cfba40209e4bf782f912e762', |
| 166 | + indexName: 'flexpilot' |
| 167 | + } |
| 168 | + }, |
| 169 | + siteTitle: false, |
| 170 | + nav: [ |
| 171 | + { link: "/", text: "Home" }, |
| 172 | + { link: "/docs/getting-started", text: "Get Started" }, |
| 173 | + { link: "/docs/introduction", text: "Features" }, |
| 174 | + ], |
| 175 | + logo: { |
| 176 | + dark: "/logos/logo-dark.svg", |
| 177 | + light: "/logos/logo-light.svg", |
| 178 | + alt: "Flexpilot AI Logo", |
| 179 | + }, |
| 180 | + sidebar: { |
| 181 | + "/": [ |
| 182 | + { text: "Introduction", link: "/docs/introduction" }, |
| 183 | + { text: "Getting Started", link: "/docs/getting-started" }, |
| 184 | + { |
| 185 | + text: "Configuration", |
| 186 | + items: [ |
| 187 | + { text: "Chat", link: "/docs/configuration/chat" }, |
| 188 | + { text: "Completion", link: "/docs/configuration/completions" }, |
| 189 | + ], |
| 190 | + }, |
| 191 | + { |
| 192 | + text: "Completion Models", |
| 193 | + items: [ |
| 194 | + { text: "Codestral", link: "/docs/completion-models/codestral" }, |
| 195 | + { text: "OpenAI Compatible", link: "/docs/completion-models/generic" }, |
| 196 | + ], |
| 197 | + }, |
| 198 | + { |
| 199 | + text: "Chat Models", |
| 200 | + items: [ |
| 201 | + { text: "Anthropic", link: "/docs/chat-models/anthropic" }, |
| 202 | + { text: "AWS Bedrock", link: "/docs/chat-models/bedrock" }, |
| 203 | + { text: "Azure OpenAI", link: "/docs/chat-models/azure-openai" }, |
| 204 | + { text: "Cerebras", link: "/docs/chat-models/cerebras" }, |
| 205 | + { text: "Cohere", link: "/docs/chat-models/cohere" }, |
| 206 | + { text: "Google Gemini", link: "/docs/chat-models/google-gemini" }, |
| 207 | + { text: "Groq", link: "/docs/chat-models/groq" }, |
| 208 | + { text: "Mistral AI", link: "/docs/chat-models/mistral" }, |
| 209 | + { text: "OpenAI", link: "/docs/chat-models/openai" }, |
| 210 | + { text: "OpenAI Compatible", link: "/docs/chat-models/generic" }, |
| 211 | + ], |
| 212 | + }, |
| 213 | + { text: "IDE Settings", link: "/docs/ide-settings" }, |
| 214 | + ], |
| 215 | + }, |
| 216 | + socialLinks: [{ icon: "github", link: "https://github.com/flexpilot-ai/flexpilot-ide" }], |
| 217 | + }, |
| 218 | +}); |
0 commit comments