Alan Agius
6e004caa5b
refactor(docs-infra): switch to unit test builder for unit tests
...
- Deletes the old Karma configuration and test entry point.
- Updates `angular.json` to use the `@angular/build` builders.
- Adjusts test files to align with the new setup.
2025-10-28 20:53:12 +01:00
Matthieu Riegler
d1d5c724e3
docs(docs-infra): allow cors for json files
...
fixes #64710
(cherry picked from commit f2de963bf3 )
2025-10-28 16:55:57 +01:00
Shuaib Hasan Akib
c0a50bf18f
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:29 +01:00
Angular Robot
81b876582c
build: lock file maintenance
...
See associated pull request for more information.
2025-10-28 10:27:50 +01:00
Shuaib Hasan Akib
845c1cd63e
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:53 +01:00
Angular Robot
c87d1e0d84
docs: update Angular CLI help
...
Updated Angular CLI help contents.
2025-10-28 10:26:25 +01:00
Matthieu Riegler
7b77336603
docs: callout for provide function order
...
(cherry picked from commit be731deb7c )
2025-10-28 10:25:00 +01:00
Alan Agius
a1b4e381e6
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 25e8bcbdf6 )
2025-10-27 09:31:39 +01:00
Shuaib Hasan Akib
e62da0d1c7
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:42 +01:00
idembele70
00a996dd12
docs: fix accessibility of @empty block message
...
(cherry picked from commit 202fceed73 )
2025-10-27 09:29:15 +01:00
Alan Agius
9b77b43241
refactor(docs-infra): streamline adev build configuration
...
This commit introduces a number of changes to streamline the build configuration for adev, the documentation application.
(cherry picked from commit 53287bce9b )
2025-10-27 09:26:25 +01:00
aparziale
91eb1e1fe2
refactor: inject an instance of typescript-vfs.worker
...
Modified tsVfsWorker worker initialization logic
(cherry picked from commit e155a1e9d7 )
2025-10-27 09:25:00 +01:00
Kristiyan Kostadinov
9e8b4eb686
fix(docs-infra): fix broken adev tests
...
Fixes some adev tests that are broken on main.
(cherry picked from commit b5f8d0b5b1 )
2025-10-24 21:28:32 +02:00
Alan Agius
e9f55a8817
Revert "build: refactor location of best-practices.md"
...
This reverts commit 07a51872d5 .
(cherry picked from commit 620e2c4926 )
2025-10-24 19:02:42 +02:00
Matthieu Riegler
d8388b210a
docs(docs-infra): Support linking to individual playground templates
...
(cherry picked from commit 6e7b3c2aa6 )
2025-10-24 18:47:14 +02:00
Alan Agius
fb13537949
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:36 +02:00
Angular Robot
d430d99965
docs: update Angular CLI help
...
Updated Angular CLI help contents.
2025-10-24 15:29:27 +02:00
jase88
4f5a4a4297
docs: update workspace configuration link in security documentation
...
(cherry picked from commit cdfd073448 )
2025-10-24 15:25:15 +02:00
SkyZeroZx
17a71e9c59
docs: Fix syntax highlighting & formatting in HTTP guide
...
(cherry picked from commit b1a0bad342 )
2025-10-24 15:24:02 +02:00
Matthieu Riegler
c89062b130
docs(docs-infra): enable strict templates
...
(cherry picked from commit 57af0d7e1b )
2025-10-24 15:23:32 +02:00
Angular Robot
c02aa80c5e
docs: update Angular CDK apis ( #64642 )
...
Updated Angular CDK api files.
PR Close #64642
2025-10-24 09:38:54 +02:00
Angular Robot
d7e85a4da5
docs: update Angular CLI help ( #64620 )
...
Updated Angular CLI help contents.
PR Close #64620
2025-10-23 18:24:28 +02:00
Angular Robot
4ce1ffc65c
build: update cross-repo angular dependencies ( #64623 )
...
See associated pull request for more information.
PR Close #64623
2025-10-23 18:23:56 +02:00
SkyZeroZx
87afeb833b
docs: Add router config options ( #64529 )
...
PR Close #64529
2025-10-23 12:34:58 +02:00
Angular Robot
de2ee6ebd5
docs: update Angular CDK apis ( #64599 )
...
Updated Angular CDK api files.
PR Close #64599
2025-10-22 21:57:17 +00:00
Angular Robot
893af8b64c
build: update cross-repo angular dependencies ( #64593 )
...
See associated pull request for more information.
PR Close #64593
2025-10-22 20:24:15 +00:00
Matthieu Riegler
9126d0d616
docs(docs-infra): fix example viewer ( #64580 )
...
It was a regression introduced by #63915
PR Close #64580
2025-10-22 14:35:03 +00:00
SkyZeroZx
22270492f5
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:26 +00:00
Jessica Janiuk
59a7163194
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:43 +00:00
Angular Robot
23498a3146
build: update dependency @types/node to v24.9.1 ( #64571 )
...
See associated pull request for more information.
PR Close #64571
2025-10-22 14:30:03 +00:00
Angular Robot
ba7ca96173
build: update dependency @types/node to v24.9.0 ( #64557 )
...
See associated pull request for more information.
PR Close #64557
2025-10-21 16:46:04 +00:00
SkyZeroZx
581a05a592
docs: Standardizes code example formatting in Angular Tools and fixed highlight ( #64554 )
...
PR Close #64554
2025-10-21 15:19:27 +00:00
SkyZeroZx
5e55b87202
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:35 +00:00
SkyZeroZx
a17ce50a21
docs: Add DestroyRef.destroyed and usage in lifecycle guide ( #64422 )
...
PR Close #64422
2025-10-21 15:12:49 +00:00
SkyZeroZx
8d1e9796d6
docs: add references to SSR guide for caching options ( #64347 )
...
PR Close #64347
2025-10-21 15:12:15 +00:00
Matthieu Riegler
54636eacca
docs(docs-infra): Extract multiple extends statements for interfaces ( #64539 )
...
fixes #64528
PR Close #64539
2025-10-20 21:18:13 +00:00
Angular Robot
fad6e1351e
build: update all non-major dependencies ( #64514 )
...
See associated pull request for more information.
PR Close #64514
2025-10-20 16:13:17 +00:00
Angular Robot
aca2f758d3
build: lock file maintenance ( #64533 )
...
See associated pull request for more information.
PR Close #64533
2025-10-20 16:03:34 +00:00
Jessica Janiuk
e464aac177
build: bump leftover dependency of typescript ( #64543 )
...
This package json was missed when we recently bumped ts versions.
PR Close #64543
2025-10-20 15:37:18 +00:00
Alan Agius
373580c706
docs: add browser support for v21 ( #64540 )
...
Adds the browser support information for Angular v21, setting the baseline date to 2025-10-20.
PR Close #64540
2025-10-20 14:46:14 +00:00
Matthieu Riegler
69749800c9
docs: add more details on critical inlining. ( #64292 )
...
fixes #42682
PR Close #64292
2025-10-20 14:45:37 +00:00
SkyZeroZx
44554d2d09
docs: Update FormArray.push usage ( #64499 )
...
PR Close #64499
2025-10-17 17:40:51 +00:00
SkyZeroZx
ecb2507c8b
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:24 +00:00
SkyZeroZx
7d7b4be762
docs: add matrix parameters docs and examples ( #64459 )
...
PR Close #64459
2025-10-17 14:45:55 +00:00
Angular Robot
10aa4f9cf3
build: update all non-major dependencies ( #64488 )
...
See associated pull request for more information.
PR Close #64488
2025-10-17 14:37:21 +00:00
SkyZeroZx
60c62bd771
docs: Documents sourcesContent option for source maps ( #64482 )
...
PR Close #64482
2025-10-17 14:29:51 +00:00
Uaena_Alex_John
2761d9e518
docs: Change import statement to use 'inject' function ( #64491 )
...
PR Close #64491
2025-10-17 14:29:12 +00:00
SkyZeroZx
df780fae18
docs: Add docs for EVENT_MANAGER_PLUGINS ( #64453 )
...
PR Close #64453
2025-10-16 14:54:47 +00:00
Matthieu Riegler
1ea5a993f2
docs(docs-infra): use separate index for next.angular.dev ( #64318 )
...
With this commit we start using a separate index for the next doc site.
PR Close #64318
2025-10-16 14:39:22 +00:00
SkyZeroZx
574f74da55
docs: Add dataurl and base64 in atrribute loader ( #64419 )
...
PR Close #64419
2025-10-16 14:38:50 +00:00