Repository navigation
Expand file tree
/
Copy pathsidebars.js
More file actions
161 lines (155 loc) · 5.17 KB
/
Copy pathsidebars.js
File metadata and controls
161 lines (155 loc) · 5.17 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
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
/**
* 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 = {
eez: [{ type: "autogenerated", dirName: "eez" }],
bridges: [
{ type: "autogenerated", dirName: "bridges" },
{ type: "link", label: "Gnosis Bridge app", href: "https://bridge.gnosischain.com/" },
],
// Developer guides: step-by-step contract work.
// Category slugs match the old autogenerated ones so existing links keep working.
developerGuides: [
"developers/README",
"developers/quickstart",
// Faucet sits up top: getting test or gas tokens is the first thing most builders need
{ type: "link", label: "Faucets", href: "/tools/Faucets" },
{
type: "category",
label: "0-1 guides",
collapsible: true,
collapsed: false,
link: {
type: "generated-index",
title: "0-1 guides",
description:
"Each guide takes you from an empty directory to a result you can verify on-chain. Work through them in order.",
slug: "/developers/guides",
},
items: [
"developers/guides/deploy-your-first-contract",
"developers/guides/accept-stablecoin-payments",
"developers/guides/launch-a-tokenised-asset",
],
},
{
type: "category",
label: "Build contracts on Gnosis",
collapsible: true,
collapsed: false,
link: {
type: "generated-index",
title: "Template Contracts",
slug: "/category/build-contracts-on-gnosis",
},
items: [{ type: "autogenerated", dirName: "developers/Build contracts on gnosis" }],
},
{
type: "category",
label: "Deploy contracts on Gnosis",
collapsible: true,
collapsed: false,
link: {
type: "generated-index",
title: "Development Environment supported for Contracts on Gnosis",
slug: "/category/deploy-contracts-on-gnosis",
},
items: [{ type: "autogenerated", dirName: "developers/dev-environment" }],
},
{
type: "category",
label: "Interact with contracts on Gnosis",
collapsible: true,
collapsed: false,
link: {
type: "generated-index",
title: "Interact with your Smart Contracts on Gnosis Chain",
slug: "/category/interact-with-contracts-on-gnosis",
},
items: [{ type: "autogenerated", dirName: "developers/Interact on Gnosis" }],
},
{
type: "category",
label: "Verify Smart Contracts",
collapsible: true,
collapsed: true,
link: { type: "doc", id: "developers/Verify Smart Contracts/README" },
items: [
"developers/Verify Smart Contracts/blockscout",
"developers/Verify Smart Contracts/sourcify",
],
},
{
type: "category",
label: "Demo Projects",
collapsible: true,
collapsed: false,
link: {
type: "generated-index",
title: "Demo Projects",
description:
"End-to-end builds that compose Gnosis Chain components. Each one starts from an empty directory and ends in a result you can verify on-chain.",
slug: "/category/demo-projects",
},
items: [{ type: "autogenerated", dirName: "developers/demo-projects" }],
},
"developers/Usefulcontracts",
],
// Knowledge hub: tools, technical guides, validators and FAQ in one sidebar,
// behind one navbar tab. Each section opens when you are on one of its pages.
knowledgeHub: [
// Landing page that introduces the four sections below
"knowledge-hub",
{
type: "category",
label: "Tools",
collapsed: true,
items: [{ type: "autogenerated", dirName: "tools" }],
},
{
type: "category",
label: "Technical guides",
collapsed: true,
items: [{ type: "autogenerated", dirName: "technicalguides" }],
},
{
// Validators and node operators: what the move to Gnosis EEZ means for them
type: "category",
label: "Validators",
collapsed: true,
items: [
{ type: "autogenerated", dirName: "validators" },
// Node and validator setup for Gnosis Chain as it runs until the fork.
// Kept for operators, but collapsed and last so it stays out of the way.
{
type: "category",
label: "Run a node (until the fork)",
collapsed: true,
link: { type: "doc", id: "node/README" },
items: [{ type: "autogenerated", dirName: "node" }],
},
],
},
{
type: "category",
label: "FAQ",
collapsed: true,
items: [{ type: "autogenerated", dirName: "faq" }],
},
"glossary",
],
// Gnosis Chain: the L1 as it is today (overview, networks, tokens, specs)
gnosisChain: [
{ type: "autogenerated", dirName: "about" },
{ type: "link", label: "Build", href: "https://www.gnosis.io/chain/build" },
],
termsConditions: [{ type: "autogenerated", dirName: "terms-conditions" }],
};
module.exports = sidebars;