[go_router] Remove `path` parameter from `ShellRoute` in the documentation (#2779)
* :fire: Remove the path parameter of ShellRoute in the documentation
* :memo: Update changelog
* :arrow_up: Increase version number
diff --git a/packages/go_router/CHANGELOG.md b/packages/go_router/CHANGELOG.md
index 3c130bc..b0a6b20 100644
--- a/packages/go_router/CHANGELOG.md
+++ b/packages/go_router/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 5.1.4
+
+- Fixes the documentation by removing the `ShellRoute`'s non-existing `path` parameter from it.
+
## 5.1.3
- Allows redirection to return same location.
diff --git a/packages/go_router/lib/src/route.dart b/packages/go_router/lib/src/route.dart
index aca0495..3050569 100644
--- a/packages/go_router/lib/src/route.dart
+++ b/packages/go_router/lib/src/route.dart
@@ -406,7 +406,6 @@
///
/// ```
/// ShellRoute(
-/// path: '/',
/// builder: (BuildContext context, GoRouterState state, Widget child) {
/// return Scaffold(
/// appBar: AppBar(
diff --git a/packages/go_router/pubspec.yaml b/packages/go_router/pubspec.yaml
index 3c63da2..5ffc17e 100644
--- a/packages/go_router/pubspec.yaml
+++ b/packages/go_router/pubspec.yaml
@@ -1,7 +1,7 @@
name: go_router
description: A declarative router for Flutter based on Navigation 2 supporting
deep linking, data-driven routes and more
-version: 5.1.3
+version: 5.1.4
repository: https://github.com/flutter/packages/tree/main/packages/go_router
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+go_router%22