-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathastro.config.mjs
70 lines (67 loc) · 2.05 KB
/
astro.config.mjs
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
import { defineConfig } from "astro/config";
import aws from "astro-sst";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
import starlightOpenAPI, { openAPISidebarGroups } from "starlight-openapi"
// https://astro.build/config
export default defineConfig({
site: "https://docs.liteseed.xyz",
integrations: [
starlight({
customCss: ["./src/styles.css"],
description: "Liteseed Network is a decentralized network of bundlers",
editLink: { baseUrl: "https://github.com/liteseed/documentation" },
logo: {
light: "./src/assets/icon_light.webp",
dark: "./src/assets/icon_dark.webp",
replacesTitle: true,
},
plugins: [
starlightOpenAPI([
{
base: "api",
collapsed: false,
label: "API Reference",
schema: "./schema/swagger.yaml",
},
]),
],
sidebar: [
{
label: "Start Here",
items: [
{ label: "Overview", link: "/" },
]
},
...openAPISidebarGroups,
{
label: "Examples",
items: [
{ label: "Post data using @liteseed/sdk", link: "/examples/post-using-sdk" },
{ label: "Post signed data to Arweave", link: "/examples/post-signed-data-to-arweave" },
{ label: "Post a file to Arweave", link: "/examples/post-a-file" },
]
},
{
label: "Core Concepts",
items: [
{ label: "What is Arweave?", link: "/core-concepts/what-is-arweave" },
{ label: "What is AO?", link: "/core-concepts/what-is-ao" },
{ label: "What is Liteseed Network?", link: "/core-concepts/what-is-liteseed" },
]
},
],
social: {
discord: "https://discord.gg/yh4xsTUWUn",
github: "https://github.com/liteseed",
"x.com": "https://x.com/liteseed_xyz",
},
title: "Liteseed"
}),
tailwind({
applyBaseStyles: false
}),
],
output: "static",
adapter: aws()
});