From cd5b1f306a930745ac76eaec56cffb0191db44c4 Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Wed, 26 Apr 2017 15:26:56 +0300 Subject: [PATCH] refactor(aio): move `/guide/docs.md` to `/marketing/docs.md` 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`. --- aio/content/{guide => marketing}/docs.md | 0 aio/content/navigation.json | 4 ++-- aio/firebase.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename aio/content/{guide => marketing}/docs.md (100%) diff --git a/aio/content/guide/docs.md b/aio/content/marketing/docs.md similarity index 100% rename from aio/content/guide/docs.md rename to aio/content/marketing/docs.md diff --git a/aio/content/navigation.json b/aio/content/navigation.json index 522a2d9fe4..cc945d0870 100644 --- a/aio/content/navigation.json +++ b/aio/content/navigation.json @@ -5,7 +5,7 @@ "title": "Features" }, { - "url": "guide/docs", + "url": "docs", "title": "Docs", "hidden": true }, @@ -21,7 +21,7 @@ "SideNav": [ { - "url": "guide/docs", + "url": "docs", "title": "Docs", "tooltip": "Angular Documentation", "hidden": true diff --git a/aio/firebase.json b/aio/firebase.json index cb39a06f0f..6677c012f2 100644 --- a/aio/firebase.json +++ b/aio/firebase.json @@ -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"},