Skip to content

Commit 83abe5f

Browse files
n0sciblemmalerba
authored andcommitted
docs: fix all brokens links on the API pages (#59162)
This PR fix is for the broken links on the API pages mentioned in issue #57591. PR Close #59162
1 parent 26b3a8f commit 83abe5f

File tree

24 files changed

+58
-57
lines changed

24 files changed

+58
-57
lines changed

packages/animations/src/animation_metadata.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export declare type AnimateTimings = {
5454
*
5555
* - `transition()`
5656
* - `sequence()`
57-
* - `{@link animations/group group()}`
57+
* - `{@link /api/animations/group group()}`
5858
* - `query()`
5959
* - `animation()`
6060
* - `useAnimation()`
@@ -118,7 +118,7 @@ export enum AnimationMetadataType {
118118
Sequence = 2,
119119
/**
120120
* Contains a set of animation steps.
121-
* See `{@link animations/group group()}`
121+
* See `{@link /api/animations/group group()}`
122122
*/
123123
Group = 3,
124124
/**
@@ -636,7 +636,7 @@ export function trigger(name: string, definitions: AnimationMetadata[]): Animati
636636
* @returns An object that encapsulates the animation step.
637637
*
638638
* @usageNotes
639-
* Call within an animation `sequence()`, `{@link animations/group group()}`, or
639+
* Call within an animation `sequence()`, {@link /api/animations/group group()}, or
640640
* `transition()` call to specify an animation step
641641
* that applies given style data to the parent animation for a given amount of time.
642642
*
@@ -740,10 +740,10 @@ export function group(
740740
* @usageNotes
741741
* When you pass an array of steps to a
742742
* `transition()` call, the steps run sequentially by default.
743-
* Compare this to the `{@link animations/group group()}` call, which runs animation steps in
743+
* Compare this to the {@link /api/animations/group group()} call, which runs animation steps in
744744
*parallel.
745745
*
746-
* When a sequence is used within a `{@link animations/group group()}` or a `transition()` call,
746+
* When a sequence is used within a {@link /api/animations/group group()} or a `transition()` call,
747747
* execution continues to the next instruction only after each of the inner animation
748748
* steps have completed.
749749
*

packages/common/src/directives/ng_component_outlet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
} from '@angular/core';
2424

2525
/**
26-
* Instantiates a {@link Component} type and inserts its Host View into the current View.
26+
* Instantiates a {@link /api/core/Component Component} type and inserts its Host View into the current View.
2727
* `NgComponentOutlet` provides a declarative approach for dynamic component creation.
2828
*
2929
* `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and

packages/common/src/location/platform_location.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import {DOCUMENT} from '../dom_tokens';
2626
* when they need to interact with the DOM APIs like pushState, popState, etc.
2727
*
2828
* {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly
29-
* by the {@link Router} in order to navigate between routes. Since all interactions between {@link
30-
* Router} /
29+
* by the {@link /api/router/Router Router} in order to navigate between routes. Since all interactions between
30+
* {@link /api/router/Router Router} /
3131
* {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`
3232
* class, they are all platform-agnostic.
3333
*

packages/core/src/change_detection/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
* The strategy that the default change detector uses to detect changes.
1111
* When set, takes effect the next time change detection is triggered.
1212
*
13-
* @see [Change detection usage](/api/core/ChangeDetectorRef?tab=usage-notes)
14-
* @see [Skipping component subtrees](/best-practices/skipping-subtrees)
13+
* @see {@link /api/core/ChangeDetectorRef?tab=usage-notes Change detection usage}
14+
* @see {@link /best-practices/skipping-subtrees Skipping component subtrees}
1515
*
1616
* @publicApi
1717
*/

packages/core/src/change_detection/differs/iterable_differs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {DefaultIterableDifferFactory} from '../differs/default_iterable_differ';
2020
export type NgIterable<T> = Array<T> | Iterable<T>;
2121

2222
/**
23-
* A strategy for tracking changes over time to an iterable. Used by {@link NgForOf} to
23+
* A strategy for tracking changes over time to an iterable. Used by {@link /api/common/NgForOf NgForOf} to
2424
* respond to changes in an iterable by effecting equivalent changes in the DOM.
2525
*
2626
* @publicApi

packages/core/src/change_detection/scheduling/ng_zone_scheduling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function internalProvideZoneChangeDetection({
144144
* ```
145145
*
146146
* @publicApi
147-
* @see {@link bootstrapApplication}
147+
* @see {@link /api/core/bootstrapApplication bootstrapApplication}
148148
* @see {@link NgZoneOptions}
149149
*/
150150
export function provideZoneChangeDetection(options?: NgZoneOptions): EnvironmentProviders {

packages/core/src/change_detection/scheduling/zoneless_scheduling_impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export class ChangeDetectionSchedulerImpl implements ChangeDetectionScheduler {
369369
*
370370
* @publicApi
371371
* @experimental
372-
* @see [bootstrapApplication](/api/platform-browser/bootstrapApplication)
372+
* @see {@link /api/platform-browser/bootstrapApplication bootstrapApplication}
373373
*/
374374
export function provideExperimentalZonelessChangeDetection(): EnvironmentProviders {
375375
performanceMarkFeature('NgZoneless');

packages/core/src/linker/view_ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {ChangeDetectorRef} from '../change_detection/change_detector_ref';
1111
/**
1212
* Represents an Angular view.
1313
*
14-
* @see [Change detection usage](/api/core/ChangeDetectorRef?tab=usage-notes)
14+
* @see {@link /api/core/ChangeDetectorRef?tab=usage-notes Change detection usage}
1515
*
1616
* @publicApi
1717
*/

packages/core/src/metadata/view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
/**
10-
* Defines the CSS styles encapsulation policies for the {@link Component} decorator's
10+
* Defines the CSS styles encapsulation policies for the {@link /api/core/Component Component} decorator's
1111
* `encapsulation` option.
1212
*
1313
* See {@link Component#encapsulation encapsulation}.

packages/core/src/render/api_flags.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ export interface RendererType2 {
4141
data: {[kind: string]: any};
4242

4343
/**
44-
* A function added by the {@link ɵɵExternalStylesFeature} and used by the framework to create
45-
* the list of external runtime style URLs.
44+
* A function used by the framework to create the list of external runtime style URLs.
4645
*/
4746
getExternalStyles?: ((encapsulationId?: string) => string[]) | null;
4847
}

0 commit comments

Comments
 (0)