forked from bluxcc/docs-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebars.ts
More file actions
109 lines (104 loc) · 2.69 KB
/
sidebars.ts
File metadata and controls
109 lines (104 loc) · 2.69 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
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
const react = {
type: "category",
label: "React",
collapsed: true,
items: [
"react/installation",
"react/setup",
{
type: "category",
label: "useBlux",
items: ["react/usage/login", "react/usage/send-transaction"],
},
{
type: "category",
label: "Hooks",
items: [
"react/hooks/use-account",
"react/hooks/use-accounts",
"react/hooks/use-assets",
"react/hooks/use-balances",
"react/hooks/use-claimable-balances",
"react/hooks/use-effects",
"react/hooks/use-ledgers",
"react/hooks/use-liquidity-pools",
"react/hooks/use-network",
"react/hooks/use-offers",
"react/hooks/use-operations",
"react/hooks/use-orderbook",
"react/hooks/use-payments",
"react/hooks/use-strict-receive-paths",
"react/hooks/use-strict-send-paths",
"react/hooks/use-switch-network",
"react/hooks/use-trade-aggregation",
"react/hooks/use-trades",
"react/hooks/use-transactions",
],
},
],
};
const vanilla = {
type: "category",
label: "Vanilla JS",
collapsed: true,
items: [
"js/installation",
"js/setup",
{
type: "category",
label: "Usage",
items: [
"js/usage/login",
"js/usage/send-transaction",
"js/usage/sign-message",
"js/usage/profile",
],
},
{
type: "category",
label: "Core Functions",
items: [
"js/core/getNetwork",
"js/core/switchNetwork",
"js/core/getAccount",
"js/core/getAccounts",
"js/core/getAssets",
"js/core/getBalances",
"js/core/getClaimableBalances",
"js/core/getEffects",
"js/core/getLedgers",
"js/core/getLiquidityPools",
"js/core/getOffers",
"js/core/getOperations",
"js/core/getOrderbook",
"js/core/getPayments",
"js/core/getStrictReceivePaths",
"js/core/getStrictSendPaths",
"js/core/getTradeAggregation",
"js/core/getTrades",
"js/core/getTransactions",
"js/core/networks",
],
},
],
};
const configurations = {
type: "category",
label: "Configuration",
collapsed: true,
items: [
"configuration/appearance",
"configuration/excludeWallets",
"configuration/explorer",
"configuration/loginMethods",
"configuration/networks",
"configuration/transports",
"configuration/walletConnect",
],
};
const sidebars: SidebarsConfig = {
// @ts-ignore
installationSideBar: ["intro", "get-started", configurations, vanilla, react],
};
export default sidebars;