Kristiyan Kostadinov
9123e3d445
fix(docs-infra): fix broken adev tests ( #64761 )
...
Fixes some adev tests that are broken on main.
PR Close #64761
2025-10-29 14:11:54 +01:00
Matthieu Riegler
adae565cbf
docs(docs-infra): allow cors for json files
...
fixes #64710
(cherry picked from commit f2de963bf3 )
2025-10-28 16:55:56 +01:00
Shuaib Hasan Akib
766559e08c
fix(docs-infra): update guide navigation to remain active with query params
...
The navigation list component was using `routerLinkActive` with
`{ exact: true }`, which required an exact URL match including query
parameters. When visiting `/update-guide?v=19.0-20.0&l=1`, the link
`/update-guide` didn't match, so the active class wasn't applied.
Updated `routerLinkActiveOptions` to ignore query parameters while
maintaining exact path matching so the navigation item stays highlighted
when interacting with the update guide form.
(cherry picked from commit 33a872d90a )
2025-10-28 15:58:28 +01:00
tjshiu
92d189770b
docs: align adev best practices with llm-eval
...
(cherry picked from commit 763db3a70b )
2025-10-28 15:08:16 +01:00
Shuaib Hasan Akib
f96df920f9
docs: remove shell language from terminal output block
...
Changed terminal output code block in installation.md from shell
language to plain text to prevent rendering of shell prompt ($).
The block displays read-only log output that users should not
execute as commands.
(cherry picked from commit e9b29c359d )
2025-10-28 10:26:52 +01:00
Matthieu Riegler
b03182075e
docs: callout for provide function order
...
(cherry picked from commit be731deb7c )
2025-10-28 10:24:59 +01:00
Shuaib Hasan Akib
14b5590f80
fix(docs-infra): preserve shell class for multifile code blocks
...
The ExampleViewer component was extracting only innerHTML from code
blocks in multifile examples, which lost the shell class applied by
the formatCode function. This caused the $ prompt to not appear for
shell commands in multifile blocks even when language="shell" was set.
Modified the Snippet interface to track shell language state and
updated getCodeSnippetsFromMultifileWrapper and getStandaloneCodeSnippet
methods to preserve the shell class. Updated example-viewer template
to conditionally apply the shell class to the code wrapper element.
Fixes inconsistency between standalone and multifile shell code blocks.
(cherry picked from commit 27e183330e )
2025-10-27 09:29:40 +01:00
idembele70
9b3574b9b9
docs: fix accessibility of @empty block message
...
(cherry picked from commit 202fceed73 )
2025-10-27 09:29:14 +01:00
aparziale
1fd8592d9c
refactor: inject an instance of typescript-vfs.worker
...
Modified tsVfsWorker worker initialization logic
(cherry picked from commit e155a1e9d7 )
2025-10-27 09:24:59 +01:00
Alan Agius
6daabb08e6
Revert "build: refactor location of best-practices.md"
...
This reverts commit 07a51872d5 .
(cherry picked from commit 620e2c4926 )
2025-10-24 19:02:41 +02:00
Matthieu Riegler
07d91d76de
docs(docs-infra): Support linking to individual playground templates
...
(cherry picked from commit 6e7b3c2aa6 )
2025-10-24 18:47:13 +02:00
Alan Agius
18c70315d7
build: refactor location of best-practices.md
...
This commit moves the best-practices.md file from adev/src/context to packages/core/resources. The BUILD.bazel files and other configuration files have been updated to reflect this change.
(cherry picked from commit 07a51872d5 )
2025-10-24 18:45:35 +02:00
jase88
b97a677730
docs: update workspace configuration link in security documentation
...
(cherry picked from commit cdfd073448 )
2025-10-24 15:25:14 +02:00
Matthieu Riegler
b3f2ff1e07
docs(docs-infra): enable strict templates
...
(cherry picked from commit 57af0d7e1b )
2025-10-24 15:23:30 +02:00
SkyZeroZx
50d2670495
docs: Add router config options ( #64529 )
...
PR Close #64529
2025-10-23 12:34:57 +02:00
Angular Robot
c85be3b2de
build: update cross-repo angular dependencies to v20.2.10 ( #64591 )
...
See associated pull request for more information.
PR Close #64591
2025-10-22 18:14:52 +00:00
Matthieu Riegler
00842026c4
docs(docs-infra): fix example viewer ( #64580 )
...
It was a regression introduced by #63915
PR Close #64580
2025-10-22 14:35:04 +00:00
SkyZeroZx
8244f187de
docs(docs-infra): Add OnPush change detection for components ( #64570 )
...
Improves Angular's OnPush change detection strategy for main and search history components
PR Close #64570
2025-10-22 14:34:27 +00:00
Jessica Janiuk
acadefbba9
docs: update animation guide with compatibility details ( #64567 )
...
This adds a section about using legacy animations alongside animate.enter and leave.
PR Close #64567
2025-10-22 14:30:45 +00:00
SkyZeroZx
e568ddb2d2
docs: Standardizes code example formatting in Angular Tools and fixed highlight ( #64554 )
...
PR Close #64554
2025-10-21 15:19:28 +00:00
SkyZeroZx
b11617dbab
docs(docs-infra): Improves navigation list readability by balancing text wrapping ( #64512 )
...
Balances text wrapping for navigation items to enhance readability
PR Close #64512
2025-10-21 15:14:36 +00:00
SkyZeroZx
9b494c7de5
docs: Add DestroyRef.destroyed and usage in lifecycle guide ( #64422 )
...
PR Close #64422
2025-10-21 15:12:50 +00:00
SkyZeroZx
ed99bc96f1
docs: add references to SSR guide for caching options ( #64347 )
...
PR Close #64347
2025-10-21 15:12:15 +00:00
Matthieu Riegler
de8af17951
docs(docs-infra): Extract multiple extends statements for interfaces ( #64539 )
...
fixes #64528
PR Close #64539
2025-10-20 21:18:14 +00:00
Angular Robot
e4e6b92db3
build: lock file maintenance ( #64534 )
...
See associated pull request for more information.
PR Close #64534
2025-10-20 16:04:25 +00:00
Matthieu Riegler
3bb4b3d05b
docs: add more details on critical inlining. ( #64292 )
...
fixes #42682
PR Close #64292
2025-10-20 14:45:38 +00:00
SkyZeroZx
0f81ef405b
docs: Update FormArray.push usage ( #64499 )
...
PR Close #64499
2025-10-17 17:40:52 +00:00
SkyZeroZx
56afa3d70d
docs(docs-infra): Corrects repo name typo in entry parsing logic ( #64487 )
...
Ensures the repository reference uses the correct name to prevent confusion and maintain consistency across generated documentation entries.
PR Close #64487
2025-10-17 14:52:25 +00:00
SkyZeroZx
ccaa9e5eb3
docs: add matrix parameters docs and examples ( #64459 )
...
PR Close #64459
2025-10-17 14:45:57 +00:00
SkyZeroZx
e1699006bf
docs: Documents sourcesContent option for source maps ( #64482 )
...
PR Close #64482
2025-10-17 14:29:52 +00:00
Uaena_Alex_John
aeda431ecb
docs: Change import statement to use 'inject' function ( #64491 )
...
PR Close #64491
2025-10-17 14:29:13 +00:00
SkyZeroZx
2d159afa1b
docs: Add docs for EVENT_MANAGER_PLUGINS ( #64453 )
...
PR Close #64453
2025-10-16 14:54:48 +00:00
SkyZeroZx
136e3de3aa
docs: Add dataurl and base64 in atrribute loader ( #64419 )
...
PR Close #64419
2025-10-16 14:38:50 +00:00
SkyZeroZx
dbcc281b79
docs: Adds documentation for accessing parent resolver data ( #64398 )
...
PR Close #64398
2025-10-15 21:10:07 +00:00
Angular Robot
60eba9b0a4
build: update cross-repo angular dependencies ( #64447 )
...
See associated pull request for more information.
PR Close #64447
2025-10-15 21:09:30 +00:00
Angular Robot
e6c0223a59
docs: update Angular CLI help ( #64434 )
...
Updated Angular CLI help contents.
PR Close #64434
2025-10-15 11:47:49 -07:00
Angular Robot
43fe755654
build: update cross-repo angular dependencies ( #64439 )
...
See associated pull request for more information.
PR Close #64439
2025-10-15 10:50:39 -07:00
Danny Koppenhagen
684ad17a34
docs: fix closing tag for whitespace examples ( #64425 )
...
PR Close #64425
2025-10-15 10:48:46 -07:00
SkyZeroZx
68d1e290d4
docs: update service worker documentation with additional references ( #64353 )
...
PR Close #64353
2025-10-15 10:47:49 -07:00
SkyZeroZx
69dabdba99
docs: Add injection context for lazy route loading ( #64412 )
...
PR Close #64412
2025-10-15 10:41:54 -07:00
Matthieu Riegler
b3643e5e83
docs(docs-infra): fix mobile banner layout ( #64408 )
...
PR Close #64408
2025-10-15 10:41:05 -07:00
Angular Robot
285dad4463
build: lock file maintenance ( #64377 )
...
See associated pull request for more information.
PR Close #64377
2025-10-14 12:22:10 -07:00
Matthieu Riegler
1cb1fffce3
docs: Add mentions of the autoCsp option ( #64290 )
...
And also in the incompatibility of `CSP_NONCE` with `inlineCritical`.
fixes #61037
PR Close #64290
2025-10-14 09:23:21 -07:00
SkyZeroZx
fdd0856dd1
docs: Removes standalone flag from drag-drop examples ( #64395 )
...
PR Close #64395
2025-10-13 15:58:33 -07:00
Oliver Lang
e54f41e43a
docs: improve clarity of self-closing tag migration example ( #64388 )
...
Replaces inline comments with structured Before and After sections
to enhance readability and consistency. This helps developers better
understand the transformation from non-self-closing to self-closing
tags during migration.
PR Close #64388
2025-10-13 10:01:03 -07:00
Shuaib Hasan Akib
09b37d30c6
docs: update MDN reference links to main documentation pages ( #64383 )
...
Replaces old deep-linked MDN tutorial URLs with top-level documentation
links for JavaScript, HTML, and CSS to provide more general and reliable references.
PR Close #64383
2025-10-13 08:34:53 -07:00
Matthieu Riegler
bbc0f81aff
docs(docs-infra): Add user to the open files ( #64380 )
...
fixes #64345
PR Close #64380
2025-10-13 08:33:57 -07:00
SkyZeroZx
897d25cf9c
docs: update router behavior to correct syntax highlighting ( #64375 )
...
PR Close #64375
2025-10-13 08:33:19 -07:00
SkyZeroZx
56270c36e5
docs: Documents utility functions for narrowing form control types ( #64373 )
...
PR Close #64373
2025-10-13 08:32:30 -07:00
aparziale
9f49b2ad24
docs: fix typo in route-guards guide ( #64366 )
...
Fix typo in route-guards guide: “useres” → “users”
Fixes #64363
PR Close #64366
2025-10-13 08:31:48 -07:00