From 2f115a342522c59c93286af71d72795a01b793d4 Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Wed, 1 Jun 2016 00:51:10 -0700 Subject: [PATCH] chore: fix broken devguide links as of May 31 Did not fix broken Dart and API links --- public/contribute.jade | 2 +- .../{dynamic-forms.jade => dynamic-form.jade} | 0 public/docs/dart/latest/tutorial/_data.json | 5 +++ public/docs/dart/latest/tutorial/toh-pt6.jade | 1 + public/docs/js/latest/tutorial/_data.json | 5 +++ public/docs/js/latest/tutorial/toh-pt6.jade | 1 + public/docs/ts/latest/glossary.jade | 43 +++++++++---------- public/docs/ts/latest/guide/npm-packages.jade | 3 +- public/docs/ts/latest/tutorial/toh-pt5.jade | 2 +- 9 files changed, 36 insertions(+), 26 deletions(-) rename public/docs/dart/latest/cookbook/{dynamic-forms.jade => dynamic-form.jade} (100%) create mode 100644 public/docs/dart/latest/tutorial/toh-pt6.jade create mode 100644 public/docs/js/latest/tutorial/toh-pt6.jade diff --git a/public/contribute.jade b/public/contribute.jade index 3e439abfcb..451269dd40 100644 --- a/public/contribute.jade +++ b/public/contribute.jade @@ -23,7 +23,7 @@ p Our goal is to deliver a lean, lightweight set of Angular-based UI elements that implement the material design specification for use in Angular single-page applications (SPAs). - a(href="https://github.com/angular/material/blob/master/CONTRIBUTING.md" class="button" md-button) Contribute to Angular Material + a(href="https://github.com/angular/material/blob/master/.github/CONTRIBUTING.md" class="button" md-button) Contribute to Angular Material .l-sub-section h3 AngularFire diff --git a/public/docs/dart/latest/cookbook/dynamic-forms.jade b/public/docs/dart/latest/cookbook/dynamic-form.jade similarity index 100% rename from public/docs/dart/latest/cookbook/dynamic-forms.jade rename to public/docs/dart/latest/cookbook/dynamic-form.jade diff --git a/public/docs/dart/latest/tutorial/_data.json b/public/docs/dart/latest/tutorial/_data.json index fd9b910d46..b292070557 100644 --- a/public/docs/dart/latest/tutorial/_data.json +++ b/public/docs/dart/latest/tutorial/_data.json @@ -29,5 +29,10 @@ "title": "Routing", "intro": "We add the Angular Component Router and learn to navigate among the views", "nextable": true + }, + "toh-pt6": { + "title": "Http", + "intro": "We convert our service and components to use Http", + "nextable": true } } diff --git a/public/docs/dart/latest/tutorial/toh-pt6.jade b/public/docs/dart/latest/tutorial/toh-pt6.jade new file mode 100644 index 0000000000..6778b6af28 --- /dev/null +++ b/public/docs/dart/latest/tutorial/toh-pt6.jade @@ -0,0 +1 @@ +!= partial("../../../_includes/_ts-temp") diff --git a/public/docs/js/latest/tutorial/_data.json b/public/docs/js/latest/tutorial/_data.json index bf52bf1c4e..0e5cc1661d 100644 --- a/public/docs/js/latest/tutorial/_data.json +++ b/public/docs/js/latest/tutorial/_data.json @@ -29,5 +29,10 @@ "title": "Routing", "intro": "We add the Angular Component Router and learn to navigate among the views", "nextable": true + }, + "toh-pt6": { + "title": "Http", + "intro": "We convert our service and components to use Http", + "nextable": true } } diff --git a/public/docs/js/latest/tutorial/toh-pt6.jade b/public/docs/js/latest/tutorial/toh-pt6.jade new file mode 100644 index 0000000000..6778b6af28 --- /dev/null +++ b/public/docs/js/latest/tutorial/toh-pt6.jade @@ -0,0 +1 @@ +!= partial("../../../_includes/_ts-temp") diff --git a/public/docs/ts/latest/glossary.jade b/public/docs/ts/latest/glossary.jade index 6a10b6ebf1..0aa98fcf49 100644 --- a/public/docs/ts/latest/glossary.jade +++ b/public/docs/ts/latest/glossary.jade @@ -176,16 +176,16 @@ include _util-fns operations and supporting declaration syntax. The many forms of binding include: - * [Interpolation](guide/template-syntax.html#interpolation) - * [Property Binding](guide/template-syntax.html#property-binding) - * [Event Binding](guide/template-syntax.html#event-binding) - * [Attribute Binding](guide/template-syntax.html#attribute-binding) - * [Class Binding](guide/template-syntax.html#class-binding) - * [Style Binding](guide/template-syntax.html#style-binding) - * [Two-way data binding with ngModel](guide/template-syntax.html#ng-model) + * [Interpolation](/docs/ts/latest/guide/template-syntax.html#interpolation) + * [Property Binding](/docs/ts/latest/guide/template-syntax.html#property-binding) + * [Event Binding](/docs/ts/latest/guide/template-syntax.html#event-binding) + * [Attribute Binding](/docs/ts/latest/guide/template-syntax.html#attribute-binding) + * [Class Binding](/docs/ts/latest/guide/template-syntax.html#class-binding) + * [Style Binding](/docs/ts/latest/guide/template-syntax.html#style-binding) + * [Two-way data binding with ngModel](/docs/ts/latest/guide/template-syntax.html#ng-model) Learn more about data binding in the - [Template Syntax](guide/template-syntax.html#data-binding) chapter. + [Template Syntax](/docs/ts/latest/guide/template-syntax.html#data-binding) chapter. // #enddocregion d1 @@ -275,7 +275,7 @@ include _util-fns is when we [bootstrap](#bootstrap) the application. There are other opportunities to register as well. - Learn more in the [Dependency Injection](guide/dependency-injection.html) chapter. + Learn more in the [Dependency Injection](/docs/ts/latest/guide/dependency-injection.html) chapter. :marked ## Directive .l-sub-section @@ -376,11 +376,11 @@ include _util-fns .l-sub-section :marked A directive property that can be the ***target*** of a - [Property Binding](guide/template-syntax.html#property-binding). + [Property Binding](/docs/ts/latest/guide/template-syntax.html#property-binding). Data values flow *into* this property from the data source identified in the template expression to the right of the equal sign. - See the [Template Syntax](guide/template-syntax.html#inputs-outputs) chapter. + See the [Template Syntax](/docs/ts/latest/guide/template-syntax.html#inputs-outputs) chapter. :marked ## Interpolation @@ -397,7 +397,7 @@ include _util-fns :marked Learn more about interpolation in the - [Template Syntax](guide/template-syntax.html#interpolation) chapter. + [Template Syntax](/docs/ts/latest/guide/template-syntax.html#interpolation) chapter. @@ -439,7 +439,7 @@ include _util-fns * `ngAfterViewChecked` - after every check of a component's view(s) * `ngOnDestroy` - just before the directive is destroyed. - Learn more in the [Lifecycle Hooks](guide/lifecycle-hooks.html) chapter. + Learn more in the [Lifecycle Hooks](/docs/ts/latest/guide/lifecycle-hooks.html) chapter. // #enddocregion f-l // #docregion m1 @@ -472,7 +472,7 @@ include _util-fns Application developers may pick any module library that conforms to the standard Modules are typically named after the file in which the exported thing is defined. - The Angular [DatePipe](https://github.com/angular/angular/blob/master/modules/angular2/src/common/pipes/date_pipe.ts) + The Angular [DatePipe](https://github.com/angular/angular/blob/master/modules/@angular/common/src/pipes/date_pipe.ts) class belongs to a feature module named `date_pipe` in the file `date_pipe.ts`. Developers rarely access Angular feature modules directly. @@ -492,11 +492,11 @@ include _util-fns .l-sub-section :marked A directive property that can be the ***target*** of an - [Event Binding](guide/template-syntax.html#property-binding). + [Event Binding](/docs/ts/latest/guide/template-syntax.html#property-binding). Events stream *out* of this property to the receiver identified in the template expression to the right of the equal sign. - See the [Template Syntax](guide/template-syntax.html#inputs-outputs) chapter. + See the [Template Syntax](/docs/ts/latest/guide/template-syntax.html#inputs-outputs) chapter. .l-main-section @@ -525,7 +525,7 @@ include _util-fns code-example(language="html" escape="html"). {{product.price | currency}} :marked - Learn more in the chapter on [pipes](guide/pipes.html) . + Learn more in the chapter on [pipes](/docs/ts/latest/guide/pipes.html) . :marked ## Provider @@ -552,7 +552,7 @@ include _util-fns and taking other similar actions that cause the application to replace one view with another. - The Angular [Component Router](guide/router.html) is a richly featured mechanism for configuring + The Angular [Component Router](/docs/ts/latest/guide/router.html) is a richly featured mechanism for configuring and managing the entire view navigation process including the creation and destruction of views. :marked @@ -609,7 +609,7 @@ include _util-fns the support and continuing guidance of an Angular [Directive](#directive), most notably a [Component](#component). - We write templates in a special [Template Syntax](guide/template-syntax.html). + We write templates in a special [Template Syntax](/docs/ts/latest/guide/template-syntax.html). :marked ## Template Expression @@ -617,7 +617,7 @@ include _util-fns :marked An expression in a JavaScript-like syntax that Angular evaluates within a [data binding](#data-binding). Learn how to write template expressions - in the [Template Syntax](guide/template-syntax.html#template-expressions) chapter. + in the [Template Syntax](/docs/ts/latest/guide/template-syntax.html#template-expressions) chapter. // #enddocregion t1 // #docregion t2 @@ -683,8 +683,7 @@ include _util-fns The browser DOM and JavaScript have a limited number of asynchronous activities, activities such as DOM events (e.g., clicks), - [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ - Promise), and + [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), and [XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) calls to remote servers. diff --git a/public/docs/ts/latest/guide/npm-packages.jade b/public/docs/ts/latest/guide/npm-packages.jade index 063b1aeaba..281b17511a 100644 --- a/public/docs/ts/latest/guide/npm-packages.jade +++ b/public/docs/ts/latest/guide/npm-packages.jade @@ -172,8 +172,7 @@ a(id="why-peer-dependencies") We don't have a *peerDependencies* section in the QuickStart `package.json`. But Angular itself has a *peerDependencies* section in - [*its* package.json](https://github.com/angular/angular/blob/master/modules/angular2/package.json) - and that has important consequences for our application. + *its* package.json and that has important consequences for our application. It explains why we load the [polyfill](#polyfills) *dependency* packages in the QuickStart `package.json`, and why we'll need those packages in our own applications. diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index 113c2f94db..79d61f7211 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -284,7 +284,7 @@ code-example(format="." language="bash"). :marked We specify the path _all the way back to the application root_ — `app/` in this case — because Angular doesn't support relative paths _by default_. - We _can_ switch to [component-relative paths](../cookbook/component-relative-paths) if we prefer. + We _can_ switch to [component-relative paths](../cookbook/component-relative-paths.html) if we prefer. :marked Create that file with these contents: +makeExample('toh-5/ts/app/dashboard.component.html', null, 'dashboard.component.html')(format=".")