Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 91138a5

Browse files
committed
docs(*): fix dangling links
Fix many dangling links
1 parent b119251 commit 91138a5

File tree

11 files changed

+20
-20
lines changed

11 files changed

+20
-20
lines changed

docs/content/error/$injector/strictdi.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ angular.module("myApp", [])
5151
```
5252

5353
For more information about strict-di mode, see {@link ng.directive:ngApp ngApp}
54-
and {@link api/angular.bootstrap angular.bootstrap}.
54+
and {@link api/ng/function/angular.bootstrap angular.bootstrap}.

docs/content/error/$location/nobase.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@description
55

66
If you configure {@link ng.$location `$location`} to use
7-
{@link api/ng.provider.$locationProvider `html5Mode`} (`history.pushState`), you need to specify the base URL for the application with a [`<base href="">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) tag or configure
7+
{@link api/ng/provider/$locationProvider `html5Mode`} (`history.pushState`), you need to specify the base URL for the application with a [`<base href="">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) tag or configure
88
`$locationProvider` to not require a base tag by passing a definition object with
99
`requireBase:false` to `$locationProvider.html5Mode()`:
1010

@@ -60,4 +60,4 @@ API](http://caniuse.com/#feat=history), the fallback mechanism provided by `$loc
6060
won't work well without specifying the base url of the application.
6161

6262
In order to make it easier to migrate from hashbang mode to html5 mode, we require that the base
63-
URL is always specified when `$location`'s `html5mode` is enabled.
63+
URL is always specified when `$location`'s `html5mode` is enabled.

docs/content/error/$sce/imatcher.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Invalid matcher (only string patterns and RegExp instances are supported)
44
@description
55

6-
Please see {@link ng.$sceDelegateProvider#resourceUrlWhitelist
6+
Please see {@link api/ng/provider/$sceDelegateProvider#resourceUrlWhitelist
77
$sceDelegateProvider.resourceUrlWhitelist} and {@link
8-
api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the
8+
api/ng/provider/$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the
99
list of acceptable items.

docs/content/error/$sce/iwcard.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName The sequence *** is not a valid pattern wildcard
44
@description
55

6-
The strings in {@link ng.$sceDelegateProvider#resourceUrlWhitelist
6+
The strings in {@link api/ng/provider/$sceDelegateProvider#resourceUrlWhitelist
77
$sceDelegateProvider.resourceUrlWhitelist} and {@link
8-
api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not
8+
api/ng/provider/$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not
99
contain the undefined sequence `***`. Only `*` and `**` wildcard patterns are defined.

docs/content/error/ng/cpi.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@description
55

66
This error occurs when attempting to copy an object to itself. Calling {@link
7-
api/angular.copy angular.copy} with a `destination` object deletes
7+
api/ng/function/angular.copy angular.copy} with a `destination` object deletes
88
all of the elements or properties on `destination` before copying to it. Copying
99
an object to itself is not supported. Make sure to check your calls to
1010
`angular.copy` and avoid copying objects or arrays to themselves.

docs/content/guide/css-styling.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Angular sets these CSS classes. It is up to your application to provide useful s
99
# CSS classes used by angular
1010

1111
* `ng-scope`
12-
- **Usage:** angular applies this class to any element for which a new {@link api/ng.$rootScope.Scope scope}
12+
- **Usage:** angular applies this class to any element for which a new {@link api/ng/service/$rootScope scope}
1313
is defined. (see {@link guide/scope scope} guide for more information about scopes)
1414

1515
* `ng-binding`

docs/content/guide/forms.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ However, if you need more flexibility, you can write your own form control as a
365365

366366
In order for custom control to work with `ngModel` and to achieve two-way data-binding it needs to:
367367

368-
- implement `$render` method, which is responsible for rendering the data after it passed the {@link api/ng.directive:ngModel.NgModelController#properties_$formatters NgModelController#$formatters},
368+
- implement `$render` method, which is responsible for rendering the data after it passed the {@link ngModel.NgModelController#properties_$formatters NgModelController#$formatters},
369369
- call `$setViewValue` method, whenever the user interacts with the control and model needs to be updated. This is usually done inside a DOM Event listener.
370370

371371
See {@link guide/directive $compileProvider.directive} for more info.

docs/content/guide/production.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Where the compiler has created a new scope, the scope and either `ng-scope` or `
2020
CSS class are attached to the corresponding element. These scope references can then be accessed via
2121
`element.scope()` and `element.isolateScope()`.
2222

23-
Tools like [Protractor](github.com/angular/protractor) and
23+
Tools like [Protractor](https://github.com/angular/protractor) and
2424
[Batarang](https://github.com/angular/angularjs-batarang) need this information to run,
2525
but you can disable this in production for a significant performance boost with:
2626

@@ -40,4 +40,4 @@ angular.reloadWithDebugInfo();
4040
The page should reload and the debug information should now be available.
4141

4242
For more see the docs pages on {@link ng.$compileProvider#debugInfoEnabled `$compileProvider`}
43-
and {@link ng/function/angular.reloadWithDebugInfo `angular.reloadWithDebugInfo`}.
43+
and {@link api/ng/function/angular.reloadWithDebugInfo `angular.reloadWithDebugInfo`}.

docs/content/tutorial/step_12.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ animations on top of the template code we created before.
1313
* Common `ng` directives automatically trigger hooks for animations to tap into.
1414
* When an animation is found then the animation will run in between the standard DOM operation that
1515
is being issued on the element at the given time (e.g. inserting and removing nodes on
16-
{@link api/ng.directive:ngRepeat `ngRepeat`} or adding and removing classes on
17-
{@link api/ng.directive:ngClass `ngClass`}).
16+
{@link api/ng/directive/ngRepeat `ngRepeat`} or adding and removing classes on
17+
{@link api/ng/directive/ngClass `ngClass`}).
1818

1919
<div doc-tutorial-reset="12"></div>
2020

@@ -252,7 +252,7 @@ which are described in detail below.
252252

253253
## Animating `ngView` with CSS Keyframe Animations
254254

255-
Next let's add an animation for transitions between route changes in {@link api/ngRoute.directive:ngView `ngView`}.
255+
Next let's add an animation for transitions between route changes in {@link api/ngRoute/directive/ngView `ngView`}.
256256

257257
To start, let's add a new CSS class to our HTML like we did in the example above.
258258
This time, instead of the `ng-repeat` element, let's add it to the element containing the `ng-view` directive.

src/ng/compile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@
115115
* When this property is set to true, the HTML compiler will collect DOM nodes between
116116
* nodes with the attributes `directive-name-start` and `directive-name-end`, and group them
117117
* together as the directive elements. It is recomended that this feature be used on directives
118-
* which are not strictly behavioural (such as {@link api/ng.directive:ngClick ngClick}), and which
119-
* do not manipulate or replace child nodes (such as {@link api/ng.directive:ngInclude ngInclude}).
118+
* which are not strictly behavioural (such as {@link api/ng/directive/ngClick ngClick}), and which
119+
* do not manipulate or replace child nodes (such as {@link api/ng/directive/ngInclude ngInclude}).
120120
*
121121
* #### `priority`
122122
* When there are multiple directives defined on a single DOM element, sometimes it
@@ -276,7 +276,7 @@
276276
* You can specify `templateUrl` as a string representing the URL or as a function which takes two
277277
* arguments `tElement` and `tAttrs` (described in the `compile` function api below) and returns
278278
* a string value representing the url. In either case, the template URL is passed through {@link
279-
* api/ng.$sce#getTrustedResourceUrl $sce.getTrustedResourceUrl}.
279+
* api/ng/service/$sce#getTrustedResourceUrl $sce.getTrustedResourceUrl}.
280280
*
281281
*
282282
* #### `replace` ([*DEPRECATED*!], will be removed in next major release - i.e. v2.0)

src/ng/directive/ngInclude.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
* Fetches, compiles and includes an external HTML fragment.
1010
*
1111
* By default, the template URL is restricted to the same domain and protocol as the
12-
* application document. This is done by calling {@link ng.$sce#getTrustedResourceUrl
12+
* application document. This is done by calling {@link api/ng/service/$sce#getTrustedResourceUrl
1313
* $sce.getTrustedResourceUrl} on it. To load templates from other domains or protocols
1414
* you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or
15-
* [wrap them](ng.$sce#trustAsResourceUrl) as trusted values. Refer to Angular's {@link
15+
* [wrap them](api/ng/service/$sce#trustAsResourceUrl) as trusted values. Refer to Angular's {@link
1616
* ng.$sce Strict Contextual Escaping}.
1717
*
1818
* In addition, the browser's

0 commit comments

Comments
 (0)