-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
158 lines (152 loc) · 3.52 KB
/
Copy pathastro.config.mjs
File metadata and controls
158 lines (152 loc) · 3.52 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
154
155
156
157
158
// @ts-check
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import starlight from "@astrojs/starlight";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig, fontProviders } from "astro/config";
import starlightBlog from "starlight-blog";
import starlightImageZoom from "starlight-image-zoom";
// https://astro.build/config
export default defineConfig({
site: "https://dojo-osp.org",
fonts: [
{
provider: fontProviders.fontsource(),
name: "Cabin",
cssVariable: "--font-cabin",
weights: [400, 500, 600, 700, 800],
},
{
provider: fontProviders.fontsource(),
name: "Roboto Condensed",
cssVariable: "--font-roboto-condensed",
weights: [400, 500, 600, 700, 800],
styles: ["normal"],
},
],
prefetch: {
prefetchAll: true,
},
integrations: [
starlight({
title: "Dojo Open Source Project",
logo: {
src: "./src/assets/dojo.svg",
},
social: [
{
icon: "telegram",
label: "Telegram",
href: "https://t.me/samourai_dojo",
},
{
icon: "github",
label: "GitHub",
href: "https://github.com/Dojo-Open-Source-Project/",
},
{
icon: "x.com",
label: "X.com",
href: "https://x.com/PavelTheCoder/",
},
],
sidebar: [
{
label: "Installing Dojo",
items: [
{ label: "Requirements", slug: "install/requirements" },
{
label: "Install dependencies",
slug: "install/install-dependencies",
},
{
label: "Create segregated user",
slug: "install/segregated-user",
},
{
label: "Download and verify Dojo",
slug: "install/download-and-verify",
},
{ label: "Configure Dojo", slug: "install/configure-dojo" },
{ label: "Install Dojo", slug: "install/install-dojo" },
{
label: "Monitoring syncing status",
slug: "install/monitoring-syncing-status",
},
],
},
{
label: "Using Dojo",
items: [
{
label: "Dojo Maintenance Tool",
slug: "usage/dojo-maintenance-tool",
},
{
label: "General usage practice",
slug: "usage/general-usage-practice",
},
{
label: "Common terminal commands",
slug: "usage/common-terminal-commands",
},
{
label: "Personal block explorer",
slug: "usage/personal-block-explorer",
},
{ label: "Healthy logs", slug: "usage/healthy-logs" },
{
label: "Viewing and editing configuration files",
slug: "usage/view-edit-config-files",
},
{ label: "Updating Dojo", slug: "usage/updating-dojo" },
],
},
{
label: "Advanced usage",
items: [
{
label: "Electrum server (indexer)",
slug: "advanced/indexer-setups",
},
{
label: "Bitcoind setups",
slug: "advanced/bitcoind-setups",
},
{
label: "Explorer, API, and Soroban options",
slug: "advanced/explorer-api-soroban-options",
},
{
label: "Performance and policy tuning",
slug: "advanced/performance-policy-tuning",
},
{
label: "Tor, network, and testnet",
slug: "advanced/tor-network-testnet",
},
],
},
{
label: "API Docs",
collapsed: true,
autogenerate: { directory: "api" },
},
],
plugins: [
starlightBlog({
title: "Releases",
postCount: 5,
recentPostCount: 5,
prefix: "releases",
}),
starlightImageZoom(),
],
}),
mdx(),
sitemap(),
],
vite: {
plugins: [tailwindcss()],
},
});