https://github.com/angular/angular
Raw File
Tip revision: b69f0faee65e4a05950a6be76a09b53aa21109f3 authored by Jason Aden on 08 July 2017, 04:48:49 UTC
docs: add changelog for 4.2.6
Tip revision: b69f0fa
firebase.json
{
  "database": {
    "rules": "database.rules.json"
  },
  "hosting": {
    "public": "dist",
    "cleanUrls": true,
    "redirects": [
      // cli-quickstart.html glossary.html, quickstart.html, http.html, style-guide.html, styleguide
      {"type": 301, "source": "/docs/ts/latest/cli-quickstart.html",             "destination": "/guide/cli-quickstart"},
      {"type": 301, "source": "/docs/ts/latest/glossary.html",                   "destination": "/guide/glossary"},
      {"type": 301, "source": "/docs/ts/latest/quickstart.html",                 "destination": "/guide/quickstart"},
      {"type": 301, "source": "/docs/ts/latest/guide/server-communication.html", "destination": "/guide/http"},
      {"type": 301, "source": "/docs/ts/latest/guide/style-guide.html",          "destination": "/guide/styleguide"},
      {"type": 301, "source": "/styleguide",                                     "destination": "/guide/styleguide"},

      // cookbook/component-communication.html
      {"type": 301, "source": "/docs/ts/latest/cookbook/component-communication.html", "destination": "/guide/component-interaction"},

      // cookbook, cookbook/, cookbook/index.html
      {"type": 301, "source": "/docs/ts/latest/cookbook",            "destination": "/docs"},
      {"type": 301, "source": "/docs/ts/latest/cookbook/",           "destination": "/docs"},
      {"type": 301, "source": "/docs/ts/latest/cookbook/index.html", "destination": "/docs"},

      // cookbook/dependency-injection.html
      {"type": 301, "source": "/docs/ts/latest/cookbook/dependency-injection.html", "destination": "/guide/dependency-injection-in-action"},

      // cookbook/*.html
      {"type": 301, "source": "/docs/ts/latest/cookbook/:cookbook.html", "destination": "/guide/:cookbook"},

      // docs/ts/latest/api/*/index/*-type.html
      {"type": 301, "source": "/docs/ts/latest/api/:package/index/:api-*.html", "destination": "/api/:package/:api"},

      // docs/ts/latest
      {"type": 301, "source": "/docs/ts/latest", "destination": "/docs"},

      // guide/*, tutorial/*, **/*
      {"type": 301, "source": "/docs/ts/latest/:any*", "destination": "/:any*"}
    ],
    "rewrites": [
      {
        "source": "**/!(*.*)",
        "destination": "/index.html"
      }
    ]
  }
}
back to top