Skip to content

Commit

Permalink
refactor(aio): move /guide/docs.md to /marketing/docs.md
Browse files Browse the repository at this point in the history
Because:
1. `docs` feels like a "top level" page, similar to `features`, `resources`, `events` etc.
2. This enables the ServiceWorker to pre-fetch/cache the document (similar to what happens with all
   other direct children of `content/docs/`), without the need for special-casing it in
   `ngsw-manifest.json`.
  • Loading branch information
gkalpak authored and petebacondarwin committed Apr 27, 2017
1 parent 749bcf3 commit cd5b1f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions aio/content/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Features"
},
{
"url": "guide/docs",
"url": "docs",
"title": "Docs",
"hidden": true
},
Expand All @@ -21,7 +21,7 @@

"SideNav": [
{
"url": "guide/docs",
"url": "docs",
"title": "Docs",
"tooltip": "Angular Documentation",
"hidden": true
Expand Down
6 changes: 3 additions & 3 deletions aio/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
{"type": 301, "source": "/docs/ts/latest/guide/style-guide.html", "destination": "/guide/styleguide"},

// cookbook, cookbook/, cookbook/index.html
{"type": 301, "source": "/docs/ts/latest/cookbook", "destination": "/guide/docs"},
{"type": 301, "source": "/docs/ts/latest/cookbook/", "destination": "/guide/docs"},
{"type": 301, "source": "/docs/ts/latest/cookbook/index.html", "destination": "/guide/docs"},
{"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"},
Expand Down

0 comments on commit cd5b1f3

Please sign in to comment.