Skip to content

Commit 8a5efbe

Browse files
committed
cross reference provider docs
1 parent d8a6703 commit 8a5efbe

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

website/docs/concepts/combining_providers.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ final productsProvider = FutureProvider<List<Product>>((ref) async {
269269
```
270270

271271
[provider]: ../providers/provider
272-
[stateprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/StateProvider-class.html
273-
[futureprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/FutureProvider-class.html
272+
[stateprovider]: ../providers/state_provider
273+
[futureprovider]: ../providers/future_provider
274274
[statenotifierprovider]: ../providers/state_notifier_provider
275275
[ref]: https://pub.dev/documentation/riverpod/latest/riverpod/Ref-class.html
276276
[watch]: https://pub.dev/documentation/riverpod/latest/riverpod/Ref/watch.html

website/docs/concepts/modifiers/auto_dispose.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@ final secondProvider = Provider.autoDispose((ref) {
132132
});
133133
```
134134

135-
[futureprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/FutureProvider-class.html
135+
[futureprovider]: ../../providers/future_provider

website/docs/concepts/modifiers/family.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,4 @@ Widget build(BuildContext context, WidgetRef ref) {
181181

182182
[freezed]: https://pub.dev/packages/freezed
183183
[equatable]: https://pub.dev/packages/equatable
184-
[futureprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/FutureProvider-class.html
184+
[futureprovider]: ../../providers/future_provider

website/docs/concepts/reading.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ final label = ref.watch(userProvider.select((user) => 'Mr ${user.name}'));
399399

400400
:::
401401

402-
[stateprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/StateProvider-class.html
402+
[stateprovider]: ../providers/state_provider
403403
[providercontainer]: https://pub.dev/documentation/riverpod/latest/riverpod/ProviderContainer-class.html
404404
[providerlistener]: https://pub.dev/documentation/flutter_riverpod/latest/flutter_riverpod/ProviderListener-class.html
405405
[providerscope]: https://pub.dev/documentation/flutter_riverpod/latest/flutter_riverpod/ProviderScope-class.html

website/docs/cookbooks/testing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,5 @@ Wrapping up, here is the entire full code for our Flutter test.
152152
[riverpod]: https://github.com/rrousselgit/river_pod
153153
[providerscope]: https://pub.dev/documentation/flutter_riverpod/latest/flutter_riverpod/ProviderScope-class.html
154154
[providercontainer]: https://pub.dev/documentation/riverpod/latest/riverpod/ProviderContainer-class.html
155-
[futureprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/FutureProvider-class.html
155+
[futureprovider]: ../providers/future_provider
156156
[zone]: https://api.flutter.dev/flutter/dart-async/Zone-class.html

website/docs/migration/0.14.0_to_1.0.0.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ Consumer(
221221
```
222222

223223
[statenotifierprovider]: ../providers/state_notifier_provider
224-
[stateprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/StateProvider-class.html
224+
[stateprovider]: ../providers/state_provider
225225
[statenotifier]: https://pub.dev/documentation/state_notifier/latest/state_notifier/StateNotifier-class.html

website/docs/providers/state_notifier_provider.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ with the list of todos in our UI:
3636
[state_notifier]: https://pub.dev/packages/state_notifier
3737
[statenotifier]: https://pub.dev/documentation/state_notifier/latest/state_notifier/StateNotifier-class.html
3838
[provider]: ./provider
39-
[futureprovider]: https://pub.dev/documentation/riverpod/latest/riverpod/FutureProvider-class.html
39+
[futureprovider]: ./future_provider

website/docs/providers/state_provider.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ Here is the complete example on Dartpad:
188188

189189
[ref.watch]: ../concepts/reading#using-refwatch-to-observe-a-provider
190190
[statenotifierprovider]: ./state_notifier_provider
191+
[futureprovider]: ./future_provider
192+
[statenotifier]: https://pub.dev/documentation/state_notifier/latest/state_notifier/StateNotifier-class.html
191193
[provider]: ./provider
192194
[asyncvalue]: https://pub.dev/documentation/riverpod/latest/riverpod/AsyncValue-class.html
193195
[future]: https://api.dart.dev/dart-async/Future-class.html

0 commit comments

Comments
 (0)