|
1 | 1 | // @ts-check |
2 | | -import { defineConfig } from 'astro/config'; |
3 | | -import starlight from '@astrojs/starlight'; |
4 | | -import starlightLlmsTxt from 'starlight-llms-txt'; |
| 2 | +import { defineConfig } from "astro/config"; |
| 3 | +import starlight from "@astrojs/starlight"; |
| 4 | +import starlightLlmsTxt from "starlight-llms-txt"; |
5 | 5 |
|
6 | 6 | // https://astro.build/config |
7 | 7 | export default defineConfig({ |
8 | | - site: 'https://basemind.ai', |
9 | | - integrations: [ |
10 | | - starlight({ |
11 | | - title: 'basemind', |
12 | | - description: |
13 | | - 'The context and communication layer for coding agents. A pure-Rust code map, ' + |
14 | | - 'document RAG, git intelligence, shared memory, and agent-to-agent comms — served over MCP.', |
15 | | - logo: { |
16 | | - src: './src/assets/logo.svg', |
17 | | - alt: 'basemind', |
18 | | - replacesTitle: true, |
19 | | - }, |
20 | | - favicon: '/favicon.svg', |
21 | | - customCss: ['./src/styles/custom.css'], |
22 | | - social: [ |
23 | | - { icon: 'github', label: 'GitHub', href: 'https://github.com/Goldziher/basemind' }, |
24 | | - ], |
25 | | - editLink: { |
26 | | - baseUrl: 'https://github.com/Goldziher/basemind/edit/main/website/', |
27 | | - }, |
28 | | - head: [ |
29 | | - { |
30 | | - tag: 'link', |
31 | | - attrs: { rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }, |
32 | | - }, |
33 | | - { |
34 | | - tag: 'link', |
35 | | - attrs: { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32.png' }, |
36 | | - }, |
37 | | - { |
38 | | - tag: 'meta', |
39 | | - attrs: { property: 'og:image', content: 'https://basemind.ai/og.png' }, |
40 | | - }, |
41 | | - { |
42 | | - tag: 'meta', |
43 | | - attrs: { name: 'twitter:card', content: 'summary_large_image' }, |
44 | | - }, |
45 | | - { |
46 | | - tag: 'meta', |
47 | | - attrs: { name: 'twitter:image', content: 'https://basemind.ai/og.png' }, |
48 | | - }, |
49 | | - ], |
50 | | - plugins: [ |
51 | | - starlightLlmsTxt({ |
52 | | - // llms-full.txt keeps the complete corpus. llms-small.txt drops the |
53 | | - // exhaustive reference pages (CLI flags, every config key, architecture |
54 | | - // internals, perf tables) so the abridged variant is genuinely smaller |
55 | | - // — mcp-tools stays, it's the agent-facing routing surface. |
56 | | - exclude: [ |
57 | | - 'reference/cli', |
58 | | - 'reference/configuration', |
59 | | - 'reference/architecture', |
60 | | - 'reference/performance', |
61 | | - ], |
62 | | - promote: ['index*', 'start/**', 'concepts/**'], |
63 | | - minify: { collapseCodeBlocks: true }, |
64 | | - details: |
65 | | - 'Operating rule: basemind first, shell/grep/git fallback — prefer its MCP tools ' + |
66 | | - 'over reading files, over grep, and over naked git. Curated project map: ' + |
67 | | - 'https://github.com/Goldziher/basemind/blob/main/llms.txt', |
68 | | - }), |
69 | | - ], |
70 | | - sidebar: [ |
71 | | - { |
72 | | - label: 'Start here', |
73 | | - items: [ |
74 | | - { label: 'Introduction', slug: 'start/introduction' }, |
75 | | - { label: 'Installation', slug: 'start/installation' }, |
76 | | - { label: 'Quickstart', slug: 'start/quickstart' }, |
77 | | - ], |
78 | | - }, |
79 | | - { |
80 | | - label: 'Concepts', |
81 | | - items: [ |
82 | | - { label: 'How it works', slug: 'concepts/how-it-works' }, |
83 | | - { label: 'Token economy', slug: 'concepts/token-economy' }, |
84 | | - { label: 'Shared memory', slug: 'concepts/memory' }, |
85 | | - { label: 'Agent comms', slug: 'concepts/agent-comms' }, |
86 | | - ], |
87 | | - }, |
88 | | - { |
89 | | - label: 'Capabilities', |
90 | | - items: [ |
91 | | - { label: 'Code intelligence', slug: 'capabilities/code-intelligence' }, |
92 | | - { label: 'Git intelligence', slug: 'capabilities/git-intelligence' }, |
93 | | - { label: 'Document search', slug: 'capabilities/document-search' }, |
94 | | - { label: 'Semantic code search', slug: 'capabilities/code-search' }, |
95 | | - { label: 'Web crawl', slug: 'capabilities/web-crawl' }, |
96 | | - { label: 'Agent shells', slug: 'capabilities/agent-shells' }, |
97 | | - ], |
98 | | - }, |
99 | | - { |
100 | | - label: 'Reference', |
101 | | - items: [ |
102 | | - { label: 'MCP tools', slug: 'reference/mcp-tools' }, |
103 | | - { label: 'CLI', slug: 'reference/cli' }, |
104 | | - { label: 'Configuration', slug: 'reference/configuration' }, |
105 | | - { label: 'Architecture', slug: 'reference/architecture' }, |
106 | | - { label: 'Performance', slug: 'reference/performance' }, |
107 | | - ], |
108 | | - }, |
109 | | - ], |
110 | | - }), |
111 | | - ], |
| 8 | + site: "https://basemind.ai", |
| 9 | + integrations: [ |
| 10 | + starlight({ |
| 11 | + title: "basemind", |
| 12 | + description: |
| 13 | + "The context and communication layer for coding agents. A pure-Rust code map, " + |
| 14 | + "document RAG, git intelligence, shared memory, and agent-to-agent comms — served over MCP.", |
| 15 | + logo: { |
| 16 | + src: "./src/assets/logo.svg", |
| 17 | + alt: "basemind", |
| 18 | + replacesTitle: true, |
| 19 | + }, |
| 20 | + favicon: "/favicon.svg", |
| 21 | + customCss: ["./src/styles/custom.css"], |
| 22 | + social: [{ icon: "github", label: "GitHub", href: "https://github.com/Goldziher/basemind" }], |
| 23 | + editLink: { |
| 24 | + baseUrl: "https://github.com/Goldziher/basemind/edit/main/website/", |
| 25 | + }, |
| 26 | + head: [ |
| 27 | + { |
| 28 | + tag: "link", |
| 29 | + attrs: { rel: "apple-touch-icon", href: "/apple-touch-icon.png" }, |
| 30 | + }, |
| 31 | + { |
| 32 | + tag: "link", |
| 33 | + attrs: { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32.png" }, |
| 34 | + }, |
| 35 | + { |
| 36 | + tag: "meta", |
| 37 | + attrs: { property: "og:image", content: "https://basemind.ai/og.png" }, |
| 38 | + }, |
| 39 | + { |
| 40 | + tag: "meta", |
| 41 | + attrs: { name: "twitter:card", content: "summary_large_image" }, |
| 42 | + }, |
| 43 | + { |
| 44 | + tag: "meta", |
| 45 | + attrs: { name: "twitter:image", content: "https://basemind.ai/og.png" }, |
| 46 | + }, |
| 47 | + ], |
| 48 | + plugins: [ |
| 49 | + starlightLlmsTxt({ |
| 50 | + // llms-full.txt keeps the complete corpus. llms-small.txt drops the |
| 51 | + // exhaustive reference pages (CLI flags, every config key, architecture |
| 52 | + // internals, perf tables) so the abridged variant is genuinely smaller |
| 53 | + // — mcp-tools stays, it's the agent-facing routing surface. |
| 54 | + exclude: ["reference/cli", "reference/configuration", "reference/architecture", "reference/performance"], |
| 55 | + promote: ["index*", "start/**", "concepts/**"], |
| 56 | + minify: { collapseCodeBlocks: true }, |
| 57 | + details: |
| 58 | + "Operating rule: basemind first, shell/grep/git fallback — prefer its MCP tools " + |
| 59 | + "over reading files, over grep, and over naked git. Curated project map: " + |
| 60 | + "https://github.com/Goldziher/basemind/blob/main/llms.txt", |
| 61 | + }), |
| 62 | + ], |
| 63 | + sidebar: [ |
| 64 | + { |
| 65 | + label: "Start here", |
| 66 | + items: [ |
| 67 | + { label: "Introduction", slug: "start/introduction" }, |
| 68 | + { label: "Installation", slug: "start/installation" }, |
| 69 | + { label: "Quickstart", slug: "start/quickstart" }, |
| 70 | + ], |
| 71 | + }, |
| 72 | + { |
| 73 | + label: "Concepts", |
| 74 | + items: [ |
| 75 | + { label: "How it works", slug: "concepts/how-it-works" }, |
| 76 | + { label: "Token economy", slug: "concepts/token-economy" }, |
| 77 | + { label: "Shared memory", slug: "concepts/memory" }, |
| 78 | + { label: "Agent comms", slug: "concepts/agent-comms" }, |
| 79 | + ], |
| 80 | + }, |
| 81 | + { |
| 82 | + label: "Capabilities", |
| 83 | + items: [ |
| 84 | + { label: "Code intelligence", slug: "capabilities/code-intelligence" }, |
| 85 | + { label: "Git intelligence", slug: "capabilities/git-intelligence" }, |
| 86 | + { label: "Document search", slug: "capabilities/document-search" }, |
| 87 | + { label: "Semantic code search", slug: "capabilities/code-search" }, |
| 88 | + { label: "Web crawl", slug: "capabilities/web-crawl" }, |
| 89 | + { label: "Agent shells", slug: "capabilities/agent-shells" }, |
| 90 | + ], |
| 91 | + }, |
| 92 | + { |
| 93 | + label: "Reference", |
| 94 | + items: [ |
| 95 | + { label: "MCP tools", slug: "reference/mcp-tools" }, |
| 96 | + { label: "CLI", slug: "reference/cli" }, |
| 97 | + { label: "Configuration", slug: "reference/configuration" }, |
| 98 | + { label: "Architecture", slug: "reference/architecture" }, |
| 99 | + { label: "Performance", slug: "reference/performance" }, |
| 100 | + ], |
| 101 | + }, |
| 102 | + ], |
| 103 | + }), |
| 104 | + ], |
112 | 105 | }); |
0 commit comments