Skip to content

Commit 9696d97

Browse files
[update] sidebar structure
1 parent e2d34ca commit 9696d97

File tree

1 file changed

+57
-5
lines changed

1 file changed

+57
-5
lines changed

sidebars.js

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,39 @@ module.exports = {
1313
label: "What's new and migration",
1414
collapsible: true,
1515
collapsed: true,
16+
link: {
17+
type: 'generated-index',
18+
title: "What's new and migration",
19+
//description: '',
20+
//slug: '/category/docusaurus-guides',
21+
keywords: ['news'],
22+
image: '/img/docusaurus.png',
23+
},
1624
items: [
1725
"whats_new",
1826
"migration",
1927
],
2028
},
2129
{
2230
type: "category",
23-
label: "Spreadsheet API",
31+
label: "API",
2432
collapsible: true,
2533
collapsed: true,
34+
link: {
35+
type: 'doc',
36+
id: "api/api_overview"
37+
},
2638
items: [
27-
"api/api_overview",
39+
//"api/api_overview",
2840
{
2941
type: "category",
3042
label: "Spreadsheet methods",
3143
collapsible: true,
3244
collapsed: true,
45+
link: {
46+
type: 'doc',
47+
id: "api/overview/methods_overview"
48+
},
3349
items: [
3450
"api/spreadsheet_addcolumn_method",
3551
"api/spreadsheet_addrow_method",
@@ -67,6 +83,10 @@ module.exports = {
6783
label: "Spreadsheet events",
6884
collapsible: true,
6985
collapsed: true,
86+
link: {
87+
type: 'doc',
88+
id: "api/overview/events_overview"
89+
},
7090
items: [
7191
"api/spreadsheet_afterclear_event",
7292
"api/spreadsheet_aftercolumnadd_event",
@@ -110,6 +130,10 @@ module.exports = {
110130
label: "Spreadsheet properties",
111131
collapsible: true,
112132
collapsed: true,
133+
link: {
134+
type: 'doc',
135+
id: "api/overview/properties_overview"
136+
},
113137
items: [
114138
"api/spreadsheet_colscount_config",
115139
"api/spreadsheet_dateformat_config",
@@ -130,6 +154,10 @@ module.exports = {
130154
label: "Selection methods",
131155
collapsible: true,
132156
collapsed: true,
157+
link: {
158+
type: 'doc',
159+
id: "api/overview/selection_overview"
160+
},
133161
items: [
134162
"api/selection_getfocusedcell_method",
135163
"api/selection_getselectedcell_method",
@@ -143,6 +171,10 @@ module.exports = {
143171
label: "Events Bus methods",
144172
collapsible: true,
145173
collapsed: true,
174+
link: {
175+
type: 'doc',
176+
id: "api/overview/eventbus_overview"
177+
},
146178
items: [
147179
"api/eventsbus_detach_method",
148180
"api/eventsbus_fire_method",
@@ -154,6 +186,10 @@ module.exports = {
154186
label: "Export methods",
155187
collapsible: true,
156188
collapsed: true,
189+
link: {
190+
type: 'doc',
191+
id: "api/overview/export_overview"
192+
},
157193
items: [
158194
"api/export_xlsx_method",
159195
],
@@ -165,13 +201,23 @@ module.exports = {
165201
label: "Guides",
166202
collapsible: true,
167203
collapsed: false,
204+
link: {
205+
type: 'doc',
206+
id: "guides"
207+
},
168208
items: [
169-
"guides",
209+
//"guides",
170210
{
171211
type: "category",
172212
label: "Developer guides",
173213
collapsible: true,
174214
collapsed: true,
215+
link: {
216+
type: 'generated-index',
217+
title: "Developer guides",
218+
keywords: ['developer guides'],
219+
image: '/img/docusaurus.png',
220+
},
175221
items: [
176222
"initialization",
177223
"configuration",
@@ -186,22 +232,28 @@ module.exports = {
186232
"using_typescript",
187233
"angular_integration",
188234
"react_integration",
189-
"vuejs_integration",
235+
"vuejs_integration"
190236
],
191237
},
192238
{
193239
type: "category",
194240
label: "User guide",
195241
collapsible: true,
196242
collapsed: true,
243+
link: {
244+
type: 'generated-index',
245+
title: "User guides",
246+
keywords: ['User guides'],
247+
image: '/img/docusaurus.png'
248+
},
197249
items: [
198250
"hotkeys",
199251
"work_with_cells",
200252
"work_with_rows_cols",
201253
"work_with_sheets",
202254
"data_formatting",
203255
"number_formatting_guide",
204-
"excel_import_export",
256+
"excel_import_export"
205257
],
206258
},
207259
],

0 commit comments

Comments
 (0)