Skip to content

Commit 38635f7

Browse files
authored
Merge pull request #45 from renlabs-dev/ci/pin-pnpm-v10
ci: pin pnpm to v10 to match Node 20 runtime
2 parents c0bcd58 + c227878 commit 38635f7

28 files changed

Lines changed: 932 additions & 1229 deletions

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup PNPM
2727
uses: pnpm/action-setup@v4
2828
with:
29-
version: latest
29+
version: 10
3030
package_json_file: ./package.json
3131

3232
- name: Setup Node

.github/workflows/dry-run-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup PNPM
2121
uses: pnpm/action-setup@v4
2222
with:
23-
version: latest
23+
version: 10
2424
package_json_file: ./package.json
2525

2626
- name: Setup Node

astro.config.mjs

Lines changed: 50 additions & 180 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({
@@ -26,230 +26,112 @@ export default defineConfig({
2626
label: "Getting Started",
2727
items: [
2828
{ label: "Welcome", slug: "index" },
29-
{
30-
label: "Understanding Torus",
31-
slug: "getting-started/understanding-torus",
32-
},
29+
{ label: "Understanding Torus", slug: "getting-started/understanding-torus" },
3330
],
3431
},
3532
{
3633
label: "Explanations",
3734
items: [
38-
{
39-
label: "Table of Contents",
40-
slug: "explanations/table-of-contents",
41-
},
35+
{ label: "Table of Contents", slug: "explanations/table-of-contents" },
4236
{
4337
label: "System",
4438
collapsed: true,
4539
items: [
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-
},
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" },
7447
],
7548
},
7649
{
7750
label: "Holders",
7851
collapsed: true,
7952
items: [
80-
{
81-
label: "Tokenomics",
82-
slug: "explanations/holders/tokenomics",
83-
},
53+
54+
{ label: "Tokenomics", slug: "explanations/holders/tokenomics" },
8455
{ label: "Staking", slug: "explanations/holders/staking" },
8556
],
8657
},
8758
{
8859
label: "Builders",
8960
collapsed: true,
9061
items: [
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-
},
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" },
11167
],
11268
},
11369
{
11470
label: "Goal Leaders",
11571
collapsed: true,
11672
items: [
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-
},
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" },
13377
],
13478
},
135-
{
136-
label: "Concepts & Terminology",
137-
slug: "explanations/concepts-terminology",
138-
},
79+
{ label: "Concepts & Terminology", slug: "explanations/concepts-terminology" },
13980
],
14081
},
14182
{
14283
label: "How-to Guides",
14384
items: [
144-
{
145-
label: "Table of Contents",
146-
slug: "how-to-guides/table-of-contents",
147-
},
85+
{ label: "Table of Contents", slug: "how-to-guides/table-of-contents" },
14886
{
14987
label: "System",
15088
collapsed: true,
15189
items: [
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-
},
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" },
17296
],
17397
},
17498
{
17599
label: "Holders",
176100
collapsed: true,
177101
items: [
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-
},
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" },
194106
],
195107
},
196108
{
197109
label: "Builders",
198110
collapsed: true,
199111
items: [
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-
},
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" },
224118
],
225119
},
226120
{
227121
label: "Goal Leaders",
228122
collapsed: true,
229123
items: [
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-
},
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" },
242127
],
243128
},
244129
],
245130
},
246131
{
247132
label: "Development",
248133
items: [
249-
{
250-
label: "Table of Contents",
251-
slug: "development/table-of-contents",
252-
},
134+
{ label: "Table of Contents", slug: "development/table-of-contents" },
253135
{
254136
label: "Web Apps",
255137
collapsed: true,
@@ -269,35 +151,23 @@ export default defineConfig({
269151
collapsed: true,
270152
items: [
271153
{ label: "Setup CLI", slug: "development/cli/setup-cli" },
272-
{
273-
label: "Key Management",
274-
slug: "development/cli/key-management",
275-
},
276-
{
277-
label: "Balance Operations",
278-
slug: "development/cli/balance-operations",
279-
},
154+
{ label: "Key Management", slug: "development/cli/key-management" },
155+
{ label: "Balance Operations", slug: "development/cli/balance-operations" },
280156
],
281157
},
282158
{
283159
label: "Network Operations",
284160
collapsed: true,
285161
items: [
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-
},
162+
{ label: "Global Parameters", slug: "development/network/global-parameters" },
163+
{ label: "Running a Node", slug: "development/network/running-node" },
294164
],
295165
},
296166
],
297167
},
298168
],
299169
components: {
300-
Head: "./src/components/Head.astro",
170+
Head: './src/components/Head.astro',
301171
},
302172
customCss: ["./src/tailwind.css"],
303173
}),

src/content/docs/404.mdx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,13 @@ 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
13-
src={travoltaGif.src}
14-
alt="John Travolta confused"
15-
style="max-width: 100%; height: auto; border-radius: 8px;"
16-
/>
12+
<img src={travoltaGif.src} alt="John Travolta confused" style="max-width: 100%; height: auto; border-radius: 8px;" />
1713
</div>
1814

1915
The page you're looking for might have been moved, renamed, or doesn't ..... exist?
@@ -33,11 +29,9 @@ and tag some of our moderators. We will fix it as soon as possible.
3329

3430
Here's the text for you to copy and paste:
3531

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]
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+
4236

4337
Thank you very much for your feedback!

0 commit comments

Comments
 (0)