11// @ts -check
2- import { defineConfig } from ' astro/config' ;
2+ import { defineConfig } from " astro/config" ;
33
4- import starlight from ' @astrojs/starlight' ;
5- import tailwind from ' @astrojs/tailwind' ;
4+ import starlight from " @astrojs/starlight" ;
5+ import tailwind from " @astrojs/tailwind" ;
66
77// https://astro.build/config
88export default defineConfig ( {
@@ -18,120 +18,238 @@ export default defineConfig({
1818 social : {
1919 github : "https://github.com/renlabs-dev" ,
2020 telegram : "https://t.me/torusnetwork" ,
21- discord : "https://discord.gg/torus " ,
21+ discord : "https://discord.gg/w3HVm6W9XH " ,
2222 "x.com" : "https://twitter.com/torus_network" ,
2323 } ,
2424 sidebar : [
2525 {
2626 label : "Getting Started" ,
2727 items : [
2828 { label : "Welcome" , slug : "index" } ,
29- { label : "Understanding Torus" , slug : "getting-started/understanding-torus" } ,
29+ {
30+ label : "Understanding Torus" ,
31+ slug : "getting-started/understanding-torus" ,
32+ } ,
3033 ] ,
3134 } ,
3235 {
3336 label : "Explanations" ,
3437 items : [
35- { label : "Table of Contents" , slug : "explanations/table-of-contents" } ,
38+ {
39+ label : "Table of Contents" ,
40+ slug : "explanations/table-of-contents" ,
41+ } ,
3642 {
3743 label : "System" ,
3844 collapsed : true ,
3945 items : [
40- { label : "Control Space" , slug : "explanations/system/control-space" } ,
41- { label : "Permission System" , slug : "explanations/system/permission-system" } ,
42- { label : "Recursive Delegation" , slug : "explanations/system/recursive-delegation" } ,
43- { label : "Wallet Stake Permission" , slug : "explanations/system/wallet-stake-permission" } ,
44- { label : "Stream Permissions" , slug : "explanations/system/stream-permissions" } ,
45- { label : "Capability Permissions" , slug : "explanations/system/capability-permissions" } ,
46- { label : "Wallet Permission" , slug : "explanations/system/wallet-stake-permission" } ,
46+ {
47+ label : "Control Space" ,
48+ slug : "explanations/system/control-space" ,
49+ } ,
50+ {
51+ label : "Permission System" ,
52+ slug : "explanations/system/permission-system" ,
53+ } ,
54+ {
55+ label : "Recursive Delegation" ,
56+ slug : "explanations/system/recursive-delegation" ,
57+ } ,
58+ {
59+ label : "Wallet Stake Permission" ,
60+ slug : "explanations/system/wallet-stake-permission" ,
61+ } ,
62+ {
63+ label : "Stream Permissions" ,
64+ slug : "explanations/system/stream-permissions" ,
65+ } ,
66+ {
67+ label : "Capability Permissions" ,
68+ slug : "explanations/system/capability-permissions" ,
69+ } ,
70+ {
71+ label : "Wallet Permission" ,
72+ slug : "explanations/system/wallet-stake-permission" ,
73+ } ,
4774 ] ,
4875 } ,
4976 {
5077 label : "Holders" ,
5178 collapsed : true ,
5279 items : [
53-
54- { label : "Tokenomics" , slug : "explanations/holders/tokenomics" } ,
80+ {
81+ label : "Tokenomics" ,
82+ slug : "explanations/holders/tokenomics" ,
83+ } ,
5584 { label : "Staking" , slug : "explanations/holders/staking" } ,
5685 ] ,
5786 } ,
5887 {
5988 label : "Builders" ,
6089 collapsed : true ,
6190 items : [
62- { label : "Agent Registration" , slug : "explanations/builders/agent-registration" } ,
63- { label : "Agent Managing" , slug : "explanations/builders/agent-managing" } ,
64- { label : "Demand Signaling" , slug : "explanations/builders/demand-signaling" } ,
65- { label : "Agent Server" , slug : "explanations/builders/agent-server" } ,
66- { label : "Agent Client" , slug : "explanations/builders/agent-client" } ,
91+ {
92+ label : "Agent Registration" ,
93+ slug : "explanations/builders/agent-registration" ,
94+ } ,
95+ {
96+ label : "Agent Managing" ,
97+ slug : "explanations/builders/agent-managing" ,
98+ } ,
99+ {
100+ label : "Demand Signaling" ,
101+ slug : "explanations/builders/demand-signaling" ,
102+ } ,
103+ {
104+ label : "Agent Server" ,
105+ slug : "explanations/builders/agent-server" ,
106+ } ,
107+ {
108+ label : "Agent Client" ,
109+ slug : "explanations/builders/agent-client" ,
110+ } ,
67111 ] ,
68112 } ,
69113 {
70114 label : "Goal Leaders" ,
71115 collapsed : true ,
72116 items : [
73- { label : "Root Agents" , slug : "explanations/goal-leaders/root-agents" } ,
74- { label : "DAO Treasury" , slug : "explanations/goal-leaders/dao-treasury" } ,
75- { label : "Emission Proposals" , slug : "explanations/goal-leaders/emission-proposals" } ,
76- { label : "Governance & DAO" , slug : "explanations/goal-leaders/governance-dao" } ,
117+ {
118+ label : "Root Agents" ,
119+ slug : "explanations/goal-leaders/root-agents" ,
120+ } ,
121+ {
122+ label : "DAO Treasury" ,
123+ slug : "explanations/goal-leaders/dao-treasury" ,
124+ } ,
125+ {
126+ label : "Emission Proposals" ,
127+ slug : "explanations/goal-leaders/emission-proposals" ,
128+ } ,
129+ {
130+ label : "Governance & DAO" ,
131+ slug : "explanations/goal-leaders/governance-dao" ,
132+ } ,
77133 ] ,
78134 } ,
79- { label : "Concepts & Terminology" , slug : "explanations/concepts-terminology" } ,
135+ {
136+ label : "Concepts & Terminology" ,
137+ slug : "explanations/concepts-terminology" ,
138+ } ,
80139 ] ,
81140 } ,
82141 {
83142 label : "How-to Guides" ,
84143 items : [
85- { label : "Table of Contents" , slug : "how-to-guides/table-of-contents" } ,
144+ {
145+ label : "Table of Contents" ,
146+ slug : "how-to-guides/table-of-contents" ,
147+ } ,
86148 {
87149 label : "System" ,
88150 collapsed : true ,
89151 items : [
90-
91- { label : "Create Capability Permission" , slug : "how-to-guides/system/create-capability-permission" } ,
92- { label : "Create Stream Permission" , slug : "how-to-guides/system/create-stream-permission" } ,
93- { label : "Create Wallet Stake Permission" , slug : "how-to-guides/system/create-wallet-stake-permission" } ,
94- { label : "Manage Permissions" , slug : "how-to-guides/system/manage-permissions" } ,
95- { label : "Create Wallet Permission" , slug : "how-to-guides/system/create-wallet-stake-permission" } ,
152+ {
153+ label : "Create Capability Permission" ,
154+ slug : "how-to-guides/system/create-capability-permission" ,
155+ } ,
156+ {
157+ label : "Create Stream Permission" ,
158+ slug : "how-to-guides/system/create-stream-permission" ,
159+ } ,
160+ {
161+ label : "Create Wallet Stake Permission" ,
162+ slug : "how-to-guides/system/create-wallet-stake-permission" ,
163+ } ,
164+ {
165+ label : "Manage Permissions" ,
166+ slug : "how-to-guides/system/manage-permissions" ,
167+ } ,
168+ {
169+ label : "Create Wallet Permission" ,
170+ slug : "how-to-guides/system/create-wallet-stake-permission" ,
171+ } ,
96172 ] ,
97173 } ,
98174 {
99175 label : "Holders" ,
100176 collapsed : true ,
101177 items : [
102- { label : "Setup a Wallet" , slug : "how-to-guides/holders/setup-a-wallet" } ,
103- { label : "Bridge your tokens" , slug : "how-to-guides/holders/bridge-your-torus" } ,
104- { label : "Stake your Torus" , slug : "how-to-guides/holders/stake-your-torus" } ,
105- { label : "Vote on Proposals" , slug : "how-to-guides/holders/vote-on-proposals" } ,
178+ {
179+ label : "Setup a Wallet" ,
180+ slug : "how-to-guides/holders/setup-a-wallet" ,
181+ } ,
182+ {
183+ label : "Bridge your tokens" ,
184+ slug : "how-to-guides/holders/bridge-your-torus" ,
185+ } ,
186+ {
187+ label : "Stake your Torus" ,
188+ slug : "how-to-guides/holders/stake-your-torus" ,
189+ } ,
190+ {
191+ label : "Vote on Proposals" ,
192+ slug : "how-to-guides/holders/vote-on-proposals" ,
193+ } ,
106194 ] ,
107195 } ,
108196 {
109197 label : "Builders" ,
110198 collapsed : true ,
111199 items : [
112- { label : "Register an Agent" , slug : "how-to-guides/builders/register-an-agent" } ,
113- { label : "Manage your Agent" , slug : "how-to-guides/builders/manage-your-agent" } ,
114- { label : "Manage Capabilities" , slug : "how-to-guides/builders/manage-capabilities" } ,
115- { label : "Create a Signal" , slug : "how-to-guides/builders/create-signal" } ,
116- { label : "Setup Agent Server" , slug : "how-to-guides/builders/setup-agent-server" } ,
117- { label : "Setup Agent Client" , slug : "how-to-guides/builders/setup-agent-client" } ,
200+ {
201+ label : "Register an Agent" ,
202+ slug : "how-to-guides/builders/register-an-agent" ,
203+ } ,
204+ {
205+ label : "Manage your Agent" ,
206+ slug : "how-to-guides/builders/manage-your-agent" ,
207+ } ,
208+ {
209+ label : "Manage Capabilities" ,
210+ slug : "how-to-guides/builders/manage-capabilities" ,
211+ } ,
212+ {
213+ label : "Create a Signal" ,
214+ slug : "how-to-guides/builders/create-signal" ,
215+ } ,
216+ {
217+ label : "Setup Agent Server" ,
218+ slug : "how-to-guides/builders/setup-agent-server" ,
219+ } ,
220+ {
221+ label : "Setup Agent Client" ,
222+ slug : "how-to-guides/builders/setup-agent-client" ,
223+ } ,
118224 ] ,
119225 } ,
120226 {
121227 label : "Goal Leaders" ,
122228 collapsed : true ,
123229 items : [
124- { label : "Become a Root Agent" , slug : "how-to-guides/goal-leaders/become-a-root-agent" } ,
125- { label : "Request DAO Treasury Transfer" , slug : "how-to-guides/goal-leaders/request-dao-treasury-transfer" } ,
126- { label : "Create Emission Proposal" , slug : "how-to-guides/goal-leaders/create-emission-proposal" } ,
230+ {
231+ label : "Become a Root Agent" ,
232+ slug : "how-to-guides/goal-leaders/become-a-root-agent" ,
233+ } ,
234+ {
235+ label : "Request DAO Treasury Transfer" ,
236+ slug : "how-to-guides/goal-leaders/request-dao-treasury-transfer" ,
237+ } ,
238+ {
239+ label : "Create Emission Proposal" ,
240+ slug : "how-to-guides/goal-leaders/create-emission-proposal" ,
241+ } ,
127242 ] ,
128243 } ,
129244 ] ,
130245 } ,
131246 {
132247 label : "Development" ,
133248 items : [
134- { label : "Table of Contents" , slug : "development/table-of-contents" } ,
249+ {
250+ label : "Table of Contents" ,
251+ slug : "development/table-of-contents" ,
252+ } ,
135253 {
136254 label : "Web Apps" ,
137255 collapsed : true ,
@@ -151,23 +269,35 @@ export default defineConfig({
151269 collapsed : true ,
152270 items : [
153271 { label : "Setup CLI" , slug : "development/cli/setup-cli" } ,
154- { label : "Key Management" , slug : "development/cli/key-management" } ,
155- { label : "Balance Operations" , slug : "development/cli/balance-operations" } ,
272+ {
273+ label : "Key Management" ,
274+ slug : "development/cli/key-management" ,
275+ } ,
276+ {
277+ label : "Balance Operations" ,
278+ slug : "development/cli/balance-operations" ,
279+ } ,
156280 ] ,
157281 } ,
158282 {
159283 label : "Network Operations" ,
160284 collapsed : true ,
161285 items : [
162- { label : "Global Parameters" , slug : "development/network/global-parameters" } ,
163- { label : "Running a Node" , slug : "development/network/running-node" } ,
286+ {
287+ label : "Global Parameters" ,
288+ slug : "development/network/global-parameters" ,
289+ } ,
290+ {
291+ label : "Running a Node" ,
292+ slug : "development/network/running-node" ,
293+ } ,
164294 ] ,
165295 } ,
166296 ] ,
167297 } ,
168298 ] ,
169299 components : {
170- Head : ' ./src/components/Head.astro' ,
300+ Head : " ./src/components/Head.astro" ,
171301 } ,
172302 customCss : [ "./src/tailwind.css" ] ,
173303 } ) ,
0 commit comments