-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
134 lines (133 loc) · 4.62 KB
/
astro.config.mjs
File metadata and controls
134 lines (133 loc) · 4.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
export default defineConfig({
site: 'https://roborev.io',
redirects: {
'/integrations/postgres-sync/': '/guides/postgres-sync/',
'/agents/modes/': '/guides/custom-tasks/',
'/guides/reviewing-branches/': '/guides/reviewing-code/',
'/guides/reviewing-dirty/': '/guides/reviewing-code/',
},
integrations: [
starlight({
title: 'roborev',
logo: {
src: './src/assets/logo-transparent.svg',
},
disable404Route: false,
components: {
ThemeSelect: './src/components/EmptyThemeSelect.astro',
Header: './src/components/Header.astro',
Footer: './src/components/Footer.astro',
},
customCss: ['./src/styles/custom.css'],
expressiveCode: {
themes: ['dracula'],
styleOverrides: {
copyButton: {
visible: true,
},
},
},
social: {
github: 'https://github.com/roborev-dev/roborev',
discord: 'https://discord.gg/fDnmxB8Wkq',
},
head: [
// Open Graph / Social preview
{
tag: 'meta',
attrs: { property: 'og:image', content: 'https://roborev.io/og-image.png' },
},
{
tag: 'meta',
attrs: { property: 'og:image:width', content: '1200' },
},
{
tag: 'meta',
attrs: { property: 'og:image:height', content: '630' },
},
{
tag: 'meta',
attrs: { property: 'og:type', content: 'website' },
},
{
tag: 'meta',
attrs: { name: 'twitter:card', content: 'summary_large_image' },
},
{
tag: 'meta',
attrs: { name: 'twitter:image', content: 'https://roborev.io/og-image.png' },
},
// Lightbox for screenshot zoom
{
tag: 'script',
attrs: { src: '/lightbox.js', defer: true },
},
// Mermaid for diagrams (client-side)
{
tag: 'script',
attrs: {
type: 'module',
},
content: `
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11.4.0/dist/mermaid.esm.min.mjs';
mermaid.initialize({
startOnLoad: true,
theme: 'dark',
themeVariables: {
primaryColor: '#0d3331',
primaryTextColor: '#00ff9f',
primaryBorderColor: '#333333',
lineColor: '#00ff9f',
secondaryColor: '#1a1a1a',
tertiaryColor: '#0f0f0f',
background: '#0a0a0a',
mainBkg: '#0f0f0f',
nodeBorder: '#333333',
clusterBkg: '#1a1a1a',
titleColor: '#00ff9f',
edgeLabelBackground: '#0f0f0f'
}
});
`,
},
],
sidebar: [
{ label: 'Quick Start', slug: 'quickstart' },
{ label: 'Installation', slug: 'installation' },
{ label: 'CLI Commands', slug: 'commands' },
{ label: 'Terminal UI', slug: 'integrations/tui' },
{ label: 'Configuration', slug: 'configuration' },
{ label: 'Supported Agents', slug: 'agents' },
{ label: 'GitHub Integration', slug: 'integrations/github' },
{
label: 'Guides',
items: [
{ label: 'Reviewing Code', slug: 'guides/reviewing-code' },
{ label: 'Responding to Reviews', slug: 'guides/responding-to-reviews' },
{ label: 'Agent Skills', slug: 'guides/agent-skills' },
{ label: 'Code Analysis & Refactoring', slug: 'guides/assisted-refactoring' },
{ label: 'Auto-Fix with Refine', slug: 'guides/auto-fixing' },
{ label: 'Custom Tasks & Agentic Mode', slug: 'guides/custom-tasks' },
{ label: 'Agent Client Protocol (ACP)', slug: 'guides/acp' },
{ label: 'Repository Management', slug: 'guides/repository-management' },
{ label: 'PostgreSQL Sync', slug: 'guides/postgres-sync' },
],
},
{
label: 'Integrations',
items: [
{ label: 'Claude Chic', slug: 'integrations/claudechic' },
{ label: 'Event Streaming', slug: 'integrations/streaming' },
{ label: 'Git Worktrees', slug: 'integrations/git-worktrees' },
],
},
{ label: 'Review Hooks', slug: 'guides/hooks' },
{ label: 'Troubleshooting', slug: 'guides/troubleshooting' },
{ label: 'Development', slug: 'development' },
{ label: 'Changelog', slug: 'changelog' },
],
}),
],
});