Skip to content

Commit 6312c91

Browse files
committed
fix: resolve mobile menu and duplicate titles
- Fixed _sidebar.md format with asterisks and leading slashes for docs.page compatibility - Removed duplicate H1 headings from all pages (frontmatter title is sufficient) - Mobile menu should now display properly with navigation items - Cleaner page titles without repetition
1 parent 80811a4 commit 6312c91

9 files changed

Lines changed: 14 additions & 29 deletions

docs/_sidebar.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
- [Get Started](quickstart)
2-
- **Examples**
3-
- [Data Sync](usecases/data-sync)
4-
- [File Upload](usecases/upload-files)
5-
- [Cleanup Tasks](usecases/periodic-cleanup)
6-
- [Notifications](usecases/fetch-notifications)
7-
- [Database Tasks](usecases/database-maintenance)
8-
- [Debugging](debugging)
1+
* [Home](/)
2+
* [Get Started](/quickstart)
3+
* **Examples**
4+
* [Data Sync](/usecases/data-sync)
5+
* [File Upload](/usecases/upload-files)
6+
* [Cleanup Tasks](/usecases/periodic-cleanup)
7+
* [Notifications](/usecases/fetch-notifications)
8+
* [Database Tasks](/usecases/database-maintenance)
9+
* [Debugging](/debugging)

docs/debugging.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Debugging Background Tasks
33
description: Debug and troubleshoot background tasks on Android and iOS
44
---
55

6-
# Debugging Background Tasks
7-
86
Background tasks can be tricky to debug since they run when your app is closed. Here's how to effectively debug and troubleshoot them on both platforms.
97

108
## Enable Debug Mode

docs/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Flutter Workmanager
33
description: Background task execution for Flutter apps
44
---
55

6-
# Flutter Workmanager
7-
86
Execute Dart code in the background, even when your app is closed. Perfect for data sync, file uploads, and periodic maintenance tasks.
97

108
## Key Features

docs/quickstart.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Quick Start
33
description: Get started with Flutter Workmanager in minutes
44
---
55

6-
# Quick Start
7-
86
Get Flutter Workmanager up and running in your app quickly.
97

108
## Installation

docs/usecases/data-sync.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
title: Example - Data Sync
2+
title: Data Sync Example
33
description: Example implementation for syncing API data in background
44
---
55

6-
# Example: API Data Sync
7-
86
Keep your app's data fresh by automatically syncing with your backend API, even when the app is closed.
97

108
## When to Use This

docs/usecases/database-maintenance.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
title: Example - Database Tasks
2+
title: Database Tasks Example
33
description: Example implementation for database maintenance tasks
44
---
55

6-
# Example: Database Maintenance
7-
86
Automatically maintain your app's local database by cleaning up old records, optimizing indexes, and performing routine maintenance tasks in the background.
97

108
## When to Use This

docs/usecases/fetch-notifications.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
title: Example - Notifications
2+
title: Notifications Example
33
description: Example implementation for background notification checking
44
---
55

6-
# Example: Notification Checking
7-
86
Automatically check for new notifications, messages, and updates from your server, even when the app is closed.
97

108
## When to Use This

docs/usecases/periodic-cleanup.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
title: Example - Cleanup Tasks
2+
title: Cleanup Tasks Example
33
description: Example implementation for periodic cleanup tasks
44
---
55

6-
# Example: Cleanup Tasks
7-
86
Keep your app performing well by automatically cleaning up old files, cached data, and temporary content in the background.
97

108
## When to Use This

docs/usecases/upload-files.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
title: Example - File Upload
2+
title: File Upload Example
33
description: Example implementation for background file uploads
44
---
55

6-
# Example: Background File Upload
7-
86
Upload user files in the background, even when the app is closed, ensuring reliable delivery when network conditions are good.
97

108
## When to Use This

0 commit comments

Comments
 (0)