From 062fc4afee1eb2dd525aa273f6ec4214c5adde65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Rodr=C3=ADguez?= Date: Fri, 21 Apr 2017 19:10:19 +0200 Subject: [PATCH] docs(aio): change hardcoded links to the old site (#16196) --- aio/content/guide/aot-compiler.md | 10 ++++------ aio/content/guide/deployment.md | 2 +- aio/content/guide/http.md | 2 +- aio/content/guide/setup.md | 4 ++-- aio/content/tutorial/toh-pt5.md | 2 +- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/aio/content/guide/aot-compiler.md b/aio/content/guide/aot-compiler.md index 64e892e3ea..6150b686e3 100644 --- a/aio/content/guide/aot-compiler.md +++ b/aio/content/guide/aot-compiler.md @@ -535,11 +535,9 @@ Rollup does the tree shaking as before. The general audience instructions for running the AOT build of the Tour of Heroes app are not ready. - The following instructions presuppose that you have cloned the - angular.io - github repository and prepared it for development as explained in the repo's README.md. - - The _Tour of Heroes_ source code is in the `public/docs/_examples/toh-6/ts` folder. + The following instructions presuppose that you have downloaded the + Tour of Heroes' zip + and run `npm install` on it. @@ -607,4 +605,4 @@ Here's the map for _Tour of Heroes_.
TOH-6-bundle
- \ No newline at end of file + diff --git a/aio/content/guide/deployment.md b/aio/content/guide/deployment.md index 00147bfdd8..1a15e3289c 100644 --- a/aio/content/guide/deployment.md +++ b/aio/content/guide/deployment.md @@ -370,7 +370,7 @@ Angular configuration can make the difference between whether the app launches q ### The `base` tag -The HTML [_<base href="..."/>_](https://angular.io/docs/ts/latest/guide/router.html#!) +The HTML [_<base href="..."/>_](/guide/router) specifies a base path for resolving relative URLs to assets such as images, scripts, and style sheets. For example, given the ``, the browser resolves a URL such as `some/place/foo.jpg` into a server request for `my/app/some/place/foo.jpg`. diff --git a/aio/content/guide/http.md b/aio/content/guide/http.md index b633eefb8b..0c606abda0 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -1008,7 +1008,7 @@ See the [XSRF topic on the Security page](guide/security#xsrf) for more informat ## Override default request headers (and other request options) Request options (such as headers) are merged into the -[default _RequestOptions_](https://angular.io/docs/ts/latest/api/http/index/BaseRequestOptions-class.html "API: BaseRequestOptions") +[default _RequestOptions_](/api/http/BaseRequestOptions "API: BaseRequestOptions") before the request is processed. The `HttpModule` provides these default options via the `RequestOptions` token. diff --git a/aio/content/guide/setup.md b/aio/content/guide/setup.md index 38b0fc1584..7875f5a93a 100644 --- a/aio/content/guide/setup.md +++ b/aio/content/guide/setup.md @@ -361,7 +361,7 @@ As much fun as this is ... Use the live coding environment as a _playground_, a place to try the documentation samples and experiment on your own. It's the perfect place to reproduce a bug when you want to -file a documentation issue or -file an issue with Angular itself. +file a documentation issue or +file an issue with Angular itself. For real development, we strongly recommend [developing locally](guide/setup#develop-locally). diff --git a/aio/content/tutorial/toh-pt5.md b/aio/content/tutorial/toh-pt5.md index 9ff4c57883..8461115c89 100644 --- a/aio/content/tutorial/toh-pt5.md +++ b/aio/content/tutorial/toh-pt5.md @@ -1207,7 +1207,7 @@ Here's an excerpt: Create the file styles.css. -Ensure that the file contains the [master styles provided here](https://raw.githubusercontent.com/angular/angular.io/master/public/docs/_examples/_boilerplate/src/styles.css). +Ensure that the file contains the [master styles provided here](https://raw.githubusercontent.com/angular/angular/master/aio/tools/examples/shared/boilerplate/src/styles.css). Also edit index.html to refer to this stylesheet.