diff --git a/firebase.json b/firebase.json index be0f1311f6..6543ec8091 100644 --- a/firebase.json +++ b/firebase.json @@ -210,11 +210,12 @@ { "source": "/googleapis", "destination": "https://github.com/dart-lang/googleapis", "type": 301 }, { "source": "/guides/get-started", "destination": "/overview", "type": 301 }, { "source": "/guides/google-apis", "destination": "/resources/google-apis", "type": 301 }, + { "source": "/guides/language", "destination": "/language", "type": 301 }, { "source": "/guides/language/analysis-options", "destination": "/tools/analysis", "type": 301 }, { "source": "/guides/language/cheatsheet", "destination": "/language", "type": 301 }, { "source": "/guides/language/coming-from/js-to-dart", "destination": "/resources/coming-from/js-to-dart", "type": 301 }, { "source": "/guides/language/coming-from/swift-to-dart", "destination": "/resources/coming-from/swift-to-dart", "type": 301 }, - { "source": "/guides/language/common-prob", "destination": "/guides/language/sound-problems", "type": 301 }, + { "source": "/guides/language/common-prob", "destination": "/deprecated/sound-problems", "type": 301 }, { "source": "/guides/language/concurrency", "destination": "/language/concurrency", "type": 301 }, { "source": "/guides/language/effective-dart", "destination": "/effective-dart", "type": 301 }, { "source": "/guides/language/effective-dart/:page*", "destination": "/effective-dart/:page*", "type": 301 }, @@ -226,10 +227,12 @@ { "source": "/guides/language/numbers", "destination": "/resources/language/number-representation", "type": 301 }, { "source": "/guides/language/sound-dart", "destination": "/language/type-system", "type": 301 }, { "source": "/guides/language/sound-faq", "destination": "/language/type-system", "type": 301 }, + { "source": "/guides/language/sound-problems", "destination": "/deprecated/sound-problems", "type": 301 }, { "source": "/guides/language/spec", "destination": "/resources/language/spec", "type": 301 }, { "source": "/guides/language/specifications", "destination": "/resources/language/spec", "type": 301 }, { "source": "/guides/language/specifications/:page*", "destination": "/resources/language/spec/versions/:page*", "type": 301 }, { "source": "/guides/language/type-system", "destination": "/language/type-system", "type": 301 }, + { "source": "/guides/language/**", "destination": "/language", "type": 301 }, { "source": "/guides/libraries", "destination": "/libraries", "type": 301 }, { "source": "/guides/libraries/create-library-packages", "destination": "/tools/pub/create-packages", "type": 301 }, { "source": "/guides/libraries/create-packages", "destination": "/tools/pub/create-packages", "type": 301 }, @@ -263,7 +266,7 @@ { "source": "/keyword/class", "destination": "/language/classes#instance-variables", "type": 301 }, { "source": "/keyword/const", "destination": "/language/variables#final-and-const", "type": 301 }, { "source": "/keyword/continue", "destination": "/language/loops#break-and-continue", "type": 301 }, - { "source": "/keyword/covariant", "destination": "/guides/language/sound-problems#the-covariant-keyword", "type": 301 }, + { "source": "/keyword/covariant", "destination": "/deprecated/sound-problems#the-covariant-keyword", "type": 301 }, { "source": "/keyword/default", "destination": "/language/branches#switch", "type": 301 }, { "source": "/keyword/deferred", "destination": "/language/libraries#lazily-loading-a-library", "type": 301 }, { "source": "/keyword/do", "destination": "/language/loops#while-and-do-while", "type": 301 }, diff --git a/src/_data/glossary.yml b/src/_data/glossary.yml index b2dfc3256c..8a0bced844 100644 --- a/src/_data/glossary.yml +++ b/src/_data/glossary.yml @@ -614,7 +614,7 @@ - text: "Covariance and contravariance" link: "https://en.wikipedia.org/wiki/Covariance_and_contravariance_(computer_science)" - text: "The covariant keyword" - link: "/guides/language/sound-problems#the-covariant-keyword" + link: "/deprecated/sound-problems#the-covariant-keyword" labels: - "language" - "type system" diff --git a/src/_data/keywords.yml b/src/_data/keywords.yml index 495b7ac181..8dd174964b 100644 --- a/src/_data/keywords.yml +++ b/src/_data/keywords.yml @@ -35,7 +35,7 @@ link: /language/loops#break-and-continue type: reserved - term: 'covariant' - link: /guides/language/sound-problems#the-covariant-keyword + link: /deprecated/sound-problems#the-covariant-keyword type: bit - term: 'default' link: /language/branches#switch diff --git a/src/_data/side-nav.yml b/src/_data/side-nav.yml index 75272472b0..05d8507dfc 100644 --- a/src/_data/side-nav.yml +++ b/src/_data/side-nav.yml @@ -327,7 +327,7 @@ - title: Customizing static analysis permalink: /tools/analysis - title: Fixing common type problems - permalink: /guides/language/sound-problems + permalink: /deprecated/sound-problems - title: Fixing type promotion failures permalink: /tools/non-promotion-reasons - title: Linter rules diff --git a/src/_includes/navigation-main.html b/src/_includes/navigation-main.html index a3e8e56484..2427980d40 100644 --- a/src/_includes/navigation-main.html +++ b/src/_includes/navigation-main.html @@ -15,7 +15,7 @@
A walk through all of the major features of the Dart language.
-A set of guides on how to write the best Dart code - possible. Guidelines cover style, documentation, usage, - and design.
-