-
Notifications
You must be signed in to change notification settings - Fork 9
/
sidebars.js
154 lines (149 loc) · 4.43 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
/**
* 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
docs: [
{
type: "doc",
id: "welcome-to-masa/welcome-to-masa", // Assuming the document ID you want to link to is structured as `folderName/fileName`.
},
{
type: "category",
label: "Masa Protocol",
link: {
type: "doc",
// title: "Welcome to Masa Protocol",
id: "protocol/welcome",
},
items: [
{
type: "category",
label: "Oracle Node",
link: {
type: "generated-index",
title: "Oracle Node",
},
items: [
"masa-oracle/oracle-node/introduction",
"masa-oracle/oracle-node/hardware-network-reqs",
"masa-oracle/oracle-node/quickstart",
"masa-oracle/oracle-node/twitter-data",
"masa-oracle/oracle-node/discord-data",
"masa-oracle/oracle-node/web-scraper",
"masa-oracle/oracle-node/data-catalog",
"masa-oracle/oracle-node/twitter-sentiment",
],
},
{
type: "category",
label: "Worker Node",
link: {
type: "generated-index",
title: "Worker Node",
},
items: [
"masa-oracle/worker-node/introduction",
"masa-oracle/worker-node/quickstart",
"masa-oracle/worker-node/twitter-worker",
"masa-oracle/worker-node/discord-worker",
"masa-oracle/worker-node/web-worker",
],
},
{
type: "category",
label: "Guides and Tutorials",
link: {
type: "generated-index",
title: "Guides and Tutorials",
},
items: ["masa-oracle/guides-and-tutorials/staking-guide"],
},
{
type: "category",
label: "Tools and Contracts",
link: {
type: "generated-index",
title: "Tools & Contracts overview",
},
items: [
{
type: "autogenerated",
dirName: "tools-and-contracts",
},
{
type: "category",
label: "Masa Token",
link: {
type: "doc",
id: "masa-token/README",
},
items: [
{
type: "autogenerated",
dirName: "masa-token",
},
],
},
],
},
{
type: "doc",
label: "Release Notes",
id: "masa-oracle/RELEASE_NOTES", // Assuming the document ID you want to link to is structured as `folderName/fileName`.
},
],
},
{
type: "category",
label: "Masa Bittensor Subnet",
link: {
type: "doc",
id: "masa-subnet/welcome",
},
items: [
{
type: "category",
label: "Setup Guide",
link: {
type: "doc",
id: "masa-subnet/setup/intro",
},
items: [
"masa-subnet/setup/1-create-environment",
"masa-subnet/setup/2-install-packages",
"masa-subnet/setup/3-create-wallets",
"masa-subnet/setup/4-fund-wallets",
"masa-subnet/setup/5-register-wallets",
"masa-subnet/setup/6-stake-validator",
"masa-subnet/setup/7-set-weights",
"masa-subnet/setup/8-run-protocol",
"masa-subnet/setup/9-run-miner-and-validator",
],
},
{
type: "category",
label: "Advanced",
link: {
type: "doc",
id: "masa-subnet/advanced/intro",
},
items: ["masa-subnet/advanced/known-issues", "masa-subnet/advanced/local-subtensor"],
},
{
type: "doc",
label: "Release Notes",
id: "masa-subnet/RELEASE_NOTES", // Assuming the document ID you want to link to is structured as `folderName/fileName`.
},
],
},
],
};
module.exports = sidebars;