Skip to content

Commit 91f1265

Browse files
enedclaude
andcommitted
feat: simplify docs by removing complex use case pages
- Remove convoluted use case pages (data-sync, upload-files, etc.) - Eliminate 'Examples' section from navigation - now just Getting Started + Reference - Keep use case descriptions in main page table for overview without links - Focus documentation on essential guides: Overview, Quickstart, Debugging - Point users to example app for complete implementation reference - Cleaner, more focused documentation structure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7d7331f commit 91f1265

File tree

8 files changed

+6
-848
lines changed

8 files changed

+6
-848
lines changed

docs.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,6 @@
2121
}
2222
]
2323
},
24-
{
25-
"group": "Examples",
26-
"tab": "root",
27-
"pages": [
28-
{
29-
"title": "Data Sync",
30-
"href": "/usecases/data-sync"
31-
},
32-
{
33-
"title": "File Upload",
34-
"href": "/usecases/upload-files"
35-
},
36-
{
37-
"title": "Cleanup Tasks",
38-
"href": "/usecases/periodic-cleanup"
39-
},
40-
{
41-
"title": "Notifications",
42-
"href": "/usecases/fetch-notifications"
43-
},
44-
{
45-
"title": "Database Tasks",
46-
"href": "/usecases/database-maintenance"
47-
}
48-
]
49-
},
5024
{
5125
"group": "Reference",
5226
"tab": "root",

docs/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ Execute Dart code in the background, even when your app is closed. Perfect for d
2626

2727
| Use Case | Description |
2828
|----------|-------------|
29-
| **[Sync data from API](usecases/data-sync)** | Automatically fetch and sync data from your backend API |
30-
| **[Upload files in background](usecases/upload-files)** | Upload photos, documents when network conditions are optimal |
31-
| **[Clean up old data](usecases/periodic-cleanup)** | Remove old files, cache data, and maintain app performance |
32-
| **[Fetch notifications](usecases/fetch-notifications)** | Check for new notifications and messages from your server |
33-
| **[Database maintenance](usecases/database-maintenance)** | Perform database cleanup and optimization tasks |
29+
| **Sync data from API** | Automatically fetch and sync data from your backend API |
30+
| **Upload files in background** | Upload photos, documents when network conditions are optimal |
31+
| **Clean up old data** | Remove old files, cache data, and maintain app performance |
32+
| **Fetch notifications** | Check for new notifications and messages from your server |
33+
| **Database maintenance** | Perform database cleanup and optimization tasks |
3434

3535
## Architecture
3636

docs/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,5 @@ For comprehensive debugging guidance including platform-specific tools, ADB comm
223223

224224
## Next Steps
225225

226-
- **[Use Cases](usecases/data-sync)** - See real-world examples
226+
- **[Debugging Guide](debugging)** - Learn how to debug and troubleshoot background tasks
227227
- **[Example App](https://github.com/fluttercommunity/flutter_workmanager/tree/main/example)** - Complete working demo

docs/usecases/data-sync.mdx

Lines changed: 0 additions & 336 deletions
This file was deleted.

0 commit comments

Comments
 (0)