-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
176 lines (172 loc) · 7.3 KB
/
astro.config.mjs
File metadata and controls
176 lines (172 loc) · 7.3 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from '@astrojs/tailwind';
// https://astro.build/config
export default defineConfig({
site: "https://docs.torus.network",
integrations: [
starlight({
title: "Torus Docs",
logo: {
replacesTitle: true,
light: "./src/assets/light-logo.svg",
dark: "./src/assets/dark-logo.svg",
},
social: {
github: "https://github.com/renlabs-dev",
telegram: "https://t.me/torusnetwork",
discord: "https://discord.gg/torus",
"x.com": "https://twitter.com/torus_network",
},
sidebar: [
{
label: "Getting Started",
items: [
{ label: "Welcome", slug: "index" },
{ label: "Understanding Torus", slug: "getting-started/understanding-torus" },
],
},
{
label: "Explanations",
items: [
{ label: "Table of Contents", slug: "explanations/table-of-contents" },
{
label: "System",
collapsed: true,
items: [
{ label: "Control Space", slug: "explanations/system/control-space" },
{ label: "Permission System", slug: "explanations/system/permission-system" },
{ label: "Recursive Delegation", slug: "explanations/system/recursive-delegation" },
{ label: "Wallet Stake Permission", slug: "explanations/system/wallet-stake-permission" },
{ label: "Stream Permissions", slug: "explanations/system/stream-permissions" },
{ label: "Capability Permissions", slug: "explanations/system/capability-permissions" },
{ label: "Wallet Permission", slug: "explanations/system/wallet-stake-permission" },
],
},
{
label: "Holders",
collapsed: true,
items: [
{ label: "Tokenomics", slug: "explanations/holders/tokenomics" },
{ label: "Staking", slug: "explanations/holders/staking" },
],
},
{
label: "Builders",
collapsed: true,
items: [
{ label: "Agent Registration", slug: "explanations/builders/agent-registration" },
{ label: "Agent Managing", slug: "explanations/builders/agent-managing" },
{ label: "Demand Signaling", slug: "explanations/builders/demand-signaling" },
{ label: "Agent Server", slug: "explanations/builders/agent-server" },
{ label: "Agent Client", slug: "explanations/builders/agent-client" },
],
},
{
label: "Goal Leaders",
collapsed: true,
items: [
{ label: "Root Agents", slug: "explanations/goal-leaders/root-agents" },
{ label: "DAO Treasury", slug: "explanations/goal-leaders/dao-treasury" },
{ label: "Emission Proposals", slug: "explanations/goal-leaders/emission-proposals" },
{ label: "Governance & DAO", slug: "explanations/goal-leaders/governance-dao" },
],
},
{ label: "Concepts & Terminology", slug: "explanations/concepts-terminology" },
],
},
{
label: "How-to Guides",
items: [
{ label: "Table of Contents", slug: "how-to-guides/table-of-contents" },
{
label: "System",
collapsed: true,
items: [
{ label: "Create Capability Permission", slug: "how-to-guides/system/create-capability-permission" },
{ label: "Create Stream Permission", slug: "how-to-guides/system/create-stream-permission" },
{ label: "Create Wallet Stake Permission", slug: "how-to-guides/system/create-wallet-stake-permission" },
{ label: "Manage Permissions", slug: "how-to-guides/system/manage-permissions" },
{ label: "Create Wallet Permission", slug: "how-to-guides/system/create-wallet-stake-permission" },
],
},
{
label: "Holders",
collapsed: true,
items: [
{ label: "Setup a Wallet", slug: "how-to-guides/holders/setup-a-wallet" },
{ label: "Bridge your tokens", slug: "how-to-guides/holders/bridge-your-torus" },
{ label: "Stake your Torus", slug: "how-to-guides/holders/stake-your-torus" },
{ label: "Vote on Proposals", slug: "how-to-guides/holders/vote-on-proposals" },
],
},
{
label: "Builders",
collapsed: true,
items: [
{ label: "Register an Agent", slug: "how-to-guides/builders/register-an-agent" },
{ label: "Manage your Agent", slug: "how-to-guides/builders/manage-your-agent" },
{ label: "Manage Capabilities", slug: "how-to-guides/builders/manage-capabilities" },
{ label: "Create a Signal", slug: "how-to-guides/builders/create-signal" },
{ label: "Setup Agent Server", slug: "how-to-guides/builders/setup-agent-server" },
{ label: "Setup Agent Client", slug: "how-to-guides/builders/setup-agent-client" },
],
},
{
label: "Goal Leaders",
collapsed: true,
items: [
{ label: "Become a Root Agent", slug: "how-to-guides/goal-leaders/become-a-root-agent" },
{ label: "Request DAO Treasury Transfer", slug: "how-to-guides/goal-leaders/request-dao-treasury-transfer" },
{ label: "Create Emission Proposal", slug: "how-to-guides/goal-leaders/create-emission-proposal" },
],
},
],
},
{
label: "Development",
items: [
{ label: "Table of Contents", slug: "development/table-of-contents" },
{
label: "Web Apps",
collapsed: true,
items: [
{
label: "Overview and Setup",
slug: "development/web/overview-and-setup",
},
{
label: "Querying Data",
slug: "development/web/querying-data",
},
],
},
{
label: "CLI Reference",
collapsed: true,
items: [
{ label: "Setup CLI", slug: "development/cli/setup-cli" },
{ label: "Key Management", slug: "development/cli/key-management" },
{ label: "Balance Operations", slug: "development/cli/balance-operations" },
],
},
{
label: "Network Operations",
collapsed: true,
items: [
{ label: "Global Parameters", slug: "development/network/global-parameters" },
{ label: "Running a Node", slug: "development/network/running-node" },
],
},
],
},
],
components: {
Head: './src/components/Head.astro',
},
customCss: ["./src/tailwind.css"],
}),
tailwind({ applyBaseStyles: false }),
],
});