Skip to content

Commit 52b949a

Browse files
committed
style(website): apply poly fmt to astro/content config and css
These three files had drifted from poly's format (single quotes, tab indent), failing the `poly fmt --check` step of the validate job. Formatting-only normalization — no semantic change.
1 parent 682a245 commit 52b949a

3 files changed

Lines changed: 161 additions & 168 deletions

File tree

website/astro.config.mjs

Lines changed: 100 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,105 @@
11
// @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";
55

66
// https://astro.build/config
77
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+
],
112105
});

website/src/content.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { defineCollection } from 'astro:content';
2-
import { docsLoader } from '@astrojs/starlight/loaders';
3-
import { docsSchema } from '@astrojs/starlight/schema';
1+
import { defineCollection } from "astro:content";
2+
import { docsLoader } from "@astrojs/starlight/loaders";
3+
import { docsSchema } from "@astrojs/starlight/schema";
44

55
export const collections = {
6-
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
6+
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
77
};

website/src/styles/custom.css

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,110 +2,110 @@
22
purple #965aff (primary) · pink #ff5d7c ("base") · blue #5b9bff ("mind") · base #080b13 */
33

44
:root {
5-
/* purple accent ramp (dark theme is the default) */
6-
--sl-color-accent-low: #2b1a54;
7-
--sl-color-accent: #7d4dff;
8-
--sl-color-accent-high: #d3c1ff;
5+
/* purple accent ramp (dark theme is the default) */
6+
--sl-color-accent-low: #2b1a54;
7+
--sl-color-accent: #7d4dff;
8+
--sl-color-accent-high: #d3c1ff;
99

10-
/* cool-tinted grays so surfaces read as deep indigo, not neutral black */
11-
--sl-color-white: #f4f2fb;
12-
--sl-color-gray-1: #e3e0f0;
13-
--sl-color-gray-2: #b6b2ca;
14-
--sl-color-gray-3: #838099;
15-
--sl-color-gray-4: #545067;
16-
--sl-color-gray-5: #35324a;
17-
--sl-color-gray-6: #211f33;
18-
--sl-color-black: #0a0912;
10+
/* cool-tinted grays so surfaces read as deep indigo, not neutral black */
11+
--sl-color-white: #f4f2fb;
12+
--sl-color-gray-1: #e3e0f0;
13+
--sl-color-gray-2: #b6b2ca;
14+
--sl-color-gray-3: #838099;
15+
--sl-color-gray-4: #545067;
16+
--sl-color-gray-5: #35324a;
17+
--sl-color-gray-6: #211f33;
18+
--sl-color-black: #0a0912;
1919

20-
--bm-pink: #ff5d7c;
21-
--bm-blue: #5b9bff;
22-
--bm-purple: #965aff;
20+
--bm-pink: #ff5d7c;
21+
--bm-blue: #5b9bff;
22+
--bm-purple: #965aff;
2323
}
2424

25-
:root[data-theme='light'] {
26-
--sl-color-accent-low: #e7ddff;
27-
--sl-color-accent: #6a3fe0;
28-
--sl-color-accent-high: #2a1a54;
25+
:root[data-theme="light"] {
26+
--sl-color-accent-low: #e7ddff;
27+
--sl-color-accent: #6a3fe0;
28+
--sl-color-accent-high: #2a1a54;
2929

30-
--sl-color-white: #14121f;
31-
--sl-color-gray-1: #24222f;
32-
--sl-color-gray-2: #3b3849;
33-
--sl-color-gray-3: #605c72;
34-
--sl-color-gray-4: #8f8ba0;
35-
--sl-color-gray-5: #c9c6d6;
36-
--sl-color-gray-6: #ece9f4;
37-
--sl-color-gray-7: #f6f4fb;
38-
--sl-color-black: #ffffff;
30+
--sl-color-white: #14121f;
31+
--sl-color-gray-1: #24222f;
32+
--sl-color-gray-2: #3b3849;
33+
--sl-color-gray-3: #605c72;
34+
--sl-color-gray-4: #8f8ba0;
35+
--sl-color-gray-5: #c9c6d6;
36+
--sl-color-gray-6: #ece9f4;
37+
--sl-color-gray-7: #f6f4fb;
38+
--sl-color-black: #ffffff;
3939
}
4040

4141
/* Ambient brand glow behind the header, echoing the banner's radial gradients. */
4242
[data-has-hero] .page {
43-
background:
44-
radial-gradient(60ch 40ch at 15% -10%, color-mix(in oklch, var(--bm-purple) 16%, transparent), transparent 70%),
45-
radial-gradient(50ch 32ch at 88% -6%, color-mix(in oklch, var(--bm-blue) 14%, transparent), transparent 70%);
43+
background:
44+
radial-gradient(60ch 40ch at 15% -10%, color-mix(in oklch, var(--bm-purple) 16%, transparent), transparent 70%),
45+
radial-gradient(50ch 32ch at 88% -6%, color-mix(in oklch, var(--bm-blue) 14%, transparent), transparent 70%);
4646
}
4747

4848
/* Hero: gradient wordmark + brand accent on the primary CTA. */
4949
.hero h1,
5050
.hero .tagline {
51-
font-feature-settings: 'ss01';
51+
font-feature-settings: "ss01";
5252
}
5353

54-
.hero .stack a[data-variant='primary'] {
55-
background: linear-gradient(120deg, var(--bm-pink), var(--bm-purple) 55%, var(--bm-blue));
56-
border: none;
57-
color: #fff;
58-
box-shadow: 0 8px 30px -12px color-mix(in oklch, var(--bm-purple) 80%, transparent);
54+
.hero .stack a[data-variant="primary"] {
55+
background: linear-gradient(120deg, var(--bm-pink), var(--bm-purple) 55%, var(--bm-blue));
56+
border: none;
57+
color: #fff;
58+
box-shadow: 0 8px 30px -12px color-mix(in oklch, var(--bm-purple) 80%, transparent);
5959
}
6060

61-
.hero .stack a[data-variant='primary']:hover {
62-
filter: brightness(1.08);
61+
.hero .stack a[data-variant="primary"]:hover {
62+
filter: brightness(1.08);
6363
}
6464

6565
/* Brandable inline mark used on the home page: "base" pink, "mind" blue. */
6666
.bm-wordmark {
67-
font-weight: 700;
68-
letter-spacing: -0.02em;
67+
font-weight: 700;
68+
letter-spacing: -0.02em;
6969
}
7070
.bm-wordmark .b {
71-
color: var(--bm-pink);
71+
color: var(--bm-pink);
7272
}
7373
.bm-wordmark .m {
74-
color: var(--bm-blue);
74+
color: var(--bm-blue);
7575
}
7676

7777
/* Card grid: lift the surface, add a hairline brand edge on hover. */
7878
.card {
79-
background: color-mix(in oklch, var(--sl-color-gray-6) 60%, transparent);
80-
border: 1px solid var(--sl-color-gray-5);
81-
transition: border-color 0.2s ease, transform 0.2s ease;
79+
background: color-mix(in oklch, var(--sl-color-gray-6) 60%, transparent);
80+
border: 1px solid var(--sl-color-gray-5);
81+
transition: border-color 0.2s ease, transform 0.2s ease;
8282
}
8383
.card:hover {
84-
border-color: color-mix(in oklch, var(--bm-purple) 60%, var(--sl-color-gray-5));
85-
transform: translateY(-2px);
84+
border-color: color-mix(in oklch, var(--bm-purple) 60%, var(--sl-color-gray-5));
85+
transform: translateY(-2px);
8686
}
8787
.card .icon {
88-
color: var(--bm-purple);
89-
background: color-mix(in oklch, var(--bm-purple) 12%, transparent);
88+
color: var(--bm-purple);
89+
background: color-mix(in oklch, var(--bm-purple) 12%, transparent);
9090
}
9191

9292
/* Pixel-art wordmark logo — cap its height so it sits balanced in the nav bar. */
9393
.site-title img {
94-
height: 1.75rem;
95-
width: auto;
94+
height: 1.75rem;
95+
width: auto;
9696
}
9797

9898
/* Splash hero: keep the "core" mark a tidy logo size, not a giant block. */
9999
.hero > img,
100100
.hero .hero-html {
101-
max-width: 200px;
102-
margin-inline: auto;
101+
max-width: 200px;
102+
margin-inline: auto;
103103
}
104104

105105
/* Tighter, denser tables — the reference pages are table-heavy. */
106106
.sl-markdown-content table {
107-
font-size: var(--sl-text-sm);
107+
font-size: var(--sl-text-sm);
108108
}
109109
.sl-markdown-content th {
110-
color: var(--sl-color-white);
110+
color: var(--sl-color-white);
111111
}

0 commit comments

Comments
 (0)