Commit graph

1878 commits

Author SHA1 Message Date
Danny Koppenhagen
d2b854b37e docs(core): add a11y considerations related to @defer()
closes #53466
2025-11-07 15:27:10 -08:00
Angular Robot
a002fb5242 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-11-07 12:52:35 -08:00
Alan Agius
033ea75b88 build: update rules_angular to latest
Update `rules_angular` to latest.
2025-11-07 11:43:24 -08:00
Shuaib Hasan Akib
a2cd36777a docs(docs-infra): use self-closing syntax for component examples
Replaced multiple component tags such as `<example></example>` with
self-closing syntax (`<example />`) across documentation examples.
This improves readability and aligns with the current Angular
style conventions.
2025-11-07 10:24:36 -08:00
Charles Lyding
e3143036ba docs: remove invalid service dependency guide section
The current section `Services with dependencies` within the testing services
guide is non-functional and has been removed. The example service is using
`inject` but the test code is using constructor-based injection. The further
sections discuss the use of TestBed to adjust providers which better handles
these cases.
2025-11-07 10:23:47 -08:00
SkyZeroZx
dff803514e docs(docs-infra): refactor update to use host property and refactor isWindows 2025-11-07 10:13:23 -08:00
Alon Mishne
b481fee049 docs: Update MCP docs to include all current stable and experimental tools 2025-11-07 10:12:30 -08:00
Charles Lyding
2a2397acc4 docs: Update testing guides for Vitest and Karma
This commit updates the testing documentation to reflect the introduction of Vitest as the default test runner, while ensuring Karma testing instructions are still available.

Key changes include:
- Adding a new guide for "Testing with Karma" (`guide/testing/karma.md`).
- Updating the "Code Coverage" guide (`guide/testing/code-coverage.md`) to use `angular.json` for coverage enforcement and referencing Vitest documentation.
- Modifying the "Testing Overview" guide (`guide/testing/overview.md`) to introduce Vitest as the default, update `ng test` output examples, and link to the new Karma guide.
- Updating navigation data to include the new Karma testing guide.
2025-11-07 10:10:26 -08:00
khanhkhanhlele
a625f6bb20 docs: Fix typos in some files 2025-11-07 07:44:03 -08:00
Angular Robot
3cde920ecf build: update all non-major dependencies
See associated pull request for more information.
2025-11-07 07:43:44 -08:00
Angular Robot
88f55b43ac build: update cross-repo angular dependencies to v21.0.0-rc.1
See associated pull request for more information.
2025-11-06 13:23:44 -08:00
Alan Agius
26fed34e0e
build: format md files
This commit configures prettier to format markdown files.
2025-11-06 10:03:05 -08:00
SkyZeroZx
61066071cf docs: correct formatting in dependency injection guides 2025-11-06 08:34:26 -08:00
Angular Robot
8315504d60 build: update cross-repo angular dependencies
See associated pull request for more information.
2025-11-06 07:47:07 -08:00
Angular Robot
9ae1f44ca0 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-11-05 15:13:56 -08:00
Angular Robot
2b71181288 build: update all non-major dependencies
See associated pull request for more information.
2025-11-05 15:13:37 -08:00
Miles Malerba
59635bba34 docs: improve docs generation for namespaces (#64747)
Improves docs epxerience for interfaces / type aliases that are merged
with a namespace.

PR Close #64747
2025-11-05 22:42:59 +00:00
Erik Wegner
e18aac88d4 docs: Add the missing function call to use the signal's actual value 2025-11-05 19:47:02 +00:00
Matthieu Riegler
7f44345db3 docs(docs-infra): fix heading layout on mobile
Long code blocks overflow the headings on narrow screen (like mobiles), this messes up the global layout of the page. With the ellipsis with fix that.

fixes #64845
2025-11-05 17:49:43 +00:00
SkyZeroZx
b5e37ffb77 docs(docs-infra): add missing meta tags for author, keywords, and Twitter 2025-11-04 22:58:24 +00:00
Angular Robot
b7839e872f docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-11-04 18:54:43 +00:00
Angular Robot
b8b8bad130 build: lock file maintenance
See associated pull request for more information.
2025-11-04 17:52:54 +00:00
Gerome Grignon
8f49af90d0 docs(router): uniformize lazy loading syntax 2025-11-04 17:39:08 +00:00
SkyZeroZx
b61847f877 docs: simplify tutorial signals with self-closing component tags 2025-11-04 00:34:37 +00:00
SkyZeroZx
82a579c7e6 docs: Update highlight inputs & code block formatting in component guides 2025-11-04 00:32:38 +00:00
Shuaib Hasan Akib
c4c7fb88ac docs: remove standalone: true since it's now the default
Removes redundant `standalone: true` declarations from code examples.
Standalone components are now the default in Angular, so the flag is
no longer necessary in documentation snippets.
2025-11-04 00:26:54 +00:00
marktechson
7a422c209a docs: add v21 landing page
Adds a new landing page for developer events, starting with the v21 page. It also includes an ICS file link for calendar invites. Also updated the tests for the docs-pill to support two new attributes so developers can add the event to their calendars.
2025-11-03 23:59:20 +00:00
SkyZeroZx
ffa19ddd3f docs(docs-infra): Improve font loading performance with preconnect
Adds preconnect links for Google Fonts domains to establish early
connections, reducing latency and improving font loading speed
2025-11-03 22:30:59 +00:00
SkyZeroZx
429672d6ab docs(docs-infra): Updates page title strategy to sync meta tags
Ensures that page title changes are reflected in relevant meta tags for improved SEO and sharing support
2025-11-03 21:30:09 +00:00
Angular Robot
615518d9fd build: update cross-repo angular dependencies
See associated pull request for more information.
2025-11-03 21:27:02 +00:00
Matthieu Riegler
434ddbcfc9 docs(docs-infra): ensure all redirections are absolute
fixes #64824
2025-11-03 21:01:45 +00:00
Angular Robot
86d05eb1d0 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-11-03 19:54:23 +00:00
Joey Perrott
0cb1ade6e5 docs: add the version of angular being used to the footer
Include the version of angular being used for the build in the footer of the application
2025-11-03 19:45:11 +00:00
Ben Hong
f321e226bd docs: update dependency injection guides (part 1) (#63652)
PR Close #63652
2025-10-30 19:22:39 +00:00
Angular Robot
5c5353d1e5 build: update cross-repo angular dependencies (#64795)
See associated pull request for more information.

PR Close #64795
2025-10-30 19:22:04 +00:00
Alan Agius
6f870cead2 ci: refactor cross-repo documentation update scripts (#64792)
Consolidate separate scripts for updating Aria, CDK, and CLI documentation into a single, unified  script. This change streamlines the documentation update process and improves maintainability. The workflow file has been updated to use the new consolidated script.

PR Close #64792
2025-10-30 19:19:20 +00:00
Angular Robot
29d6ebafe5 docs: update Angular Aria apis (#64782)
Updated Angular Aria api files.

PR Close #64782
2025-10-30 18:16:29 +00:00
Matthieu Riegler
56f26f1ada docs(docs-infra): allow cors for json files (#64783)
fixes #64710

PR Close #64783
2025-10-30 17:50:05 +00:00
SkyZeroZx
4dcb3206f7 docs: Standardize route parameter input signal & code block tags in routing docs (#64788)
PR Close #64788
2025-10-30 17:47:58 +00:00
aparziale
fd09a698e3 fix(docs-infra): Cannot find module message (#64701)
Fixed the import error message in the editor section. The build would complete successfully, but an error message would be incorrectly reported.

PR Close #64701
2025-10-30 17:42:27 +00:00
Ben Hong
2123cc3a97 docs: add essential signal forms guide (#64665)
PR Close #64665
2025-10-30 17:24:58 +00:00
Angular Robot
b0c9c63784 build: update cross-repo angular dependencies
See associated pull request for more information.
2025-10-29 21:02:34 +00:00
Cheng-Hsuan Tsai
3784fbcc12 ci: add workflow to copy and generate aria api pages
- add a script to copy Aria API json files from `angular/aria-builds`.
- build Aria API docs from json files.
2025-10-29 20:38:33 +00:00
Miles Malerba
662f0e5c00
feat(docs-infra): add support for namespaces
Adds support for generating docs for namespaces (and merged declarations
of namespace + type)
2025-10-29 20:22:21 +00:00
paszesoft
6cc6d93e70 docs: Rename TodoListItem to UserProfile and fix usage of isValidUserId 2025-10-29 18:49:42 +01:00
paszesoft
b5dae85b27 Update button disabled property logic in template logical bug fix
isValidUserId = true is logically wrong to use to disable the Save button.
So is logically wrong to use isValidUserId = false to enable the Save button.
Also the default state of this button should be most likely disabled, if we are bothering to check, so the initial value of the signal should most likely be set to true.
To resolve these 2 issues, I propose to use:
- isInValidUserId instead of isValidUserId and:
- isInValidUserId = signal(true); // isValidUserId = signal(false);
After these 2 changes the snippet should make logical sense.
2025-10-29 18:49:42 +01:00
SkyZeroZx
f3d056a065 docs(docs-infra): Prevent empty extends clause in interface documentation
Interfaces with no extends clause were incorrectly rendered with a trailing extends keyword followed by nothing, resulting in invalid TypeScript syntax
2025-10-29 18:48:30 +01:00
Shuaib Hasan Akib
5d8b76b4fa fix(docs-infra): extract header attribute as title in multifile code snippets
The DocViewer component's getCodeSnippetsFromMultifileWrapper method was not
extracting the header attribute from nested <docs-code> elements, causing the
ExampleViewer to fall back to displaying file paths instead of custom headers
in tab labels.

This change adds title extraction from the header attribute when processing
multifile code snippets, ensuring that custom headers are properly displayed
in the code viewer tabs.

Fixes #64760
2025-10-29 18:48:00 +01:00
Angular Robot
87a3a92141 docs: update Angular CLI help
Updated Angular CLI help contents.
2025-10-29 18:47:35 +01:00
Angular Robot
5a8aee6edf build: update all non-major dependencies
See associated pull request for more information.
2025-10-29 10:41:22 +01:00