Skip to content

Commit 49d5e58

Browse files
author
EdSDR
committed
chore: update discord invite link
1 parent e4e4649 commit 49d5e58

26 files changed

Lines changed: 1255 additions & 958 deletions

astro.config.mjs

Lines changed: 181 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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
88
export 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
}),

src/content/docs/404.mdx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ title: 404 - Page not found
33
description: The page you're looking for doesn't exist
44
---
55

6-
import RedText from '/src/components/RedText.astro';
7-
import travoltaGif from '../../assets/travolta-lost.gif';
6+
import RedText from "/src/components/RedText.astro";
7+
import travoltaGif from "../../assets/travolta-lost.gif";
88

99
# Looks like you are lost...
1010

1111
<div style="text-align: center; margin: 2rem 0;">
12-
<img src={travoltaGif.src} alt="John Travolta confused" style="max-width: 100%; height: auto; border-radius: 8px;" />
12+
<img
13+
src={travoltaGif.src}
14+
alt="John Travolta confused"
15+
style="max-width: 100%; height: auto; border-radius: 8px;"
16+
/>
1317
</div>
1418

1519
The page you're looking for might have been moved, renamed, or doesn't ..... exist?
@@ -24,14 +28,16 @@ The page you're looking for might have been moved, renamed, or doesn't ..... exi
2428

2529
## Send us a feedback
2630

27-
If you clicked somewhere with a broken link, please, report back to us on [Discord](https://discord.gg/torus) or [Telegram](https://t.me/torusnetwork)
31+
If you clicked somewhere with a broken link, please, report back to us on [Discord](https://discord.gg/w3HVm6W9XH) or [Telegram](https://t.me/torusnetwork)
2832
and tag some of our moderators. We will fix it as soon as possible.
2933

3034
Here's the text for you to copy and paste:
3135

32-
- <RedText variant="attention">**Problem**</RedText>: [Replace with your problem]
33-
- <RedText variant="attention">**Where you clicked**</RedText>: [Replace with the URL you clicked, e.g in the docs somewhere, or in another website]
34-
- <RedText variant="attention">**What you expected**</RedText>: [Replace with what you expected to happen, either the correct link or the expected behavior]
35-
36+
- <RedText variant="attention">**Problem**</RedText>: [Replace with your
37+
problem]
38+
- <RedText variant="attention">**Where you clicked**</RedText>: [Replace with
39+
the URL you clicked, e.g in the docs somewhere, or in another website]
40+
- <RedText variant="attention">**What you expected**</RedText>: [Replace with
41+
what you expected to happen, either the correct link or the expected behavior]
3642

3743
Thank you very much for your feedback!

0 commit comments

Comments
 (0)