Skip to content

Commit 3828cb9

Browse files
committed
Enhance sidebar structure: add collapsible sections for better navigation and restore TOOLING & EXPLORERS section with relevant links.
1 parent 1be94db commit 3828cb9

File tree

1 file changed

+49
-30
lines changed

1 file changed

+49
-30
lines changed

.vitepress/sidebar.ts

Lines changed: 49 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export function getSidebar() {
1010
{
1111
text: '👋 Hello World',
1212
link: '/documentation/helloWorld',
13+
collapsed: true,
1314
items: [
1415
{
1516
text: 'iExec Overview',
@@ -19,7 +20,10 @@ export function getSidebar() {
1920
text: 'Protect Data',
2021
link: '/documentation/helloWorld/2-protectData',
2122
},
22-
{ text: 'Build iApp', link: '/documentation/helloWorld/3-buildIApp' },
23+
{
24+
text: 'Build iApp',
25+
link: '/documentation/helloWorld/3-buildIApp',
26+
},
2327
{
2428
text: 'Manage Data Access',
2529
link: '/documentation/helloWorld/4-manageDataAccess',
@@ -48,40 +52,16 @@ export function getSidebar() {
4852
},
4953
],
5054
},
51-
{
52-
text: 'TOOLING & EXPLORERS',
53-
items: [
54-
{
55-
text: 'iExec Explorer',
56-
link: '/documentation/tooling-and-explorers/iexec-explorer',
57-
},
58-
{
59-
text: 'Builder Dashboard',
60-
link: '/documentation/tooling-and-explorers/builder-dashboard',
61-
},
62-
{
63-
text: 'RLC Bridge',
64-
link: '/documentation/tooling-and-explorers/bridge',
65-
},
66-
{
67-
text: 'Subgraph Explorer',
68-
link: '/documentation/tooling-and-explorers/subgraph-explorer',
69-
},
70-
{
71-
text: 'Blockchain Explorer',
72-
link: '/documentation/tooling-and-explorers/blockchain-explorer',
73-
},
74-
],
75-
},
7655
{
7756
text: 'PROTECT AND MANAGE DATA',
7857
items: [
7958
{
80-
text: '❓  What is Protected Data?',
59+
text: '❓  What is Protected Data ?',
8160
link: '/documentation/manage-data/what-is-protected-data',
8261
},
8362
{
8463
text: '📖 Guides',
64+
collapsed: true,
8565
items: [
8666
{
8767
text: 'Manage Access',
@@ -100,6 +80,7 @@ export function getSidebar() {
10080
{
10181
text: '🔐 DataProtector',
10282
link: '/documentation/manage-data/dataProtector',
83+
collapsed: true,
10384
items: [
10485
{
10586
text: 'Getting Started',
@@ -331,9 +312,13 @@ export function getSidebar() {
331312
{
332313
text: 'BUILD YOUR iAPP',
333314
items: [
334-
{ text: '❓ What is an iApp?', link: '/documentation/build-iapp/what-is-iapp' },
315+
{
316+
text: '❓ What is an iApp ?',
317+
link: '/documentation/build-iapp/what-is-iapp',
318+
},
335319
{
336320
text: '📖 Guides',
321+
collapsed: true,
337322
items: [
338323
{
339324
text: 'Build and Deploy',
@@ -364,6 +349,7 @@ export function getSidebar() {
364349
{
365350
text: '🤖 iApp Generator',
366351
link: '/documentation/build-iapp/iapp-generator',
352+
collapsed: true,
367353
items: [
368354
{
369355
text: 'Getting Started',
@@ -391,10 +377,17 @@ export function getSidebar() {
391377
{
392378
text: 'USE AN iAPP',
393379
items: [
394-
{ text: '📝 Introduction', link: '/documentation/use-iapp/introduction' },
395-
{ text: '🚀 Getting Started', link: '/documentation/use-iapp/getting-started' },
380+
{
381+
text: '📝 Introduction',
382+
link: '/documentation/use-iapp/introduction',
383+
},
384+
{
385+
text: '🚀 Getting Started',
386+
link: '/documentation/use-iapp/getting-started',
387+
},
396388
{
397389
text: '📖 Guides',
390+
collapsed: true,
398391
items: [
399392
{
400393
text: 'Different Ways to Execute an iApp',
@@ -420,6 +413,7 @@ export function getSidebar() {
420413
},
421414
{
422415
text: '💰 How to Pay',
416+
collapsed: true,
423417
items: [
424418
{
425419
text: 'How to Pay for Web3Mail',
@@ -511,6 +505,31 @@ export function getSidebar() {
511505
},
512506
],
513507
},
508+
{
509+
text: 'TOOLING & EXPLORERS',
510+
items: [
511+
{
512+
text: 'iExec Explorer',
513+
link: '/documentation/tooling-and-explorers/iexec-explorer',
514+
},
515+
{
516+
text: 'Builder Dashboard',
517+
link: '/documentation/tooling-and-explorers/builder-dashboard',
518+
},
519+
{
520+
text: 'RLC Bridge',
521+
link: '/documentation/tooling-and-explorers/bridge',
522+
},
523+
{
524+
text: 'Subgraph Explorer',
525+
link: '/documentation/tooling-and-explorers/subgraph-explorer',
526+
},
527+
{
528+
text: 'Blockchain Explorer',
529+
link: '/documentation/tooling-and-explorers/blockchain-explorer',
530+
},
531+
],
532+
},
514533
{
515534
text: 'PROTOCOL',
516535
items: [

0 commit comments

Comments
 (0)