|
| 1 | +import { defineConfig } from "vitepress"; |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: "Foundatio FetchClient", |
| 5 | + description: |
| 6 | + "A tiny, typed wrapper around fetch with caching, middleware, rate limiting, and great DX.", |
| 7 | + base: "/", |
| 8 | + ignoreDeadLinks: true, |
| 9 | + head: [ |
| 10 | + ["link", { |
| 11 | + rel: "icon", |
| 12 | + href: |
| 13 | + "https://raw.githubusercontent.com/FoundatioFx/Foundatio/main/media/foundatio-icon.png", |
| 14 | + type: "image/png", |
| 15 | + }], |
| 16 | + ["meta", { name: "theme-color", content: "#3c8772" }], |
| 17 | + ], |
| 18 | + themeConfig: { |
| 19 | + logo: { |
| 20 | + light: |
| 21 | + "https://raw.githubusercontent.com/FoundatioFx/Foundatio/master/media/foundatio.svg", |
| 22 | + dark: |
| 23 | + "https://raw.githubusercontent.com/FoundatioFx/Foundatio/master/media/foundatio-dark-bg.svg", |
| 24 | + }, |
| 25 | + siteTitle: "FetchClient", |
| 26 | + nav: [ |
| 27 | + { text: "Guide", link: "/guide/what-is-fetchclient" }, |
| 28 | + { text: "GitHub", link: "https://github.com/FoundatioFx/FetchClient" }, |
| 29 | + ], |
| 30 | + sidebar: { |
| 31 | + "/guide/": [ |
| 32 | + { |
| 33 | + text: "Introduction", |
| 34 | + items: [ |
| 35 | + { |
| 36 | + text: "What is FetchClient?", |
| 37 | + link: "/guide/what-is-fetchclient", |
| 38 | + }, |
| 39 | + { text: "Getting Started", link: "/guide/getting-started" }, |
| 40 | + { text: "Features", link: "/guide/features" }, |
| 41 | + ], |
| 42 | + }, |
| 43 | + ], |
| 44 | + }, |
| 45 | + socialLinks: [ |
| 46 | + { icon: "github", link: "https://github.com/FoundatioFx/FetchClient" }, |
| 47 | + { icon: "discord", link: "https://discord.gg/6HxgFCx" }, |
| 48 | + ], |
| 49 | + footer: { |
| 50 | + message: "Released under the MIT License.", |
| 51 | + copyright: "Copyright © 2025 Foundatio", |
| 52 | + }, |
| 53 | + editLink: { |
| 54 | + pattern: |
| 55 | + "https://github.com/FoundatioFx/FetchClient/edit/main/docs/:path", |
| 56 | + }, |
| 57 | + search: { |
| 58 | + provider: "local", |
| 59 | + }, |
| 60 | + }, |
| 61 | + markdown: { |
| 62 | + lineNumbers: false, |
| 63 | + }, |
| 64 | +}); |
0 commit comments