forked from MetaMask/metamask-docs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
conflux-sidebar.js
113 lines (111 loc) · 2.93 KB
/
conflux-sidebar.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
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebar = {
walletSidebar: [
"index",
{
type: "category",
label: "Get started",
link: { type: "generated-index" },
collapsed: false,
items: [
"get-started/set-up-dev-environment",
// "get-started/run-development-network",
"get-started/detect-fluent",
"get-started/detect-network",
"get-started/access-accounts",
],
},
{
type: "category",
label: "How to",
link: { type: "generated-index" },
items: [
{
type: "category",
label: "Use JS-CONFLUX-SDK",
link: {
type: "doc",
id: "how-to/use-sdk/index",
},
items: [
{
type: "category",
label: "JavaScript",
link: {
type: "doc",
id: "how-to/use-sdk/javascript/index",
},
items: [
"how-to/use-sdk/javascript/react",
"how-to/use-sdk/javascript/pure-js",
"how-to/use-sdk/javascript/other-web-frameworks",
],
},
// {
// type: "category",
// label: "Mobile",
// link: {
// type: "doc",
// id: "how-to/use-sdk/mobile/index",
// },
// items: [
// "how-to/use-sdk/mobile/ios",
// "how-to/use-sdk/mobile/android",
// ],
// },
// {
// type: "category",
// label: "Gaming",
// link: {
// type: "doc",
// id: "how-to/use-sdk/gaming/index",
// },
// items: [
// "how-to/use-sdk/gaming/unity",
// "how-to/use-sdk/gaming/unreal-engine",
// ],
// },
],
},
// "how-to/use-mobile",
"how-to/interact-with-smart-contracts",
"how-to/send-transactions",
"how-to/sign-data",
"how-to/register-token",
// "how-to/access-provider",
"how-to/secure-dapp",
"how-to/set-icon",
],
},
{
type: "category",
label: "Concepts",
link: { type: "generated-index" },
items: [
// "concepts/signing-methods",
"concepts/convenience-libraries",
],
},
{
type: "category",
label: "Tutorials",
link: { type: "generated-index" },
items: [
"tutorials/react-dapp-local-state",
"tutorials/react-dapp-global-state",
],
},
{
type: "category",
label: "Reference",
link: { type: "generated-index" },
items: [
"reference/provider-api",
"reference/rpc-api",
// "reference/sdk-js-options",
],
},
],
};
module.exports = sidebar;