Skip to content

Commit c5bcbcc

Browse files
authored
dartlang.org -> dart.dev (#1755)
Also fixed some redirects to webdev.dartlang.org and updated site-shared. Fixes #1754.
1 parent 09d90b8 commit c5bcbcc

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing :heart:
22

3-
Thanks for thinking about helping with [www.dartlang.org][www]!
3+
Thanks for thinking about helping with [dart.dev][www]!
44
You can contribute in a few ways.
55

66
* **Fix typos.** The GitHub UI makes it easy to contribute small fixes, and
@@ -43,7 +43,7 @@ More info:
4343
[issue tracker]: https://github.com/dart-lang/site-www/issues
4444
[Report issues]: https://github.com/dart-lang/site-www/issues/new
4545
[sign the CLA]: https://developers.google.com/open-source/cla/individual
46-
[www]: https://www.dartlang.org
46+
[www]: https://dart.dev
4747

4848
## Updating code samples
4949

@@ -52,7 +52,7 @@ If your PR changes Dart code within a page, you'll probably need to change the c
5252
1. In a `.md` file for the page.
5353
2. In a `.dart` file under the `/examples` directory.
5454

55-
For example, say you want to change the following code in the [language tour](https://www.dartlang.org/guides/language/language-tour):
55+
For example, say you want to change the following code in the [language tour](https://dart.dev/guides/language/language-tour):
5656

5757
```
5858
<?code-excerpt "misc/lib/language_tour/variables.dart (var-decl)"?>

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ With this tool you can check any URL by simply specifying it as a parameter:
132132

133133
```
134134
pub global activate linkcheck
135-
linkcheck https://www.dartlang.org
135+
linkcheck https://dart.dev
136136
```
137137

138138
To check for valid HTML, good images, and broken links (though not as well
@@ -240,8 +240,8 @@ See the [Troubleshooting wiki page].
240240

241241
[Build Status SVG]: https://travis-ci.org/dart-lang/site-www.svg?branch=master
242242
[Cloning a repository]: https://help.github.com/articles/cloning-a-repository
243-
[Dart]: https://www.dartlang.org/install
244-
[Dart install]: https://www.dartlang.org/install
243+
[Dart]: https://dart.dev/get-dart
244+
[Dart install]: https://dart.dev/get-dart
245245
[Firebase]: https://firebase.google.com/
246246
[first-timers SVG]: https://img.shields.io/badge/first--timers--only-friendly-blue.svg?style=flat-square
247247
[first-timers]: https://www.firsttimersonly.com/

_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Site settings
22
title: Dart
33
description: Dart is a platform for building structured apps. It includes a language, a VM, libraries, tools, and compilers to many targets, including JavaScript.
4-
url: https://www.dartlang.org
4+
url: https://dart.dev
55
dev-url: https://dartlang-org-dev.firebaseapp.com
66
repo:
77
this: https://github.com/dart-lang/site-www
@@ -16,7 +16,7 @@ port: 4000
1616
www: https://dart.dev
1717
prev-url: https://v1-dartlang-org.firebaseapp.com
1818
webdev: https://webdev.dartlang.org
19-
angulardart: https://webdev.dartlang.org/angular
19+
angulardart: https://angulardart.dev
2020
dev-webdev: https://webdev-dartlang-org-dev.firebaseapp.com
2121
dart_vm: /server
2222
flutter: https://flutter.dev

firebase.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{ "source": "/+lexicalscope", "destination": "/guides/language/language-tour#lexical-scope", "type": 301 },
1616
{ "source": "/+pub", "destination": "/tools/pub", "type": 301 },
1717
{ "source": "/2.0", "destination": "/dart-2", "type": 301 },
18-
{ "source": "/angular/cheatsheet", "destination": "https://webdev.dartlang.org/angular/cheatsheet", "type": 301 },
18+
{ "source": "/angular/cheatsheet", "destination": "https://angulardart.dev/cheatsheet", "type": 301 },
1919
{ "source": "/api", "destination": "https://api.dart.dev", "type": 301 },
2020
{ "source": "/articles/api-naming-guide{,/**}", "destination": "/guides/language/effective-dart/design", "type": 301 },
2121
{ "source": "/articles/server{,/**}", "destination": "/server", "type": 301 },
@@ -98,7 +98,7 @@
9898
{ "source": "/docs/tutorials/cmdline", "destination": "/tutorials/server/cmdline", "type": 301 },
9999
{ "source": "/docs/tutorials/connect-dart-html", "destination": "/tutorials/web/low-level-html/connect-dart-html", "type": 301 },
100100
{ "source": "/docs/tutorials/fetchdata", "destination": "/tutorials/web/get-data/fetch-data", "type": 301 },
101-
{ "source": "/docs/tutorials/forms{,/**}", "destination": "https://webdev.dartlang.org/angular/guide/forms", "type": 301 },
101+
{ "source": "/docs/tutorials/forms{,/**}", "destination": "https://angulardart.dev/guide/forms", "type": 301 },
102102
{ "source": "/docs/tutorials/futures", "destination": "/tutorials/language/futures", "type": 301 },
103103
{ "source": "/docs/tutorials/get-started", "destination": "/tutorials/server/get-started", "type": 301 },
104104
{ "source": "/docs/tutorials/httpserver", "destination": "/tutorials/server/httpserver", "type": 301 },
@@ -181,16 +181,16 @@
181181
{ "source": "/tools/observatory{,/**}", "destination": "https://dart-lang.github.io/observatory", "type": 301 },
182182
{ "source": "/tools/**/private-files?(.html)", "destination": "/guides/libraries/private-files", "type": 301 },
183183
{ "source": "/tools/pub/assets-and-*transformers?(.html)", "destination": "/tools/pub/obsolete", "type": 301 },
184-
{ "source": "/tools/pub/cmd/pub-build?(.html)", "destination": "https://webdev.dartlang.org/tools/pub/pub-build", "type": 301 },
185-
{ "source": "/tools/pub/cmd/pub-serve?(.html)", "destination": "https://webdev.dartlang.org/tools/pub/pub-serve", "type": 301 },
184+
{ "source": "/tools/pub/cmd/pub-build?(.html)", "destination": "/tools/webdev", "type": 301 },
185+
{ "source": "/tools/pub/cmd/pub-serve?(.html)", "destination": "/tools/webdev", "type": 301 },
186186
{ "source": "/tools/pub/create-library-packages?(.html)", "destination": "/guides/libraries/create-library-packages", "type": 301 },
187187
{ "source": "/tools/pub/faq?(.html)", "destination": "/tools/faq#pub", "type": 301 },
188188
{ "source": "/tools/pub/installing?(.html)", "destination": "/tools/pub/environment-variables", "type": 301 },
189189
{ "source": "/tools/pub/transformers{,/**}", "destination": "/tools/pub/obsolete", "type": 301 },
190190
{ "source": "/tools/pub/get-started", "destination": "/guides/packages", "type": 301 },
191191
{ "source": "/tools/pub", "destination": "/tools/pub/cmd", "type": 301 },
192192
{ "source": "/{docs,tools}/{pub-package-manager,pub/cmd,pub/tools/pub}/glossary?(.html)", "destination": "/tools/pub/glossary", "type": 301 },
193-
{ "source": "/tools/webstorm?(.html)", "destination": "https://webdev.dartlang.org/tools/webstorm", "type": 301 },
193+
{ "source": "/tools/webstorm?(.html)", "destination": "/tools", "type": 301 },
194194
{ "source": "/tos@(|.htm|.html)", "destination": "/terms", "type": 301 },
195195
{ "source": "/web-ui/observables{,/**}", "destination": "https://pub.dev/packages/observable", "type": 301 },
196196
{ "source": "/dart-1", "destination": "https://v1-dartlang-org.firebaseapp.com", "type": 301 },

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "www.dartlang.org",
2+
"name": "dart.dev",
33
"version": "0.0.0",
44
"private": true,
5-
"description": "www.dartlang.org",
5+
"description": "Source code for https://dart.dev",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/dart-lang/site-www.git"

site-shared

src/_tutorials/web/fetch-data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ This program uses a convenience method, [getString()][], provided by the
423423
<!--?code-excerpt "web/portmanteaux/main.dart (makeRequest)" indent-by="0" remove="FIXME" replace="/\/\/ \w.*/[!$&!]/g"?-->
424424
{% prettify dart %}
425425
Future<void> makeRequest(Event _) async {
426-
const path = 'https://www.dartlang.org/f/portmanteaux.json';
426+
const path = 'https://dart.dev/f/portmanteaux.json';
427427
try {
428428
[!// Make the GET request!]
429429
final jsonString = await HttpRequest.getString(path);

0 commit comments

Comments
 (0)