|
| 1 | +import { defineConfig } from "vitepress"; |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: "Pyreon", |
| 5 | + description: |
| 6 | + "A signal-based UI framework with fine-grained reactivity and a rich ecosystem.", |
| 7 | + |
| 8 | + cleanUrls: true, |
| 9 | + lastUpdated: true, |
| 10 | + |
| 11 | + markdown: { |
| 12 | + // Prevent Vue from interpreting {{ }} inside code blocks |
| 13 | + defaultHighlightLang: "text", |
| 14 | + }, |
| 15 | + |
| 16 | + vue: { |
| 17 | + template: { |
| 18 | + compilerOptions: { |
| 19 | + // Allow custom components |
| 20 | + isCustomElement: () => false, |
| 21 | + }, |
| 22 | + }, |
| 23 | + }, |
| 24 | + |
| 25 | + head: [ |
| 26 | + [ |
| 27 | + "meta", |
| 28 | + { |
| 29 | + name: "og:description", |
| 30 | + content: |
| 31 | + "Signal-based UI framework — fine-grained reactivity, no virtual DOM, streaming SSR.", |
| 32 | + }, |
| 33 | + ], |
| 34 | + ], |
| 35 | + |
| 36 | + themeConfig: { |
| 37 | + search: { |
| 38 | + provider: "local", |
| 39 | + }, |
| 40 | + |
| 41 | + nav: [ |
| 42 | + { text: "Docs", link: "/docs/", activeMatch: "/docs/" }, |
| 43 | + { text: "GitHub", link: "https://github.com/pyreon" }, |
| 44 | + ], |
| 45 | + |
| 46 | + sidebar: { |
| 47 | + "/docs/": [ |
| 48 | + { |
| 49 | + text: "Getting Started", |
| 50 | + items: [ |
| 51 | + { text: "Overview", link: "/docs/" }, |
| 52 | + { text: "Getting Started", link: "/docs/getting-started" }, |
| 53 | + ], |
| 54 | + }, |
| 55 | + { |
| 56 | + text: "Core Framework", |
| 57 | + collapsed: false, |
| 58 | + items: [ |
| 59 | + { text: "Reactivity", link: "/docs/reactivity" }, |
| 60 | + { text: "Core", link: "/docs/core" }, |
| 61 | + { text: "Compiler", link: "/docs/compiler" }, |
| 62 | + { text: "Runtime DOM", link: "/docs/runtime-dom" }, |
| 63 | + { text: "Runtime Server", link: "/docs/runtime-server" }, |
| 64 | + { text: "Router", link: "/docs/router" }, |
| 65 | + { text: "Head", link: "/docs/head" }, |
| 66 | + { text: "Server", link: "/docs/server" }, |
| 67 | + { text: "Vite Plugin", link: "/docs/vite-plugin" }, |
| 68 | + { text: "TypeScript", link: "/docs/typescript" }, |
| 69 | + { text: "CLI", link: "/docs/cli" }, |
| 70 | + { text: "MCP Server", link: "/docs/mcp" }, |
| 71 | + ], |
| 72 | + }, |
| 73 | + { |
| 74 | + text: "Compatibility Layers", |
| 75 | + collapsed: false, |
| 76 | + items: [ |
| 77 | + { text: "React Compat", link: "/docs/react-compat" }, |
| 78 | + { text: "Preact Compat", link: "/docs/preact-compat" }, |
| 79 | + { text: "Solid Compat", link: "/docs/solid-compat" }, |
| 80 | + { text: "Vue Compat", link: "/docs/vue-compat" }, |
| 81 | + ], |
| 82 | + }, |
| 83 | + { |
| 84 | + text: "State & Data", |
| 85 | + collapsed: false, |
| 86 | + items: [ |
| 87 | + { text: "Store", link: "/docs/store" }, |
| 88 | + { text: "State Tree", link: "/docs/state-tree" }, |
| 89 | + { text: "Form", link: "/docs/form" }, |
| 90 | + { text: "Validation", link: "/docs/validation" }, |
| 91 | + { text: "I18n", link: "/docs/i18n" }, |
| 92 | + { text: "Query", link: "/docs/query" }, |
| 93 | + { text: "Table", link: "/docs/table" }, |
| 94 | + { text: "Virtual", link: "/docs/virtual" }, |
| 95 | + { text: "Machine", link: "/docs/machine" }, |
| 96 | + { text: "Storage", link: "/docs/storage" }, |
| 97 | + { text: "Permissions", link: "/docs/permissions" }, |
| 98 | + { text: "Hotkeys", link: "/docs/hotkeys" }, |
| 99 | + ], |
| 100 | + }, |
| 101 | + { |
| 102 | + text: "Meta-Framework", |
| 103 | + collapsed: false, |
| 104 | + items: [ |
| 105 | + { text: "Zero", link: "/docs/zero" }, |
| 106 | + { text: "Create Zero", link: "/docs/create-zero" }, |
| 107 | + { text: "Meta", link: "/docs/meta" }, |
| 108 | + { text: "Storybook", link: "/docs/storybook" }, |
| 109 | + ], |
| 110 | + }, |
| 111 | + { |
| 112 | + text: "UI System", |
| 113 | + collapsed: false, |
| 114 | + items: [ |
| 115 | + { text: "UI Core", link: "/docs/ui-core" }, |
| 116 | + { text: "Styler", link: "/docs/styler" }, |
| 117 | + { text: "Unistyle", link: "/docs/unistyle" }, |
| 118 | + { text: "Hooks", link: "/docs/hooks" }, |
| 119 | + { text: "Elements", link: "/docs/elements" }, |
| 120 | + { text: "Attrs", link: "/docs/attrs" }, |
| 121 | + { text: "Rocketstyle", link: "/docs/rocketstyle" }, |
| 122 | + { text: "Coolgrid", link: "/docs/coolgrid" }, |
| 123 | + { text: "Kinetic", link: "/docs/kinetic" }, |
| 124 | + { text: "Kinetic Presets", link: "/docs/kinetic-presets" }, |
| 125 | + { |
| 126 | + text: "Connector Document", |
| 127 | + link: "/docs/connector-document", |
| 128 | + }, |
| 129 | + { |
| 130 | + text: "Document Primitives", |
| 131 | + link: "/docs/document-primitives", |
| 132 | + }, |
| 133 | + ], |
| 134 | + }, |
| 135 | + { |
| 136 | + text: "Ecosystem", |
| 137 | + collapsed: false, |
| 138 | + items: [ |
| 139 | + { text: "Document", link: "/docs/document" }, |
| 140 | + { text: "Charts", link: "/docs/charts" }, |
| 141 | + { text: "Code Editor", link: "/docs/code" }, |
| 142 | + { text: "Flow", link: "/docs/flow" }, |
| 143 | + { text: "Feature", link: "/docs/feature" }, |
| 144 | + ], |
| 145 | + }, |
| 146 | + { |
| 147 | + text: "Developer Tools", |
| 148 | + collapsed: true, |
| 149 | + items: [{ text: "DevTools", link: "/docs/devtools" }], |
| 150 | + }, |
| 151 | + ], |
| 152 | + }, |
| 153 | + |
| 154 | + socialLinks: [{ icon: "github", link: "https://github.com/pyreon" }], |
| 155 | + |
| 156 | + editLink: { |
| 157 | + pattern: "https://github.com/pyreon/docs/edit/main/:path", |
| 158 | + text: "Edit this page on GitHub", |
| 159 | + }, |
| 160 | + |
| 161 | + footer: { |
| 162 | + message: "Released under the MIT License.", |
| 163 | + copyright: "Copyright © Pyreon", |
| 164 | + }, |
| 165 | + }, |
| 166 | +}); |
0 commit comments