-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebars.js
259 lines (253 loc) · 12.1 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
/*
* @Author: Roy
* @Date: 2022-03-17 21:06:55
* @LastEditors: Roy
* @LastEditTime: 2022-09-28 16:52:10
* @Description: 文档菜单
*/
/**
* 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-nocheck
const tools = require("./sidebars/tools");
/** @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
docs: [
"intro",
{
type: "category",
label: "面试题",
items: [
"interview-question/js-question",
"interview-question/css-question",
"interview-question/react-question",
"interview-question/vue-question",
"interview-question/typescript-question",
"interview-question/uniapp-question",
"interview-question/hos-question",
],
},
{
type: "category",
label: "Solana",
items: [
{
type: "category",
label: "安装Solana环境",
link: {
type: "generated-index",
description: "A Starter Kit for New Solana Developer",
keywords: ["Solana"],
},
items: ["solana/install-solana-env"],
},
{
type: "category",
label: "Api",
link: {
type: "generated-index",
description: "Solana Developer Api",
keywords: ["Solana"],
},
items: ["solana/solana-program", "solana/token-program"],
},
{
type: "category",
label: "Solana中文开发教程",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
{
type: "category",
label: "1、Solana基础知识",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/1、Solana基础知识/solana-intro",
"solana/solana-bootcamp/1、Solana基础知识/solana-core",
"solana/solana-bootcamp/1、Solana基础知识/solana-spl",
"solana/solana-bootcamp/1、Solana基础知识/solana-cmd",
"solana/solana-bootcamp/1、Solana基础知识/solana-wallet",
"solana/solana-bootcamp/1、Solana基础知识/solana-exercise6",
],
},
{
type: "category",
label: "2、通过与RPC交互",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/2、通过RPC与Solana交互/solana-rpc-intro",
"solana/solana-bootcamp/2、通过RPC与Solana交互/solana-interface-rpc",
"solana/solana-bootcamp/2、通过RPC与Solana交互/solana-push-rpc",
"solana/solana-bootcamp/2、通过RPC与Solana交互/solana-rpc-exercise",
],
},
{
type: "category",
label: "3、与Solana合约交互",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/3、与Solana合约交互/solana-web3.js",
"solana/solana-bootcamp/3、与Solana合约交互/solana-wallet-interactive",
"solana/solana-bootcamp/3、与Solana合约交互/solana-contract-call",
"solana/solana-bootcamp/3、与Solana合约交互/solana-contract-execise",
],
},
{
type: "category",
label: "4、Rust基本知识",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/4、Rust基本知识/solana-rust-helloword",
"solana/solana-bootcamp/4、Rust基本知识/solana-rust-lang",
"solana/solana-bootcamp/4、Rust基本知识/solana-cargo-manage",
"solana/solana-bootcamp/4、Rust基本知识/solana-rustaceans",
"solana/solana-bootcamp/4、Rust基本知识/solana-exersize-4",
],
},
{
type: "category",
label: "5、Solana合约开发Part.1",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/5、Solana合约开发Part1/solana-hello-world",
"solana/solana-bootcamp/5、Solana合约开发Part1/solana-base-concept",
"solana/solana-bootcamp/5、Solana合约开发Part1/solana-Contract-processing-logic",
"solana/solana-bootcamp/5、Solana合约开发Part1/solana-Contract-error",
"solana/solana-bootcamp/5、Solana合约开发Part1/solana-Contract-exersize-5",
],
},
{
type: "category",
label: "6、Solana合约开发Part.2",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/6、Solana合约开发Part2/solana-vscode-hello",
"solana/solana-bootcamp/6、Solana合约开发Part2/solana-pda",
"solana/solana-bootcamp/6、Solana合约开发Part2/solana-cpi",
"solana/solana-bootcamp/6、Solana合约开发Part2/solana-var",
"solana/solana-bootcamp/6、Solana合约开发Part2/solana-part2-exercise",
],
},
{
type: "category",
label: "7、Solana合约开发进阶",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/7、Solana合约开发进阶/solana-Contract-alts",
"solana/solana-bootcamp/7、Solana合约开发进阶/solana-Contract-serializes-achor-protocol",
"solana/solana-bootcamp/7、Solana合约开发进阶/solana-Anchor-development-framework",
"solana/solana-bootcamp/7、Solana合约开发进阶/solana-Contract-Anchor-practice",
"solana/solana-bootcamp/7、Solana合约开发进阶/solana-contact-exercise5",
],
},
{
type: "category",
label: "8、Solana DApp开发实践 DeFi & NFT",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/8、Solana DApp开发实践 DeFi & NFT/solana-bootcamp-Contract-read",
"solana/solana-bootcamp/8、Solana DApp开发实践 DeFi & NFT/solana-bootcamp-Contract-metaplex",
"solana/solana-bootcamp/8、Solana DApp开发实践 DeFi & NFT/solana-bootcamp-defi-exercise3",
],
},
{
type: "category",
label: "9、Solana合约安全",
link: {
type: "generated-index",
description: "Solana中文开发教程",
keywords: ["Solana"],
},
items: [
"solana/solana-bootcamp/9、Solana合约安全/solana-bootcamp-cashio",
"solana/solana-bootcamp/9、Solana合约安全/solana-bootcamp-classical-scientist-means",
"solana/solana-bootcamp/9、Solana合约安全/solana-bootcamp-contact-safe",
],
},
],
},
],
},
{
type: "category",
label: "Rust",
items: [
{
type: "category",
label: "OwnerShip",
link: {
type: "generated-index",
description: "A Starter Kit for New Solana Developer",
keywords: ["OwnerShip"],
},
items: ["rust/ownership/references-and-borrowing"],
},
],
},
{
type: "category",
label: "前端",
items: [
"web/react/custom-templates",
{
type: "category",
label: "React",
link: {
type: "generated-index",
description: "Let's learn React!",
keywords: ["react"],
},
items: [
"web/react/cra-advanced-config",
"web/react/learn-react",
],
},
],
},
],
tools,
};
module.exports = sidebars;