forked from taikoxyz/taiko-mono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.ts
165 lines (164 loc) · 5.51 KB
/
astro.config.ts
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
154
155
156
157
158
159
160
161
162
163
164
165
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightLinksValidator from "starlight-links-validator";
import starlightOpenAPI, { openAPISidebarGroups } from "starlight-openapi";
// https://astro.build/config
export default defineConfig({
site: "https://docs.taiko.xyz",
server: {
host: true,
},
redirects: {
"/": "/start-here/getting-started",
},
integrations: [
starlight({
plugins: [
starlightLinksValidator({
exclude: [
// "/api-reference/blob-storage",
"/api-reference/bridge-relayer",
"/api-reference/event-indexer",
"/api-reference/prover-server",
],
}),
starlightOpenAPI([
// {
// base: "api-reference/blob-storage",
// label: "Blob Storage API",
// schema: "../blobstorage/docs/swagger.yaml",
// },
{
base: "api-reference/bridge-relayer",
label: "Bridge Relayer API",
schema: "../relayer/docs/swagger.yaml",
},
{
base: "api-reference/event-indexer",
label: "Event Indexer API",
schema: "../eventindexer/docs/swagger.yaml",
},
{
base: "api-reference/prover-server",
label: "Prover Server API",
schema: "../taiko-client/docs/swagger.yaml",
},
]),
],
components: {
SiteTitle: "./src/components/starlight/SiteTitle.astro",
Head: "./src/components/starlight/Head.astro",
},
title: "Docs",
editLink: {
baseUrl: "https://github.com/taikoxyz/docs/edit/main/",
},
customCss: ["./src/styles/custom.css"],
logo: {
dark: "./src/assets/logo-dark.svg",
light: "./src/assets/logo-light.svg",
},
social: {
github: "https://github.com/taikoxyz",
"x.com": "https://x.com/taikoxyz",
discord: "https://discord.gg/taikoxyz",
youtube: "https://youtube.com/@taikoxyz",
},
sidebar: [
{
label: "Start Here",
items: [
{ label: "Getting started", link: "/start-here/getting-started/" },
{ label: "Contributing", link: "/start-here/contributing/" },
{ label: "Getting support", link: "/start-here/getting-support" },
],
},
{
label: "Core Concepts",
items: [
{ label: "What is Taiko?", link: "/core-concepts/what-is-taiko/" },
{
label: "Based sequencing",
link: "/core-concepts/based-sequencing/",
},
{
label: "Contestable rollups",
link: "/core-concepts/contestable-rollups/",
},
{
label: "Booster rollups",
link: "/core-concepts/booster-rollups/",
},
{ label: "Multi-proofs", link: "/core-concepts/multi-proofs/" },
{
label: "Taiko nodes",
link: "/core-concepts/taiko-nodes/",
},
{
label: "Bridging",
link: "/core-concepts/bridging/",
},
{
label: "Inception layers",
link: "/core-concepts/inception-layers/",
},
],
},
{
label: "Guides",
items: [
{
label: "Set up your wallet",
link: "/guides/set-up-your-wallet/",
},
{ label: "Receive tokens", link: "/guides/receive-tokens/" },
{ label: "Bridge tokens", link: "/guides/bridge-tokens/" },
{ label: "Swap tokens", link: "/guides/swap-tokens/" },
{ label: "Deploy a contract", link: "/guides/deploy-a-contract/" },
{ label: "Verify a contract", link: "/guides/verify-a-contract/" },
{
label: "Run a Holesky node",
link: "/guides/run-a-holesky-node/",
},
{ label: "Run a Taiko Node with Docker", link: "/guides/run-a-taiko-node-with-docker/" },
{ label: "Build a Taiko Node from Source", link: "/guides/build-a-taiko-node-from-source/" },
// { label: "Run a Mainnet Taiko Node from Source", link: "/guides/run-a-mainnet-taiko-node-from-source/" },
{ label: "Run a Testnet Taiko Node from Source", link: "/guides/run-a-testnet-taiko-node-from-source/" },
{ label: "Enable a proposer", link: "/guides/enable-a-proposer/" },
{ label: "Enable a prover", link: "/guides/enable-a-prover/" },
{ label: "Node Troubleshooting", link:"/guides/node-troubleshooting/" }
],
},
{
label: "Network Reference",
items: [
{
label: "Addresses",
link: "/network-reference/addresses",
},
{
label: "Differences from Ethereum",
link: "/network-reference/differences-from-ethereum",
},
{
label: "Network configuration",
link: "/network-reference/network-configuration",
},
{
label: "RPC configuration",
link: "/network-reference/rpc-configuration",
},
],
},
{
label: "Resources",
autogenerate: { directory: "resources" },
},
{
label: "API Reference",
items: openAPISidebarGroups,
},
],
}),
],
});