forked from gardenfi/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebars.ts
145 lines (136 loc) · 4.67 KB
/
sidebars.ts
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
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
/**
* 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: "." }],
home: [
{ type: "doc", label: "Get Started", id: "home/get-started" },
"home/roadmap",
{
type: "category",
label: "Basics",
link: { type: "doc", id: "home/basics/basics" },
items: [
{
type: "category",
label: "Swap",
link: { type: "doc", id: "home/basics/swap/swap" },
items: [
"home/basics/swap/atomic-swaps",
"home/basics/swap/order-matching-engine",
],
},
{
type: "category",
label: "Stake",
link: { type: "doc", id: "home/basics/stake/stake" },
items: ["home/basics/stake/governance"],
},
"home/basics/liquidity-provision",
{
type: "category",
label: "Token",
link: { type: "doc", id: "home/basics/token/token" },
items: ["home/basics/token/seasons"],
},
"home/basics/supported-chains",
{
type: "category",
label: "Guides",
link: { type: "doc", id: "home/basics/guides/guides" },
items: [
"home/basics/guides/btc-wbtc",
"home/basics/guides/wbtc-btc",
"home/basics/guides/wbtc-wbtc",
"home/basics/guides/stake-seed",
],
},
],
},
{
type: "category",
label: "Security",
link: { type: "doc", id: "home/security/security" },
items: ["home/security/bug-bounty"],
},
{
type: "category",
label: "FAQs",
link: { type: "doc", id: "home/faqs/faqs" },
items: ["home/faqs/support"],
},
"home/garden-brand-guide",
],
developers: [
"developers/developers",
{
type: "category",
label: "SDK",
link: { type: "doc", id: "developers/sdk/sdk" },
items: [
"developers/sdk/installation",
"developers/sdk/quickstart",
"developers/sdk/core-concepts",
"developers/sdk/supported-chains",
{
type: "category",
label: "API Reference",
link: {
type: "doc",
id: "developers/sdk/api-reference/api-reference",
},
items: [
"developers/sdk/api-reference/orderbook",
"developers/sdk/api-reference/core",
],
},
{
type: "category",
label: "SDK Guides",
link: {
type: "doc",
id: "developers/sdk/sdk-guides/sdk-guides",
},
items: [
"developers/sdk/sdk-guides/creating-wallets",
"developers/sdk/sdk-guides/swapping-btc-wbtc",
"developers/sdk/sdk-guides/swapping-wbtc-btc",
"developers/sdk/sdk-guides/1inch-integration",
],
},
],
},
{
type: "category",
label: "Orderbook",
link: { type: "doc", id: "developers/orderbook/test" },
items: [],
},
],
cookbook: [
"cookbook/cookbook",
"cookbook/cli-tool-with-garden-sdk",
"cookbook/swapper-frontend",
],
community: ["community/community", "community/garden-ambassador-program"],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
};
export default sidebars;