-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
77 lines (76 loc) · 3.2 KB
/
astro.config.mjs
File metadata and controls
77 lines (76 loc) · 3.2 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightMermaid from '@pasqal-io/starlight-client-mermaid';
import starlightTopicVersions from './src/plugins/starlight-topic-versions/index.ts';
export default defineConfig({
site: 'https://eventuous.dev',
integrations: [
starlight({
title: 'Eventuous',
logo: {
src: './src/assets/logo.png',
},
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/eventuous' },
{ icon: 'discord', label: 'Discord', href: 'https://discord.gg/ZrqM6vnnmf' },
],
customCss: ['./src/styles/custom.css'],
plugins: [
starlightTopicVersions([
{
label: '.NET',
link: '/dotnet/intro/',
id: 'dotnet',
items: [
{ label: 'Introduction', slug: 'dotnet/intro' },
{ label: "What's New", slug: 'dotnet/whats-new' },
{ label: 'Prologue', autogenerate: { directory: 'dotnet/prologue' } },
{ label: 'Domain', autogenerate: { directory: 'dotnet/domain' } },
{ label: 'Persistence', autogenerate: { directory: 'dotnet/persistence' } },
{ label: 'Application', autogenerate: { directory: 'dotnet/application' } },
{ label: 'Subscriptions', autogenerate: { directory: 'dotnet/subscriptions' } },
{ label: 'Read Models', autogenerate: { directory: 'dotnet/read-models' } },
{ label: 'Producers', autogenerate: { directory: 'dotnet/producers' } },
{ label: 'Gateway', autogenerate: { directory: 'dotnet/gateway' } },
{ label: 'Diagnostics', autogenerate: { directory: 'dotnet/diagnostics' } },
{ label: 'Infrastructure', autogenerate: { directory: 'dotnet/infra' } },
{ label: 'FAQ', autogenerate: { directory: 'dotnet/faq' } },
],
versions: {
current: { label: 'v0.16 (Stable)' },
versions: [
{ slug: 'dotnet-0.15', label: 'v0.15' },
{ slug: 'dotnet-next', label: 'Preview' },
],
},
},
{
label: 'Go',
link: '/go/intro/',
id: 'go',
items: [
{ label: 'Introduction', slug: 'go/intro' },
{ label: "What's New", slug: 'go/whats-new' },
{ label: 'Concepts', autogenerate: { directory: 'go/concepts' } },
{ label: 'Domain', autogenerate: { directory: 'go/domain' } },
{ label: 'Application', autogenerate: { directory: 'go/application' } },
{ label: 'Persistence', autogenerate: { directory: 'go/persistence' } },
{ label: 'Subscriptions', autogenerate: { directory: 'go/subscriptions' } },
{ label: 'Infrastructure', autogenerate: { directory: 'go/infra' } },
],
},
]),
starlightMermaid(),
],
head: [
{
tag: 'link',
attrs: { rel: 'icon', href: '/favicon.ico', sizes: '32x32' },
},
],
editLink: {
baseUrl: 'https://github.com/eventuous/eventuous-docs/edit/main/',
},
}),
],
});