From cb6dbcdd230528c0c246c81d93386c512f9a23d0 Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Sat, 9 Dec 2023 01:06:19 -0800 Subject: [PATCH] [multicast_dns] Adjust README (#5529) - Improves link targets to be more directly useful. - Removes the unnecessary code sections showing an import, since the install tab already demonstrates that. - Removes the no-longer-needed exemption from the excerpt requirement. Part of https://github.com/flutter/flutter/issues/102679 --- packages/multicast_dns/CHANGELOG.md | 4 ++++ packages/multicast_dns/README.md | 14 ++++---------- packages/multicast_dns/pubspec.yaml | 2 +- script/configs/temp_exclude_excerpt.yaml | 1 - 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/packages/multicast_dns/CHANGELOG.md b/packages/multicast_dns/CHANGELOG.md index 85a2f7bef5d..eb612875066 100644 --- a/packages/multicast_dns/CHANGELOG.md +++ b/packages/multicast_dns/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.2+6 + +* Improves links in README.md. + ## 0.3.2+5 * Updates `PendingRequest` to be a `base class` for Dart 3.0 compatibility. diff --git a/packages/multicast_dns/README.md b/packages/multicast_dns/README.md index 26226f6ce13..10cd33e4bb6 100644 --- a/packages/multicast_dns/README.md +++ b/packages/multicast_dns/README.md @@ -6,15 +6,9 @@ https://pub.dartlang.org/packages/multicast_dns) A Dart package to do service discovery over multicast DNS (mDNS), Bonjour, and Avahi. ## Usage -To use this package, add `multicast_dns` as a -[dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/). - -## Example -Import the library via -``` dart -import 'package:multicast_dns/multicast_dns.dart'; -``` +To use this package, add `multicast_dns` as a +[dependency in your pubspec.yaml file](https://pub.dev/packages/multicast_dns/install). -Then use the `MDnsClient` Dart class in your code. To see how this is done, -check out the [example app](example/main.dart). +[The example](https://pub.dev/packages/multicast_dns/example) demonstrates how +to use the `MDnsClient` Dart class in your code. diff --git a/packages/multicast_dns/pubspec.yaml b/packages/multicast_dns/pubspec.yaml index 59b907fbf3d..a0211e7a733 100644 --- a/packages/multicast_dns/pubspec.yaml +++ b/packages/multicast_dns/pubspec.yaml @@ -2,7 +2,7 @@ name: multicast_dns description: Dart package for performing mDNS queries (e.g. Bonjour, Avahi). repository: https://github.com/flutter/packages/tree/main/packages/multicast_dns issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22 -version: 0.3.2+5 +version: 0.3.2+6 environment: sdk: ">=3.0.0 <4.0.0" diff --git a/script/configs/temp_exclude_excerpt.yaml b/script/configs/temp_exclude_excerpt.yaml index 8fd0a51f136..b2d445f30f8 100644 --- a/script/configs/temp_exclude_excerpt.yaml +++ b/script/configs/temp_exclude_excerpt.yaml @@ -13,7 +13,6 @@ - image_picker_for_web - in_app_purchase/in_app_purchase - ios_platform_images -- multicast_dns - palette_generator - pointer_interceptor - quick_actions/quick_actions