Fix deprecated URLs (#2005)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ff0d4e2..48b42bd 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,7 +9,7 @@
Start by [using the tool](README.md) and filing issues and requests.
-See the [dartdoc API](https://pub.dartlang.org/documentation/dartdoc/latest/) docs, generated by
+See the [dartdoc API](https://pub.dev/documentation/dartdoc/latest/) docs, generated by
dartdoc.
If you want to contribute, check out the [issue tracker][] and see if there's an
diff --git a/README.md b/README.md
index e45f1eb..15ed8ea 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
## Installing dartdoc
-- download the [Dart SDK](https://www.dartlang.org/downloads/)
+- download the [Dart SDK](https://dart.dev/get-dart)
- add the SDK's `bin` directory to your `PATH`
## Generating docs
@@ -86,7 +86,7 @@
## Writing docs
Check out the
-[Effective Dart: Documentation guide](https://www.dartlang.org/effective-dart/documentation/).
+[Effective Dart: Documentation guide](https://dart.dev/guides/language/effective-dart/documentation).
The guide covers formatting, linking, markup, and general best practices when
authoring doc comments for Dart with `dartdoc`.
@@ -152,7 +152,7 @@
* **includeExternal**: Specify a list of library filenames to add to the list of documented libraries.
* **linkTo**: For other packages depending on this one, if this map is defined those packages
will use the settings here to control how hyperlinks to the package are generated.
- This will override the default for packages hosted on pub.dartlang.org.
+ This will override the default for packages hosted on pub.dev.
* **url**: A string indicating the base URL for documentation of this package. Ordinarily
you do not need to set this in the package: consider --link-to-hosted and
--link-to-sdks instead of this option if you need to build your own website with
diff --git a/lib/src/dartdoc_options.dart b/lib/src/dartdoc_options.dart
index 23ed768..860fa1d 100644
--- a/lib/src/dartdoc_options.dart
+++ b/lib/src/dartdoc_options.dart
@@ -5,7 +5,7 @@
///
/// dartdoc's dartdoc_options.yaml configuration file follows similar loading
/// semantics to that of analysis_options.yaml,
-/// [documented here](https://www.dartlang.org/guides/language/analysis-options).
+/// [documented here](https://dart.dev/guides/language/analysis-options).
/// It searches parent directories until it finds an analysis_options.yaml file,
/// and uses built-in defaults if one is not found.
///