Skip to content

Commit 9392c55

Browse files
committed
refactor: reorganize sidebar structure and add new overview pages for iExec Explorer and The Graph Explorer
1 parent 0b567e7 commit 9392c55

File tree

4 files changed

+26
-61
lines changed

4 files changed

+26
-61
lines changed

.vitepress/sidebar.ts

Lines changed: 8 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ import type { DefaultTheme } from 'vitepress';
22

33
export function getSidebar() {
44
return {
5-
'/': [
5+
'/overview/': [
66
{
77
text: 'OVERVIEW',
88
items: [
9-
{ text: '💡 What We Do', link: '/overview/what-we-do' },
9+
{ text: '💡 Welcome iExec', link: '/overview/welcome' },
1010
{
1111
text: '👋 Hello World',
1212
link: '/overview/helloWorld',
13-
collapsed: true,
1413
items: [
1514
{
1615
text: 'iExec Overview',
@@ -33,7 +32,6 @@ export function getSidebar() {
3332
},
3433
{
3534
text: '📋 Use Cases',
36-
collapsed: true,
3735
items: [
3836
{ text: 'AI', link: '/overview/use-cases/ai' },
3937
{
@@ -64,67 +62,20 @@ export function getSidebar() {
6462
{ text: '🆘 Contact Us', link: '/overview/contact-us' },
6563
],
6664
},
67-
],
68-
'/overview/': [
6965
{
70-
text: 'OVERVIEW',
66+
text: 'EXPLORERS',
7167
items: [
72-
{ text: '💡 What We Do', link: '/overview/what-we-do' },
7368
{
74-
text: '👋 Hello World',
75-
link: '/overview/helloWorld',
76-
collapsed: true,
69+
text: 'the Explorer',
70+
collapsed: false,
7771
items: [
72+
{ text: 'iExec explorer', link: '/overview/iexec-explorer' },
7873
{
79-
text: 'iExec Overview',
80-
link: '/overview/helloWorld/1-overview',
81-
},
82-
{
83-
text: 'Protect data',
84-
link: '/overview/helloWorld/2-protectData',
85-
},
86-
{ text: 'Build iApp', link: '/overview/helloWorld/3-buildIApp' },
87-
{
88-
text: 'Manage data access',
89-
link: '/overview/helloWorld/4-manageDataAccess',
90-
},
91-
{
92-
text: 'Bonus chapter!',
93-
link: '/overview/helloWorld/5-bonusChapter',
74+
text: 'The Graph Explorer',
75+
link: '/overview/the-graph-explorer',
9476
},
9577
],
9678
},
97-
{
98-
text: '📋 Use Cases',
99-
collapsed: true,
100-
items: [
101-
{ text: 'AI', link: '/overview/use-cases/ai' },
102-
{
103-
text: 'Other Emerging Trends',
104-
link: '/overview/use-cases/other-emerging-trends',
105-
},
106-
{
107-
text: 'Use Case Demos',
108-
link: '/overview/use-case-demo',
109-
collapsed: true,
110-
items: [
111-
{
112-
text: 'Content Creator',
113-
link: '/overview/use-case-demo/content-creator',
114-
},
115-
{
116-
text: 'Web3 Messaging',
117-
link: '/overview/use-case-demo/web3messaging',
118-
},
119-
],
120-
},
121-
],
122-
},
123-
{
124-
text: '🤖 Use the docs in your AI',
125-
link: '/overview/ai-integration',
126-
},
127-
{ text: '🆘 Contact Us', link: '/overview/contact-us' },
12879
],
12980
},
13081
],
@@ -139,7 +90,6 @@ export function getSidebar() {
13990
{
14091
text: '📖 Guides',
14192
link: '/manage-data/guides',
142-
collapsed: true,
14393
items: [
14494
{
14595
text: 'Create and Share Access to Protected Data',
@@ -418,7 +368,6 @@ export function getSidebar() {
418368
{
419369
text: '📖 Guides',
420370
link: '/build-iapp/guides',
421-
collapsed: true,
422371
items: [
423372
{
424373
text: 'Manage Your iApps',
@@ -493,7 +442,6 @@ export function getSidebar() {
493442
{
494443
text: '📖 Guides',
495444
link: '/use-iapp/guides',
496-
collapsed: true,
497445
items: [
498446
{
499447
text: 'Different ways to execute an iApp',
@@ -520,7 +468,6 @@ export function getSidebar() {
520468
{
521469
text: '💰 How to Pay',
522470
link: '/use-iapp/payment',
523-
collapsed: true,
524471
items: [
525472
{
526473
text: 'How to Pay for Web3mail',

src/overview/iexec-explorer.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: iExec Explorer
3+
---
4+
5+
# iExec Explorer
6+
7+
The iExec Explorer lets you browse and analyze on-chain activity, assets, and jobs on the iExec platform.
8+
9+
> _Page under construction. More details coming soon._

src/overview/the-graph-explorer.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: The Graph Explorer
3+
---
4+
5+
# The Graph Explorer
6+
7+
The Graph Explorer provides a way to query and visualize blockchain data indexed by The Graph protocol.
8+
9+
> _Page under construction. More details coming soon._
File renamed without changes.

0 commit comments

Comments
 (0)