466 Commits

Author SHA1 Message Date
Harish Krishnan 1c2415e45b docs: Update components-scenarios.md (#56921)
Fix grammatical issues

PR Close #56921
2024-07-10 11:29:17 +02:00
Matthieu Riegler a7d021fa84 docs: update version table for 18.1 (#56920)
PR Close #56920
2024-07-10 09:34:48 +02:00
Andrew Scott 619e181dee 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:20 +02:00
Marcos Paulo dos Santos 3079925347 docs: update compat table with 13.4.x (#56915)
PR Close #56915
2024-07-10 09:10:29 +02:00
Ofer Segev 122573bf97 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:56 +02:00
Matthieu Riegler fd6cf36314 docs: add a FAQ on how to find the LCP image (#56779)
PR Close #56779
2024-07-09 09:37:20 +02:00
vladboisa 46f2680991 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:03:59 +02:00
Sasidharan SD cea3dfad05 docs: fix previous configuration link (#56880)
PR Close #56880
2024-07-08 09:48:00 +02:00
Dan Nisenson 1517ddecab 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:34 +02:00
Corbin Crutchley 833fa2d2e5 docs: add window title to reference pages (#56840)
PR Close #56840
2024-07-04 14:29:29 +02:00
Michael van der Luit 66bf467253 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:13 +02:00
Harish Krishnan b5500f8a95 docs: Update image-optimization.md (#56819)
Fix the mistyped attribute rel
PR Close #56819
2024-07-04 09:56:17 +02:00
Krishna Sahu 26da3087e0 docs: add toSignal import inside the demo example (#56804)
PR Close #56804
2024-07-03 14:07:51 +00:00
komura-c 19c70d8b02 docs: fix missing image and baseUrl in tutorials/first-app (#56766)
PR Close #56766
2024-07-02 20:21:41 +00:00
Andrew Kushnir 622ea44ea2 docs: add Event Replay section to the Hydration guide (#56770)
PR Close #56770
2024-07-02 20:19:52 +00:00
Ben Hong 68464a7438 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 0479c353a2 docs: Update interceptors.md to replace public class with export class in DI section (#56807)
PR Close #56807
2024-07-02 16:44:11 +00:00
Ben Hong 0482bc3b93 docs: add documentation aroun build error for docs (#56814)
PR Close #56814
2024-07-02 16:43:06 +00:00
Andrew Kushnir 9cbfc6bf25 docs: update 18.1.0 release date (#56789)
PR Close #56789
2024-07-01 19:37:34 +00:00
Harish Krishnan 5cb1dd7697 docs: Update structural-directives.md (#56753)
PR Close #56753
2024-07-01 14:03:24 +00:00
Harish Krishnan 72838640bf docs: Update rxjs-interop.md (#56771)
Fix grammatical error
PR Close #56771
2024-07-01 14:02:47 +00:00
Kristiyan Kostadinov 2dcb69825b 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 fa9da56b63 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 94493e1ad3 docs: fix cold observable and frames link (#56742)
PR Close #56742
2024-06-27 18:26:25 +00:00
Matthieu Riegler 81e6a54909 docs: Add mention of picture support in FAQ (#56692)
PR Close #56692
2024-06-26 16:58:28 -07:00
Matthieu Riegler 95f118b20e 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 b8a91c9c04 docs: Update signals overview.md (#56671)
change "computed" to a term using a backtick
PR Close #56671
2024-06-26 12:38:26 -07:00
Matthieu Riegler f49a2a4a11 docs: Move the background image migration to its own section. (#56588)
PR Close #56588
2024-06-26 08:52:18 -07:00
Shannon V.C cfe1f388f0 docs: add neovim setup section to adev (#56057)
PR Close #56057
2024-06-25 09:28:48 -07:00
MikaelSvanasbakken f9a9b55442 docs: fix broken redirection to contributing.md (#56581)
PR Close #56581
2024-06-25 09:27:56 -07:00
Sasidharan SD ac84d2c920 docs: fix broken component fixture link (#56563)
PR Close #56563
2024-06-25 09:15:02 -07:00
Matthieu Riegler 553914d0b2 docs(docs-infra): add canonical link to each adev page (#56540)
PR Close #56540
2024-06-24 09:44:30 -07:00
Sasidharan SD 75c3921e7b docs: fix file structure link (#56542)
PR Close #56542
2024-06-21 10:04:45 -07:00
Luis Fernando Scapin 9c3c8ae2b9 docs: ordered words (#56534)
Ordered correctly some words

PR Close #56534
2024-06-20 14:58:13 -07:00
Andrew Kushnir 5f8f18dba7 refactor(docs-infra): use an older version of the afterRender API (#56526)
This commit updates the code to use an older version of the `afterRender` API, since the newer one is not available in 18.0.x.

PR Close #56526
2024-06-20 10:43:33 -07:00
Sasidharan SD 73abcda1b3 docs: fix page not found (#56512)
PR Close #56512
2024-06-20 08:56:10 -07:00
Matthieu Riegler 2b9d1c9ad3 docs: fix code example for http headers (#56508)
PR Close #56508
2024-06-20 08:55:32 -07:00
Matthieu Riegler cff9ede7d2 docs: add mention of preconnect links (#56503)
Text is copied from AIO.

fixes #56502

PR Close #56503
2024-06-20 08:54:51 -07:00
Charles Lyding 1f1ed52ed1 build: remove unused root dependencies (#56499)
With the removal of AIO, several dependencies are now unused and can be removed.

PR Close #56499
2024-06-20 08:54:12 -07:00
Joey Perrott cc6cd08ca3 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:04 -07:00
Joey Perrott 7be9397ec5 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:26:03 -07:00
Joey Perrott 1a32e799a8 refactor(docs-infra): move windows-chromium-path to adev (#56496)
Move windows-chromium-path help from aio to adev

PR Close #56496
2024-06-18 12:26:02 -07:00
Matthieu Riegler 2eaf04d556 docs: add ng generate directive page (#56417)
fixes #56296

PR Close #56417
2024-06-18 09:31:27 -07:00
Andrew Scott 395d26ad16 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:57 -07:00
Viktor T 841476da1c docs(docs-infra): Remove redundant API link (#56480)
As there is no longer a page for the localize API the URL pointing to this page is removed

PR Close #56480
2024-06-17 12:48:12 -07:00
Arek db335a6c9a docs: fix outdated links from docs to contributing-docs folder in markdown documents (#56462)
PR Close #56462
2024-06-17 08:53:18 -07:00
Sasidharan SD cf5bf12271 docs: fix location strategy link (#56475)
PR Close #56475
2024-06-17 08:48:24 -07:00
Andrew Scott f8b45806ac fix(docs-infra): Various scroll fixes for a.dev (#56464)
* Create custom scroller to manage scroll behavior more directly. There
  are two many special and weird behaviors in the site to use the
  built-in scrolling.
* Update scrolling to wait for application stability. This waits a bit
  longer than the current `Scroll` event, which happens in
  `afterNextRender` after the `NavigationEnd`. fixes #56446
* Disable scrolling on the API references page. It just never worked
  well with all the custom scroll locations
* Update card clicks on API references page to change the fragment of
  the URL (this allows docs viewers to link directly to an item). Also update
  API reference page to listen to fragment changes and use that as the
  scroll trigger rather than the click. This takes care of the initial
  scroll when the page loads as well.

fixes #56446

PR Close #56464
2024-06-17 08:46:50 -07:00
Jens Kuehlers 072f6c79c6 docs: add v18.x and v19. release dates (#56429)
Add planned approximate v18 minor and v19 major
release dates.

PR Close #56429
2024-06-13 09:22:16 -07:00
Sasidharan SD 0a8d30ed65 docs: fix configure routes link (#56415)
PR Close #56415
2024-06-12 13:36:27 -07:00