Skip to content

Commit 3139e5c

Browse files
committed
fix: add multiple sidebar configurations for docs.page compatibility
- Added sidebar.json for JSON-based navigation - Updated docs.json with navigation array - Trying multiple approaches to ensure mobile menu displays
1 parent 6312c91 commit 3139e5c

2 files changed

Lines changed: 55 additions & 1 deletion

File tree

docs.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
{
22
"name": "Flutter Workmanager",
3-
"description": "Background task execution for Flutter apps"
3+
"description": "Background task execution for Flutter apps",
4+
"navigation": [
5+
{ "text": "Home", "link": "/" },
6+
{ "text": "Get Started", "link": "/quickstart" },
7+
{
8+
"text": "Examples",
9+
"items": [
10+
{ "text": "Data Sync", "link": "/usecases/data-sync" },
11+
{ "text": "File Upload", "link": "/usecases/upload-files" },
12+
{ "text": "Cleanup Tasks", "link": "/usecases/periodic-cleanup" },
13+
{ "text": "Notifications", "link": "/usecases/fetch-notifications" },
14+
{ "text": "Database Tasks", "link": "/usecases/database-maintenance" }
15+
]
16+
},
17+
{ "text": "Debugging", "link": "/debugging" }
18+
]
419
}

docs/sidebar.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[
2+
{
3+
"text": "Home",
4+
"link": "/"
5+
},
6+
{
7+
"text": "Get Started",
8+
"link": "/quickstart"
9+
},
10+
{
11+
"text": "Examples",
12+
"children": [
13+
{
14+
"text": "Data Sync",
15+
"link": "/usecases/data-sync"
16+
},
17+
{
18+
"text": "File Upload",
19+
"link": "/usecases/upload-files"
20+
},
21+
{
22+
"text": "Cleanup Tasks",
23+
"link": "/usecases/periodic-cleanup"
24+
},
25+
{
26+
"text": "Notifications",
27+
"link": "/usecases/fetch-notifications"
28+
},
29+
{
30+
"text": "Database Tasks",
31+
"link": "/usecases/database-maintenance"
32+
}
33+
]
34+
},
35+
{
36+
"text": "Debugging",
37+
"link": "/debugging"
38+
}
39+
]

0 commit comments

Comments
 (0)