Matthieu Riegler
f02f351cda
docs: Expose $localize in the @angular/localize/init entry. ( #55345 )
...
fixes #54388
PR Close #55345
2024-07-16 08:43:53 -07:00
homerlsy
e9837c94d0
docs: update structural-directives.md select to [select] ( #56955 )
...
this custom directive's selector should be [select]
PR Close #56955
2024-07-16 08:42:59 -07:00
Ben Hong
7c0a7a02c0
docs: add quick installation page ( #56816 )
...
PR Close #56816
2024-07-15 11:37:57 -07:00
Matthieu Riegler
60df722d29
docs(docs-infra): focus api search filter on non-touch devices ( #56294 )
...
PR Close #56294
2024-07-11 12:05:34 -07:00
Andrew Kushnir
94c6ec0221
docs: fixing links to guides on the Performance Overview page ( #56942 )
...
PR Close #56942
2024-07-10 17:06:08 -07:00
Michael van der Luit
5673f6b04d
docs: move public folder to workspace configuration section ( #56931 )
...
move the public folder entry from the application project files section to the workspace configuration files section
PR Close #56931
2024-07-10 13:52:06 -07:00
Ben Hong
aedf8322b0
docs: add overview page for performance section ( #56828 )
...
PR Close #56828
2024-07-10 18:17:05 +02:00
Matthieu Riegler
bbbaf7a1b8
docs(docs-infra): fix z-index issue on mobile ( #56874 )
...
fixes #56871
PR Close #56874
2024-07-10 15:48:42 +02:00
Harish Krishnan
551ffbf9f2
docs: Update components-scenarios.md ( #56921 )
...
Fix grammatical issues
PR Close #56921
2024-07-10 11:29:17 +02:00
Matthieu Riegler
0da9eae24c
docs: update version table for 18.1 ( #56920 )
...
PR Close #56920
2024-07-10 09:34:48 +02:00
Andrew Scott
15d2e8d54c
docs: Update component testing scenarios ( #56388 )
...
This update goes through half of the component-scenarios guide and makes
relevant updates to examples.
Updates include:
* Use signals in examples
* Advise and use `await fixture.whenStable` more frequently than
`detectChanges`
* Use and advise mocks and spies more sparingly
* Remove `waitForAsync` and jasmine `done` guidance - The ecosystem has evolved
and these aren't needed
* Remove marble testing for rxjs - this belongs in rxjs documentation,
not in Angular
* Remove class-only component testing. This approach is not advisable
for components.
related to #48510
PR Close #56388
2024-07-10 09:11:21 +02:00
Marcos Paulo dos Santos
3a453d6040
docs: update compat table with 13.4.x ( #56915 )
...
PR Close #56915
2024-07-10 09:10:29 +02:00
Ofer Segev
ae9505b702
docs: update dependency-injection-context.md ( #56736 )
...
HeroService is not part of this example, and is only introduced in the next example. Use type Service1 for this.service1, as its type
PR Close #56736
2024-07-09 13:05:57 +02:00
Kristiyan Kostadinov
f689214178
docs: fix wrong link in template overview ( #56911 )
...
One of the links added in #56886 was incomplete.
PR Close #56911
2024-07-09 12:13:12 +02:00
Kristiyan Kostadinov
02f5e73a8d
docs: add documentation page for let declarations ( #56886 )
...
Adds a docs page for the new `@let` syntax in Angular 18.1.
PR Close #56886
2024-07-09 09:38:23 +02:00
Matthieu Riegler
20f5e1291e
docs: add a FAQ on how to find the LCP image ( #56779 )
...
PR Close #56779
2024-07-09 09:37:20 +02:00
vladboisa
35fa9b0f77
docs(docs-infra): add missing context with link ( #56896 )
...
Added missing link documenting ng global features.
Fixes #56488
PR Close #56896
2024-07-08 18:04:00 +02:00
Sasidharan SD
8326e62313
docs: fix previous configuration link ( #56880 )
...
PR Close #56880
2024-07-08 09:48:02 +02:00
Dan Nisenson
1efe907881
docs: fix broken link ( #56848 )
...
fix link @ /guide/forms/reactive-forms#reactive-forms-api-summary
prev: /api/forms
current: /api#forms
PR Close #56848
2024-07-05 12:27:35 +02:00
Corbin Crutchley
1074134d4b
docs: add window title to reference pages ( #56840 )
...
PR Close #56840
2024-07-04 14:29:29 +02:00
Michael van der Luit
85da4b3b2a
docs: update app-shell docs to reflect v17 ( #56836 )
...
Fixes the build commands as previously mentioned here: https://github.com/angular/angular/pull/52294
PR Close #56836
2024-07-04 11:32:14 +02:00
Harish Krishnan
3fa21cbbc5
docs: Update image-optimization.md ( #56819 )
...
Fix the mistyped attribute rel
PR Close #56819
2024-07-04 09:56:18 +02:00
Krishna Sahu
6ad2fe6ab0
docs: add toSignal import inside the demo example ( #56804 )
...
PR Close #56804
2024-07-03 14:07:51 +00:00
komura-c
0e0fb7bb61
docs: fix missing image and baseUrl in tutorials/first-app ( #56766 )
...
PR Close #56766
2024-07-02 20:21:41 +00:00
Andrew Kushnir
8a0a00e212
docs: add Event Replay section to the Hydration guide ( #56770 )
...
PR Close #56770
2024-07-02 20:19:53 +00:00
Ben Hong
0f612dcaf8
docs: update playground app to use hello world for easier onboarding ( #56813 )
...
PR Close #56813
2024-07-02 12:57:31 -04:00
Ben Elliott
9acccb11ff
docs: Update interceptors.md to replace public class with export class in DI section ( #56807 )
...
PR Close #56807
2024-07-02 16:44:12 +00:00
Enea Jahollari
fd6cd0422d
feat(compiler): Add extended diagnostic to warn when there are uncalled functions in event bindings ( #56295 )
...
The diagnostic will catch issues like:
```html
<button (click)="increment"></button>
<button (click)="increment; decrement"></button>
<button (click)="true ? increment : decrement"></button>
<button (click)="nested.nested1.nested2.increment"></button>
```
PR Close #56295
2024-07-01 20:31:19 +00:00
Andrew Kushnir
a0fbd0e5e1
docs: update 18.1.0 release date ( #56789 )
...
PR Close #56789
2024-07-01 19:37:33 +00:00
Harish Krishnan
aad3c2da6e
docs: Update structural-directives.md ( #56753 )
...
PR Close #56753
2024-07-01 14:03:24 +00:00
Harish Krishnan
4017f72e8c
docs: Update rxjs-interop.md ( #56771 )
...
Fix grammatical error
PR Close #56771
2024-07-01 14:02:46 +00:00
Kristiyan Kostadinov
ceaaa9815b
build: update to latest docs tooling to resolve missing answers ( #56746 )
...
Updates to the latest version of `@angular/docs` which should include a fix for the missing answers in the tutorials.
PR Close #56746
2024-06-27 21:17:38 +00:00
Andrew Scott
ed2665a74d
docs: fix indentation on control flow documentation page ( #56748 )
...
This fixes the indentation on the examples in the control flow docs
fixes #56745
PR Close #56748
2024-06-27 19:55:48 +00:00
Sasidharan SD
0cfd13c671
docs: fix cold observable and frames link ( #56742 )
...
PR Close #56742
2024-06-27 18:26:25 +00:00
Matthieu Riegler
033dfc39bc
docs: Add mention of picture support in FAQ ( #56692 )
...
PR Close #56692
2024-06-26 16:58:27 -07:00
Matthieu Riegler
ec654f72ae
docs(docs-infra): fix asset path for learn angular #11 ( #56587 )
...
fixes #56568
PR Close #56587
2024-06-26 12:39:00 -07:00
Ofer Segev
d3a488ad00
docs: Update signals overview.md ( #56671 )
...
change "computed" to a term using a backtick
PR Close #56671
2024-06-26 12:38:25 -07:00
Matthieu Riegler
c19a4e7a96
docs: Move the background image migration to its own section. ( #56588 )
...
PR Close #56588
2024-06-26 08:52:17 -07:00
Shannon V.C
362e3c74a0
docs: add neovim setup section to adev ( #56057 )
...
PR Close #56057
2024-06-25 09:28:47 -07:00
Sasidharan SD
85dc9123a1
docs: fix broken component fixture link ( #56563 )
...
PR Close #56563
2024-06-25 09:15:02 -07:00
Matthieu Riegler
e81abdbd49
docs(docs-infra): add canonical link to each adev page ( #56540 )
...
PR Close #56540
2024-06-24 09:44:29 -07:00
Sasidharan SD
49b2e65bfb
docs: fix file structure link ( #56542 )
...
PR Close #56542
2024-06-21 10:04:45 -07:00
Luis Fernando Scapin
3ea7794474
docs: ordered words ( #56534 )
...
Ordered correctly some words
PR Close #56534
2024-06-20 14:58:12 -07:00
Sasidharan SD
955ade66e1
docs: fix page not found ( #56512 )
...
PR Close #56512
2024-06-20 08:56:09 -07:00
Matthieu Riegler
55835e9bc9
docs: fix code example for http headers ( #56508 )
...
PR Close #56508
2024-06-20 08:55:31 -07:00
Matthieu Riegler
dd506c1802
docs: add mention of preconnect links ( #56503 )
...
Text is copied from AIO.
fixes #56502
PR Close #56503
2024-06-20 08:54:50 -07:00
Joey Perrott
0bd55a684f
refactor(docs-infra): complete removal of aio directory ( #56496 )
...
Finish removal of aio directory as it is no longer used or relied upon.
PR Close #56496
2024-06-18 12:26:00 -07:00
Joey Perrott
bb72c26b52
refactor(docs-infra): remove reliance on aio example macro ( #56496 )
...
Remove usage of aio example macro in adev
PR Close #56496
2024-06-18 12:25:59 -07:00
Matthieu Riegler
775f451682
docs: add ng generate directive page ( #56417 )
...
fixes #56296
PR Close #56417
2024-06-18 09:31:26 -07:00
Andrew Scott
f8654bd3f6
fix(docs-infra): reference page restores scroll position or goes top when no anchor ( #56478 )
...
This contains follow-up fixes to 2a2439712a .
This commit updates scrolling on references page to scroll to the top
when there is no anchor in the URL. The behavior after the above commit would
be that the position doesn't change from whatever the previous page was
(potentially scrolled to the bottom). In addition, this restores the
previous scroll position when traversing through browser history rather
than always scrolling to the fragment.
PR Close #56478
2024-06-18 09:26:56 -07:00