-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathastro.config.mjs
More file actions
153 lines (151 loc) Β· 4.06 KB
/
astro.config.mjs
File metadata and controls
153 lines (151 loc) Β· 4.06 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightLinksValidator from "starlight-links-validator";
import mdx from "@astrojs/mdx";
// https://astro.build/config
export default defineConfig({
site: "https://interledger.org",
base: "/developers",
i18n: {
locales: ["es", "en"],
defaultLocale: "en",
routing: {
prefixDefaultLocale: false,
fallbackType: "rewrite"
},
fallback: {
es: "en"
}
},
integrations: [
starlight({
title: "Interledger",
description: "Enable seamless exchange of value across payment networks.",
customCss: [
"./node_modules/@interledger/docs-design-system/src/styles/teal-theme.css",
"./node_modules/@interledger/docs-design-system/src/styles/ilf-docs.css",
"./src/styles/interledger.css",
"./src/styles/atom-one-light.min.css",
],
plugins: [
starlightLinksValidator({
exclude: ["/participation-guidelines"],
}),
],
head: [
{
tag: "script",
attrs: {
src: "/developers/scripts/highlight.min.js",
defer: true,
},
},
{
tag: "script",
attrs: {
src: "/developers/scripts/init.js",
defer: true,
},
},
{
tag: "script",
attrs: {
defer: true,
"data-website-id": "50d81dd1-bd02-4f82-8a55-34a09ccbbbd9",
src: "https://ilf-site-analytics.netlify.app/script.js",
"data-domains": "interledger.org",
},
},
],
components: {
Header: "./src/components/Header.astro",
PageSidebar: "./src/components/PageSidebar.astro",
},
social: {
github: "https://github.com/interledger",
},
sidebar: [
{
label: "Overview",
link: "/get-started",
},
{
label: "Get involved",
link: "/get-involved",
},
{
label: "Specifications",
items: [
{
label: "Interledger Protocol V4 (ILPv4)",
link: "/rfcs/interledger-protocol",
},
{
label: "Interledger Architecture",
link: "/rfcs/interledger-architecture",
},
{
label: "Interledger Addresses",
link: "/rfcs/ilp-addresses",
},
{
label: "STREAM Protocol",
link: "/rfcs/stream-protocol",
},
{
label: "Simple Payment Setup Protocol (SPSP)",
link: "/rfcs/simple-payment-setup-protocol",
},
{
label: "Peering, Clearing and Settling",
link: "/rfcs/peering-clearing-settling",
},
{
label: "Settlement Engines",
link: "/rfcs/settlement-engines",
},
{
label: "ILP Over HTTP",
link: "/rfcs/ilp-over-http",
},
{
label: "Bilateral Transfer Protocol",
link: "/rfcs/bilateral-transfer-protocol",
},
{
label: "STREAM Receipts",
link: "/rfcs/stream-receipts",
},
{
label: "Hashed-Timelock Agreements",
link: "/rfcs/hashed-timelock-agreements",
},
{
label: "Payment Pointers",
link: "https://paymentpointers.org",
attrs: {
target: "_blank",
class: "external-link",
rel: "noopener noreferrer",
},
},
],
},
],
expressiveCode: {
themes: ["github-dark-dimmed"],
styleOverrides: {
borderColor: "transparent",
borderRadius: "var(--border-radius)",
},
defaultProps: {
wrap: true,
},
},
}),
mdx(),
],
server: {
port: 1103,
},
});