-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsidebars.js
527 lines (519 loc) · 17.2 KB
/
sidebars.js
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{type: "autogenerated", dirName: "."}],
// But you can create a sidebar manually
sidebar: [
// Ronin Network basics
{
type: "category",
label: "Basics",
collapsed: false,
collapsible: false,
link: {
type: "generated-index",
description: "Everything you need to know about Ronin.",
slug: "/basics",
},
items: [
// Introduction to Ronin
{
type: "doc",
label: "Introduction to Ronin",
id: "basics/introduction",
},
{
type: 'link',
label: 'Whitepaper',
href: '/basics/white-paper',
},
// Acquire RON
"basics/acquire-ron",
// Tokenomics
"basics/tokenomics",
// Security audits
"basics/audits",
{
type: "category",
label: "dApps",
link: {
type: "generated-index",
description: "User guides for selected dApps in the Ronin ecosystem.",
slug: "/apps",
},
items: [
// RON Staking
"apps/ron-staking",
// Katana
{
type: "category",
label: "Katana",
link: {
type: "doc",
id: "apps/katana/overview",
},
items: [
// Swap tokens
"apps/katana/guides/swap-tokens",
// Liquidity pools
{
type: "category",
label: "Liquidity pools",
link: {
type: "generated-index",
description: "Guides for creating and managing liquidity pools.",
slug: "apps/katana/pools",
},
items: [
// Create a liquidity pool
"apps/katana/guides/create-pool",
// Add liquidity to a pool
"apps/katana/guides/add-liquidity",
],
},
// Farms
{
type: "category",
label: "Farms",
link: {
type: "generated-index",
description: "Guides for creating farms and staking LP tokens.",
slug: "apps/katana/farms",
},
items: [
// Create a farm
"apps/katana/guides/create-farm",
// Stake LP tokens
"apps/katana/guides/stake-tokens",
],
},
// {
// type: "link",
// label: "Katana Core SDK",
// href: "https://github.com/skymavis/katana-sdk/tree/main/packages/katana-core",
// },
],
},
// Ronin Safe
"apps/multisig",
// Ronin Bridge
{
type: "category",
label: "Ronin Bridge",
link: {
type: "doc",
id: "apps/ronin-bridge/overview",
},
items: [
// Deposit ERC-20 tokens
"apps/ronin-bridge/guides/deposit-token",
// Withdraw ERC-20 tokens
"apps/ronin-bridge/guides/withdraw-token",
// Deposit NFTs
"apps/ronin-bridge/guides/deposit-nft",
// Withdraw NFTs
"apps/ronin-bridge/guides/withdraw-nft",
// Token withdrawal limits
"apps/ronin-bridge/reference/withdrawal-limits",
],
},
// CCIP Bridge
{
type: "category",
label: "CCIP Bridge",
link: {
type: "doc",
id: "apps/ccip-bridge/overview",
},
items: [
// Transfer ERC-20 tokens
"apps/ccip-bridge/guides/transfer-token",
],
},
// Ronin Explorer
"apps/ronin-explorer",
// Token Revoke
"apps/revoke",
// RNS
{
type: "category",
label: "Ronin Name Service",
link: {
type: "doc",
id: "apps/rns/overview",
},
items: [
{
type: "category",
label: "Register an RNS name",
link: {
type: "generated-index",
description: "Guides to register different categories of RNS names.",
slug: "apps/rns/register",
},
items: [
// Register a regular RNS name
"apps/rns/guides/register/regular",
// Buy an RNS name at auction
"apps/rns/guides/register/auctioned",
// Register a protected RNS name
"apps/rns/guides/register/protected",
],
},
// Manage RNS names
"apps/rns/guides/manage",
// Trade RNS names
"apps/rns/guides/trade",
// RNS FAQ
"apps/rns/reference/faq",
],
},
],
},
// Community
"basics/community",
// Contribute to the documentation
{
type: "category",
label: "Contribute",
link: {
type: "generated-index",
description: "Contribute to the Ronin documentation.",
slug: "/basics/contribute",
},
items: [
// Contribution guide
"CONTRIBUTING",
// Content style guide
"basics/contribute/style-guide",
// Content templates
"basics/contribute/templates",
],
},
],
},
{
type: "category",
label: "Ronin Protocol",
collapsed: false,
collapsible: false,
link: {
type: "generated-index",
description: "Details about the Ronin consensus protocol.",
slug: "/protocol",
},
items: [
"protocol/overview",
"protocol/roles",
"protocol/nodes",
"protocol/rewards",
//Validators
{
type: "category",
label: "Validators",
link: {
type: "doc",
id: "protocol/validators/index",
},
items: [
{
type: "category",
label: "Setup",
link: {
type: "doc",
id: "protocol/validators/setup/overview",
},
items: [
{
type: "category",
label: "Mainnet",
link: {
type: "generated-index",
slug: "/protocol/validators/setup/mainnet",
description:
"Node installation guides for the Ronin mainnet.",
},
items: [
// Run a validator and bridge together
"protocol/validators/setup/mainnet/run-combined",
// Run a validator
"protocol/validators/setup/mainnet/run-validator",
],
},
{
type: "category",
label: "Saigon testnet",
link: {
type: "generated-index",
title: "Saigon testnet",
description:
"Node installation guides for the Saigon testnet.",
slug: "/protocol/validators/setup/testnet",
},
items: [
// Run a validator and bridge together
"protocol/validators/setup/testnet/run-combined",
],
},
// Generate keys
"protocol/validators/setup/generate-keys",
// Install Ronin CLI
"protocol/validators/setup/cli",
// Latest version
"protocol/validators/setup/upgrade-validator",
// Latest version
"protocol/validators/setup/random-beacon",
// Clean data
"protocol/validators/setup/clean-data",
// Network parameters
{
type: "category",
label: "Network parameters",
link: {
type: "generated-index",
title: "Network parameters",
slug: "/protocol/validators/setup/parameters",
},
items: [
// Ronin mainnet
"protocol/validators/setup/parameters/mainnet",
// Saigon testnet
"protocol/validators/setup/parameters/testnet",
],
},
// Security hardening
"protocol/validators/setup/security",
],
},
// Become a validator
"protocol/validators/become-validator",
// Manage your account
{
type: "category",
label: "Manage validator account",
link: {
type: "generated-index",
title: "Manage your validator account",
description:
"Guides for increasing or withdrawing your stake, claiming rewards, and managing your validator account.",
slug: "/protocol/validators/manage",
},
items: [
// View activity
"protocol/validators/manage/view-activity",
// View analytics
"protocol/validators/manage/view-analytics",
// View profile details
"protocol/validators/manage/view-profile",
// Claim rewards
"protocol/validators/manage/claim-rewards",
// Increase or move stake
"protocol/validators/manage/stake",
// Add or change finality vote key
"protocol/validators/manage/finality",
// Add or change VRF key
"protocol/validators/manage/vrf-key",
// Change commission rate
"protocol/validators/manage/commission",
// Change admin address
"protocol/validators/manage/addresses",
// Schedule maintenance
"protocol/validators/manage/maintenance",
// Early exit maintenance
"protocol/validators/manage/maintenance-exit",
// Renounce validator role
"protocol/validators/manage/renounce",
// Request emergency exit
"protocol/validators/manage/emergency-exit",
],
},
// Slashing
"protocol/validators/slashing",
// Governance
{
type: "category",
label: "Governance",
link: {
type: "doc",
id: "protocol/validators/governance/overview",
},
items: [
// Create and vote on proposals
"protocol/validators/governance/proposals",
],
},
// FAQ
"protocol/validators/faq",
],
},
// Delegators
{
type: "category",
label: "Delegators",
link: {
type: "doc",
id: "protocol/delegators/index",
},
items: [
// Stake RON
"protocol/delegators/become-delegator",
// Manage your stake
"protocol/delegators/stake",
// Claim or restake your rewards
"protocol/delegators/claim-rewards",
// Track your validators
"protocol/delegators/validators",
// FAQ
"protocol/delegators/faq",
],
},
//Bridge Operators
{
type: "category",
label: "Bridge operators",
link: {
type: "doc",
id: "protocol/bridge-operators/index",
},
items: [
{
type: "category",
label: "Setup",
link: {
type: "doc",
id: "protocol/bridge-operators/setup/overview",
},
items: [
"protocol/bridge-operators/setup/run-bridge",
"protocol/bridge-operators/setup/upgrade-bridge",
],
},
// Slashing
"protocol/bridge-operators/slashing",
// Governance
{
type: "category",
label: "Governance",
link: {
type: "doc",
id: "protocol/bridge-operators/governance/overview",
},
items: [
// Create and vote on proposals
"protocol/bridge-operators/governance/proposals",
],
},
],
},
],
},
{
type: "category",
label: "Developers",
collapsed: false,
collapsible: false,
link: {
type: "generated-index",
description: "Build on Ronin.",
slug: "/developers",
},
items: [
"developers/network",
{
type: "category",
label: "Quickstart",
link: {
type: "generated-index",
description: "Welcome to the Ronin Quickstart guides! Whether you're a developer looking to integrate with Ronin or just exploring its capabilities, this section provides step-by-step instructions to help you get started quickly.",
slug: "/developers/quickstart",
},
items:[
"developers/quickstart/read",
"developers/quickstart/write",
"developers/quickstart/deploy",
"developers/quickstart/list-collection",
]
},
{
type: "category",
label: "Node setup",
link: {
type: "generated-index",
description: "A Ronin node is the building block of the Ronin network infrastructure. Nodes connect together to conduct consensus on transactions, maintain the ledger, and provide other useful functions.",
slug: "/developers/nodes",
},
items:[
"developers/nodes/mainnet",
"developers/nodes/mainnet-archive",
"developers/nodes/testnet",
"developers/nodes/testnet-archive",
"developers/nodes/upgrade-node-version",
]
},
{
type: "category",
label: "Smart Contracts",
link: {
type: "doc",
id: "developers/smart-contracts/deploy"
},
items:[
"developers/smart-contracts/deploy",
"developers/smart-contracts/verify",
"developers/smart-contracts/guidelines",
]
},
{
type: "category",
label: "Tools and services",
link: {
type: "generated-index",
description: "Discover Ronin tools or services.",
slug: "/developers/tools",
},
items:[
"developers/tools/node-providers",
"developers/tools/api-providers",
{
type: "category",
label: "Oracles",
link: {
type: "generated-index",
description: "Oracles are critical components in the Ronin ecosystem that enable smart contracts to interact with data from the outside world. They serve as bridges between the blockchain and external data sources, providing trusted and verifiable information that smart contracts can use to execute logic.",
slug: "/oracles",
},
items: [
"developers/tools/oracles/pyth",
"developers/tools/oracles/chainlink"
]
},
"developers/tools/ccip",
"developers/tools/vrf",
"developers/tools/delegation",
"developers/tools/faucet",
]
},
{
type: 'link',
label: 'Ronin Developer Console',
href: 'https://developers.roninchain.com/console',
},
{
type: 'link',
label: 'Mavis docs',
href: 'https://docs.skymavis.com/',
}
],
},
],
};
module.exports = sidebars;