chore(dart): redirect to webdev/angular

This commit is contained in:
Patrice Chalin 2016-12-02 12:21:14 -08:00 committed by Naomi Black
parent b4e6fdd4e3
commit 860861c53a
1 changed files with 43 additions and 8 deletions

View File

@ -1,15 +1,54 @@
{
"hosting": {
"public": "www",
"rewrites": [
"redirects": [
{
"source": "/docs/dart/latest/testing",
"destination": "/docs/dart/latest/guide/testing.html"
"source": "/docs/dart/latest/quickstart.html",
"destination": "https://webdev.dartlang.org/angular/quickstart?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/docs/dart/latest/tutorial/toh-pt5.html",
"destination": "https://webdev.dartlang.org/angular/tutorial/toh-pt5?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/docs/dart/latest/tutorial",
"destination": "/docs/dart/latest/index.html"
"destination": "https://webdev.dartlang.org/angular/tutorial?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/docs/dart/latest/tutorial/**",
"destination": "https://webdev.dartlang.org/angular/tutorial?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/docs/dart/latest/api",
"destination": "https://webdev.dartlang.org/angular/api?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/docs/dart/latest/api/**",
"destination": "https://webdev.dartlang.org/angular/api?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/docs/dart/latest/guide/**",
"destination": "https://webdev.dartlang.org/angular/guide?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/**/dart",
"destination": "https://webdev.dartlang.org/angular?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
},
{
"source": "/**/dart/**",
"destination": "https://webdev.dartlang.org/angular?utm_campaign=dart_migration&utm_medium=redirect&utm_source=angular.io",
"type": 301
}
],
"rewrites": [
{
"source": "/docs/js/latest/testing",
"destination": "/docs/js/latest/guide/testing.html"
@ -58,10 +97,6 @@
"source": "/survey",
"destination": "/survey.html"
},
{
"source": "/dart",
"destination": "/docs/dart/latest/index.html"
},
{
"source": "/styleguide",
"destination": "/docs/ts/latest/guide/style-guide.html"