forked from coredao-org/CoreDAO-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebars.ts
More file actions
467 lines (452 loc) · 13.6 KB
/
sidebars.ts
File metadata and controls
467 lines (452 loc) · 13.6 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
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
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/**
* 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.
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
//tutorialSidebar: [{ type: "autogenerated", dirName: "." }],
learnSidebar: [
{
type: "category",
label: "All About Core",
link: { type: "doc", id: "intro" },
items: [
{
type: "category",
collapsed: true,
label: "Introduction",
items: [
"Learn/introduction/core-101",
"Learn/introduction/why-core",
{
type: "link",
label: "Whitepaper",
href: "https://whitepaper.coredao.org/",
},
],
},
{
type: "category",
collapsed: true,
label: "Core Concepts",
link: {
type: "generated-index",
title: "Core Concepts",
description: "Learn how the Core blockchain works.",
slug: "/category/core-concepts",
},
items: [
"Learn/core-concepts/overview",
"Learn/core-concepts/architecture",
{
type: "category",
collapsed: true,
label: "Satoshi Plus Consensus",
items: [
// "Learn/core-concepts/satoshi-plus-consensus/components",
"Learn/core-concepts/satoshi-plus-consensus/DPoW",
"Learn/core-concepts/satoshi-plus-consensus/BitcoinStaking",
"Learn/core-concepts/satoshi-plus-consensus/DPoS",
"Learn/core-concepts/satoshi-plus-consensus/validator-election",
"Learn/core-concepts/satoshi-plus-consensus/rewards",
],
},
{
type: "category",
collapsed: true,
label: "Dual Staking",
items: [
"Learn/core-concepts/dual-staking/overview",
"Learn/core-concepts/dual-staking/tier-adjustment-system",
"Learn/core-concepts/dual-staking/how-to-dual-stake",
],
},
],
},
{
type: "category",
collapsed: true,
label: "CORE Token",
items: [
"Learn/core-token/overview",
"Learn/core-token/tokenomics",
"Learn/core-token/core-value-creation",
],
},
{
type: "category",
collapsed: true,
label: "Liquid Staking",
link: {
type: "generated-index",
title:
"Liquid Staking on Core: Unlocking Yield and DeFi Composability",
description:
"Learn about the different liquid staking solutions on Core.",
slug: "/category/liquid-staking",
},
items: [
{
type: "category",
collapsed: true,
label: "stCORE",
items: [
"Learn/liquid-staking/stCore/overview",
"Learn/liquid-staking/stCore/design",
"Learn/liquid-staking/stCore/stCore-on-Core",
],
},
{
type: "category",
collapsed: true,
label: "lstBTC",
items: ["Learn/liquid-staking/lstBTC/overview"],
},
],
},
"Learn/governance",
{
type: "category",
collapsed: true,
label: "Security",
items: ["Learn/audit", "Learn/bug-reporting", "Learn/spam-reporting"],
},
],
},
],
devGuideSidebar: [
{
type: "category",
collapsed: true,
label: "Core for Developers",
items: [
"Dev-Guide/dev-tools",
"Dev-Guide/network-config",
{
type: "category",
collapsed: true,
label: "RPC Endpoints",
link: {
type: "generated-index",
title: "Core RPC Endpoints",
description:
"Core RPC Endpoints: Key Tools for Blockchain Development and Interaction",
slug: "/category/rpc-list",
},
items: [
"Dev-Guide/rpc-list",
"Dev-Guide/rpc-cli",
"Dev-Guide/rpc-postman",
],
},
{
type: "category",
collapsed: true,
label: "Wallet Configurations",
items: [
"Dev-Guide/core-wallet-config",
{
type: "link",
label: "Configure Custom Tokens",
href: "https://support.metamask.io/manage-crypto/tokens/how-to-display-tokens-in-metamask/",
},
{
type: "link",
label: "Import Accounts",
href: "https://support.metamask.io/start/how-to-import-an-account/",
},
],
},
{
type: "category",
collapsed: true,
label: "Dev Tools",
items: ["Dev-Guide/core-faucet", "Dev-Guide/core-explorer"],
},
"Dev-Guide/precompile-addresses",
{
type: "category",
collapsed: true,
label: "Developer Guides",
link: {
type: "generated-index",
title: "Developer Guides: Mastering Core Essentials",
description:
"Unlock Your Potential: Detailed Developer Guides to Build on Core",
slug: "/category/dev-guides",
},
items: [
"Dev-Guide/smart-contract-guidelines",
"Dev-Guide/remix",
"Dev-Guide/hardhat",
"Dev-Guide/foundry",
"Dev-Guide/create-core-dapp",
"Dev-Guide/contract-verify",
{
type: "link",
label: "Build dapp on Core",
href: "https://github.com/coredao-org/dapp-tutorial",
},
],
},
{
type: "category",
collapsed: true,
label: "Deploying Tokens on Core",
items: ["Dev-Guide/erc20-tokens", "Dev-Guide/erc721-tokens"],
},
{
type: "link",
label: "Switchboard VRF",
href: "https://docs.switchboard.xyz/product-documentation/randomness/tutorials/evm",
},
{
type: "category",
collapsed: true,
label: "Subgraphs on Core",
items: [
"Dev-Guide/core-subgraph",
"Dev-Guide/core-subgraph-tutorial",
],
},
{
type: "category",
collapsed: true,
label: "Bridging with Core",
items: [
"Dev-Guide/bridge-with-layerzero",
"Dev-Guide/thirdweb-universal-bridge",
"Dev-Guide/core-bridge-resources",
],
},
],
},
],
faqSidebar: [
{
type: "category",
collapsed: true,
label: "FAQs",
items: [
"FAQs/core-faqs",
"FAQs/core-node-faqs",
"FAQs/validator-faqs",
"FAQs/delegator-faqs",
"FAQs/btc-staking-faqs",
"FAQs/dual-staking-faqs",
"FAQs/LST-stCore-faqs",
"FAQs/core-api-faqs",
],
},
],
nodeSidebar: [
{
type: "category",
collapsed: true,
label: "Running Core Nodes",
items: [
"Node/overview",
{
type: "category",
collapsed: true,
label: "Node Configurations",
items: [
"Node/config/full-node",
"Node/config/rpc-node-config",
"Node/config/archive-node-config",
"Node/config/snapshot-node-config",
"Node/config/validator-node-config",
],
},
"Node/sync/snapshot-sync",
{
type: "category",
collapsed: true,
label: "Become a Validator",
items: [
"Node/validator/overview",
"Node/validator/setting-up-validator",
"Node/validator/validator-register",
"Node/validator/validator-election",
"Node/validator/rewards",
{
type: "category",
collapsed: true,
label: "Slashing",
items: ["Node/slashing/overview", "Node/slashing/slashing-fee"],
},
],
},
{
type: "category",
collapsed: true,
label: "Node Maintenance",
items: [
"Node/maintenance/maintenance",
"Node/maintenance/network-upgrade",
],
},
],
},
],
stakeDelegateSidebar: [
{
type: "category",
collapsed: true,
label: "Staking / Delegating",
items: [
"stake-and-delegate/overview",
{
type: "category",
collapsed: true,
label: "Self-Custodial BTC Staking",
items: [
"stake-and-delegate/btc-staking/btc-staking-working",
"stake-and-delegate/btc-staking/design",
{
type: "category",
collapsed: true,
label: "How To Guides",
items: [
"stake-and-delegate/btc-staking/stake-btc-guide",
"stake-and-delegate/btc-staking-txn-decoder",
"stake-and-delegate/btc-staking/Redeeming-Guide",
],
},
//"stake-and-delegate/ledger-on-core-mainnet",
],
},
"stake-and-delegate/CORE-staking",
{
type: "category",
collapsed: true,
label: "Dual Staking",
items: [
"stake-and-delegate/dual-staking-working",
"stake-and-delegate/dual-staking-guide",
],
},
"stake-and-delegate/delegating-hash",
],
},
],
apiSidebar: [
{
type: "category",
collapsed: true,
label: "Core Scan API",
link: {
type: "generated-index",
title: "Core Scan API Endpoints",
description:
"Explore the various Core Scan API endpoints for Core Mainnet and Testnet2",
slug: "/api/core-api",
},
items: [
{
type: "category",
collapsed: true,
label: "Getting Started",
link: {
type: "generated-index",
title: "Core Scan Tutorials",
description: "Learn about how to use the Core Scan API Endpoints",
slug: "/api/core-api-tutorials",
},
items: [
"api/tutorials/creating-an-account",
"api/tutorials/generate-an-api-key",
"api/tutorials/common-error-messages",
],
},
{
type: "category",
collapsed: true,
label: "API Endpoints",
link: {
type: "generated-index",
title: "Core Scan API Documentation",
description:
"Explore the various Core Scan API Endpoints for Core Mainnet and Testnet2",
slug: "/api/core-api-docs",
},
items: [
{
type: "category",
collapsed: true,
label: "Mainnet API Endpoints",
link: {
type: "generated-index",
title: "Core Scan API Documentation",
description:
"Explore the various Core Scan API Endpoints for Core Mainnet",
slug: "/api/core-api-mainnet-docs",
},
items: [require("./docs/api/mainnet/sidebar.ts")],
},
{
type: "category",
collapsed: true,
label: "Testnet API Endpoints",
link: {
type: "generated-index",
title: "Core Scan API Documentation",
description:
"Explore the various Core Scan API Endpoints for Core Testnet2",
slug: "/api/core-api-testnet-docs",
},
items: [require("./docs/api/testnet/sidebar.ts")],
},
],
},
],
},
{
type: "category",
collapsed: true,
label: "Staking API",
link: {
type: "generated-index",
title: "Staking API Documentation",
description:
"Explore the various Staking API endpoint for Core Mainnet and Testnet2",
slug: "/api/staking-api-docs",
},
items: [
{
type: "category",
collapsed: true,
label: "Mainnet API Endpoints",
link: {
type: "generated-index",
title: "Staking API Documentation",
description:
"Explore the various Staking API Endpoints for Core Mainnet",
slug: "/api/mainnet-staking-api-docs",
},
items: [require("./docs/stakingAPI/mainnet/sidebar.ts")],
},
{
type: "category",
collapsed: true,
label: "Testnet API Endpoints",
link: {
type: "generated-index",
title: "Staking API Documentation",
description:
"Explore the various Staking API Endpoints for Core Testnet2",
slug: "/api/testnet-staking-api-docs",
},
items: [require("./docs/stakingAPI/testnet/sidebar.ts")],
},
],
},
],
};
export default sidebars;