Files
angular/adev/shared-docs
Kam eaac770729 fix(docs-infra): link directive selector aliases to the right API page
Every `[attr]` in a directive selector is recorded as an alias, including
the ones inside `:not(...)`, and the last directive in the manifest won
the alias. `ngModel`, `formControl` and `formControlName` linked to
`SelectMultipleControlValueAccessor`, `routerLink` to the deprecated
`RouterLinkWithHref` and `formGroup` to `NgForm`. An alias could also
delete a real entry of the same name, so `email()` never linked.

Collect the claimants of each alias instead. When several directives
claim one, link the one named after it, otherwise leave the alias
unlinked. An alias no longer replaces a real entry. `email` joins the
names that are not linked on their own, so it does not link in code
samples.

(cherry picked from commit 0dafb36834)
2026-11-10 01:49:55 +00:00
..