-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
118 lines (117 loc) · 2.57 KB
/
astro.config.mjs
File metadata and controls
118 lines (117 loc) · 2.57 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
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Charms',
favicon: '/favicon.png',
head: [
// Add favicon fallback for Safari.
{
tag: 'link',
attrs: {
rel: 'icon',
href: '/favicon.ico',
sizes: '32x32',
},
},
],
customCss: [
'./src/styles/custom.css'
],
logo: {
light: './src/assets/logo-charms.png',
replacesTitle: true,
dark: './src/assets/logo-charms-dark.png',
},
social: [
{
href: 'https://x.com/CharmsDev',
label: 'X',
icon: 'x.com',
},
{
href: 'https://github.com/CharmsDev/charms',
icon: 'github',
label: 'GitHub',
},
],
sidebar: [
{
label: 'Concepts',
autogenerate: { directory: 'concepts' },
},
{
label: 'Guides',
items: [
{
label: 'Charms Apps',
collapsed: false,
autogenerate: { directory: 'guides/charms-apps' },
},
{
label: 'Wallet Integration',
collapsed: false,
items: [
{
label: 'Introduction',
link: '/guides/wallet-integration/introduction/',
},
{
label: 'Charms Visualization',
link: '/guides/wallet-integration/visualization/',
},
{
label: 'Charms Transactions',
collapsed: false,
items: [
{
label: 'Transactions Overview',
link: '/guides/wallet-integration/transactions/overview/',
},
{
label: 'NFT Transfers',
link: '/guides/wallet-integration/transactions/nft/',
},
{
label: 'Token Transfers',
link: '/guides/wallet-integration/transactions/token/',
},
{
label: 'Prover API',
link: '/guides/wallet-integration/transactions/prover-api/',
},
{
label: 'Signing Transactions',
link: '/guides/wallet-integration/transactions/signing/',
},
{
label: 'Broadcasting Transactions',
link: '/guides/wallet-integration/transactions/broadcasting/',
},
],
},
],
},
],
},
{
label: 'References',
collapsed: false,
items: [
{
label: 'Spell JSON Reference',
link: '/references/spell-json/',
},
],
},
{
label: 'Whitepaper',
link: '/Charms-whitepaper.pdf',
}
],
}),
],
});