Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 98e5d4a

Browse files
chalinwardbell
authored andcommitted
docs(all): link cleanup - broken and outdated
closes #1841 Fixes all broken links except genuine errors (see #1840), have been resolved as of 2016-07-06 (angular/angular@2708ce6a17667a2369c83bcf244c9 366b058d4c9). Fixes #1574
1 parent 5104470 commit 98e5d4a

20 files changed

+27
-23
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!= partial("../../../_includes/_ts-temp")

public/docs/dart/latest/guide/component-styles.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ block css-import-url
1919
.alert.is-important
2020
:marked
2121
URLs are currently not interpreted in this way, see
22-
[issue 8518](href="https://github.com/angular/angular/issues/8518").
22+
[issue 8518](https://github.com/angular/angular/issues/8518).
2323
Until this issue is fixed, absolute package-reference style URLs must
2424
be given as is illustrated below.
2525

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!= partial("../../../_includes/_ts-temp")

public/docs/dart/latest/guide/forms.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ figure.image-display
517517
Recall from the previous section that `ngControl` registered this input box with the
518518
`NgForm` directive as "name".
519519

520-
We didn't add the **[`NgForm`](../api/common/NgForm-directive.html) directive*
520+
We didn't add the **[`NgForm`](../api/common/index/NgForm-directive.html) directive*
521521
explicitly. Angular added it surreptitiously, wrapping it around the `<form>` element.
522522

523523
The `NgForm` directive supplements the `<form>` element with additional features.

public/docs/dart/latest/guide/server-communication.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ block http-providers
3333
block getheroes-and-addhero
3434
:marked
3535
The hero service `getHeroes()` and `addHero()` asynchronous methods return the
36-
[`Future`](https://api.dartlang.org/stable/1.16.0/dart-async/Future-class.html)
36+
[`Future`](https://api.dartlang.org/stable/dart-async/Future-class.html)
3737
values of the current hero list and the newly added hero,
3838
respectively. The hero list component methods of the same name specifying
3939
the actions to be taken when the asynchronous method calls succeed or fail.

public/docs/dart/latest/guide/template-syntax.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ block includes
55
- var _JavaScript = 'Dart';
66
- var __chaining_op = '<code>;</code>';
77
- var __new_op = '<code>new</code> or <code>const</code>';
8-
- var mapApiRef = 'https://api.dartlang.org/stable/1.16.0/dart-core/Map-class.html';
8+
- var mapApiRef = 'https://api.dartlang.org/stable/dart-core/Map-class.html';
99
- var __objectAsMap = '<b><a href="' + mapApiRef + '">Map</a></b>'
1010

1111
block notable-differences
@@ -69,7 +69,7 @@ block style-property-name-dart-diff
6969
and `setProperty()`. Hence, we recommend only using dash-case for style
7070
property names.
7171

72-
[CssSD]: https://api.dartlang.org/stable/1.16.1/dart-html/CssStyleDeclaration-class.html
72+
[CssSD]: https://api.dartlang.org/stable/dart-html/CssStyleDeclaration-class.html
7373

7474

7575
block dart-no-truthy-falsey

public/docs/dart/latest/quickstart.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ block setup-tooling
1717
You can also download [Dart plugins for other IDEs and editors][DT].
1818

1919
[WS]: https://confluence.jetbrains.com/display/WI/Getting+started+with+Dart
20-
[DT]: https://www.dartlang.org/tools
21-
[pub]: https://www.dartlang.org/tools/pub
20+
[DT]: https://www.dartlang.org/tools/
21+
[pub]: https://www.dartlang.org/tools/pub/
2222

2323
block download-source
2424
// exclude this section from Dart

public/docs/dart/latest/tutorial/toh-pt5.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ code-example(format='').
439439
:marked
440440
Going back too far could take us out of the application.
441441
That's acceptable in a demo. We'd guard against it in a real application,
442-
perhaps with the [*routerCanDeactivate* hook](../api/router/CanDeactivate-interface.html).
442+
perhaps with the [*routerCanDeactivate* hook](../api/router/index/CanDeactivate-interface.html).
443443
:marked
444444
Then we wire this method with an event binding to a *Back* button that we add to the bottom of the component template.
445445
+makeExample('toh-5/dart/lib/hero_detail_component.html', 'back-button')(format=".")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!= partial("../../../_includes/_ts-temp")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!= partial("../../../_includes/_ts-temp")

public/docs/js/latest/guide/forms-deprecated.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ figure.image-display
493493
:marked
494494
### The NgForm directive
495495
We just set a template local variable with the value of an `NgForm` directive.
496-
Why did that work? We didn't add the **[`NgForm`](../api/common/NgForm-directive.html) directive** explicitly.
496+
Why did that work? We didn't add the **[`NgForm`](../api/common/index/NgForm-directive.html) directive** explicitly.
497497

498498
Angular added it surreptitiously, wrapping it around the `<form>` element
499499

public/docs/js/latest/guide/forms.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ figure.image-display
491491
.l-sub-section
492492
:marked
493493
Why "ngModel"?
494-
A directive's [exportAs](../api/core/DirectiveMetadata-class.html#!#exportAs) property
494+
A directive's [exportAs](../api/core/index/DirectiveMetadata-class.html#!#exportAs) property
495495
tells Angular how to link the reference variable to the directive.
496496
We set `name` to `ngModel` because the `ngModel` directive's `exportAs` property happens to be "ngModel".
497497

@@ -503,7 +503,7 @@ figure.image-display
503503
:marked
504504
### The NgForm directive
505505
We just set a template local variable with the value of an `NgForm` directive.
506-
Why did that work? We didn't add the **[`NgForm`](../api/common/NgForm-directive.html) directive** explicitly.
506+
Why did that work? We didn't add the **[`NgForm`](../api/common/index/NgForm-directive.html) directive** explicitly.
507507

508508
Angular added it surreptitiously, wrapping it around the `<form>` element
509509

public/docs/ts/latest/cookbook/set-document-title.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ code-example(format='')
3434
:marked
3535
## Use the *Title* service
3636
Fortunately, Angular 2 bridges the gap by providing a `Title` service as part of the *Browser platform*.
37-
The [Title](../api/platform/browser/Title-class.html) service is a simple class that provides an API
37+
The [Title](../api/platform-browser/index/Title-class.html) service is a simple class that provides an API
3838
for getting and setting the current HTML document title:
3939

4040
* `getTitle() : string` &mdash; Gets the title of the current HTML document.

public/docs/ts/latest/guide/dependency-injection.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ code-example(format="nocode").
525525
</span>
526526
<span if-docs="dart">
527527
that creates a new instance of the
528-
[Provider](../api/core/Provider-class.html) class:
528+
[Provider](../api/core/index/Provider-class.html) class:
529529
</span>
530530

531531
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-3')

public/docs/ts/latest/guide/forms-deprecated.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ figure.image-display
380380
We'll talk about `NgForm` [later in the chapter](#ngForm).
381381

382382
The `ngControl` *attribute* in our template actually maps to the
383-
[NgControlName](../api/common/NgControlName-directive.html) directive.
383+
[NgControlName](../api/common/index/NgControlName-directive.html) directive.
384384
There is also a `NgControl` *abstract* directive which is *not the same thing*.
385385
We often ignore this technical distinction and refer to `NgControlName` more conveniently (albeit incorrectly) as the *NgControl* directive.
386386

@@ -483,7 +483,7 @@ figure.image-display
483483
.l-sub-section
484484
:marked
485485
Why "ngForm"?
486-
A directive's [exportAs](../api/core/DirectiveMetadata-class.html#!#exportAs) property
486+
A directive's [exportAs](../api/core/index/DirectiveMetadata-class.html#!#exportAs) property
487487
tells Angular how to link the reference variable to the directive.
488488
We set `name` to `ngForm` because the `NgControlName` directive's `exportAs` property happens to be "ngForm".
489489

@@ -589,7 +589,7 @@ figure.image-display
589589
.l-sub-section
590590
:marked
591591
### The NgForm directive
592-
What `NgForm` directive? We didn't add an [NgForm](../api/common/NgForm-directive.html) directive!
592+
What `NgForm` directive? We didn't add an [NgForm](../api/common/index/NgForm-directive.html) directive!
593593

594594
Angular did. Angular creates and attaches an `NgForm` directive to the `<form>` tag automatically.
595595

public/docs/ts/latest/guide/forms.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ figure.image-display
593593
.l-sub-section
594594
:marked
595595
### The NgForm directive
596-
What `NgForm` directive? We didn't add an [NgForm](../api/common/NgForm-directive.html) directive!
596+
What `NgForm` directive? We didn't add an [NgForm](../api/common/index/NgForm-directive.html) directive!
597597

598598
Angular did. Angular creates and attaches an `NgForm` directive to the `<form>` tag automatically.
599599

public/docs/ts/latest/guide/pipes.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ block includes
3636

3737
:marked
3838
Inside the interpolation expression we flow the component's `birthday` value through the
39-
[pipe operator](./template-syntax.html#pipe) ( | ) to the [Date pipe](../api/common/DatePipe-class.html)
39+
[pipe operator](./template-syntax.html#pipe) ( | ) to the [Date pipe](../api/common/index/DatePipe-class.html)
4040
function on the right. All pipes work this way.
4141

4242
.l-main-section
@@ -95,7 +95,7 @@ figure.image-display
9595

9696
.l-sub-section
9797
:marked
98-
Learn more about the `DatePipes` format options in the [API Docs](../api/common/DatePipe-class.html).
98+
Learn more about the `DatePipes` format options in the [API Docs](../api/common/index/DatePipe-class.html).
9999

100100
:marked
101101
## Chaining pipes
@@ -395,7 +395,7 @@ figure.image-display
395395
.callout.is-helpful
396396
header Debugging with the json pipe
397397
:marked
398-
The [JsonPipe](../api/common/JsonPipe-class.html)
398+
The [JsonPipe](../api/common/index/JsonPipe-class.html)
399399
provides an easy way to diagnosis a mysteriously failing data binding or
400400
inspect an object for future binding.
401401

public/docs/ts/latest/guide/router-deprecated.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ code-example(format=".", language="bash").
14651465

14661466
.l-sub-section
14671467
:marked
1468-
Learn about the [APP_BASE_HREF](../api/router/APP_BASE_HREF-let.html)
1468+
Learn about the [APP_BASE_HREF](../api/router-deprecated/index/APP_BASE_HREF-let.html)
14691469
in the API Guide.
14701470
:marked
14711471
### *HashLocationStrategy*

public/docs/ts/latest/guide/server-communication.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ code-example(format="." language="javascript").
392392

393393
+ifDocsFor('ts')
394394
:marked
395-
[Headers](../api/http/Headers-class.html) are one of the [RequestOptions](../api/http/RequestOptions-class.html).
395+
[Headers](../api/http/index/Headers-class.html) are one of the [RequestOptions](../api/http/index/RequestOptions-class.html).
396396
Compose the options object and pass it in as the *third* parameter of the `post` method, as shown above.
397397

398398
:marked

public/docs/ts/latest/guide/style-guide.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ a(id='toc')
6363
:marked
6464
## Single Responsibility
6565

66-
We apply the [Single Responsibility Principle](https:\/\/en.wikipedia.org/wiki/Single_responsibility_principle) to all Components, Services, and other symbols we create. This helps make our app cleaner, easier to read and maintain, and more testable.
66+
We apply the [Single Responsibility Principle](https://wikipedia.org/wiki/Single_responsibility_principle) to all Components, Services, and other symbols we create. This helps make our app cleaner, easier to read and maintain, and more testable.
6767

6868
### <a id="01-01"></a>Rule of One
6969
#### <a href="#01-01">Style 01-01</a>

0 commit comments

Comments
 (0)