marktechson
c0f27a5d56
docs: add new ai setcion to adev ( #61583 )
...
This new sections outlines guides, code samples and best practices for building AI apps with Angular.
PR Close #61583
2025-05-21 17:04:17 +00:00
hirowf
d97892aec5
docs: include bun in packageManager value types ( #60907 )
...
PR Close #60907
2025-05-21 15:19:41 +00:00
PandaByte
545bd3ef1a
docs: fix capitalization error ( #61554 )
...
PR Close #61554
2025-05-21 13:42:38 +00:00
Charles Lyding
83bb1f8e9e
docs: add a short redirect for HMR information ( #61545 )
...
The `https://angular.dev/hmr ` URL will now redirect
to the HMR information at the longer URL:
https://angular.dev/tools/cli/build-system-migration#hot-module-replacement
This shorter URL will be used within console messages within the Angular CLI.
PR Close #61545
2025-05-21 10:00:29 +00:00
Hakeem
5bf75b8016
docs(docs-infra): fix docs pages overflow when specific example-viewer exists ( #61384 )
...
enforce content to be fluid until a specific max width, and rollback breakpoints to be applied when 1430px is the current win size
as widths between 1430px and 1431px will be broken
PR Close #61384
2025-05-21 09:51:49 +00:00
Matthieu Riegler
0a82e58c21
docs: fix info about descendants for content queries. ( #61534 )
...
- `descendants` option is `true` for `contentChild`
- `descendants` option is `false` for `contentChildren`
PR Close #61534
2025-05-21 09:06:07 +00:00
Angular Robot
3b564e7d80
docs: update Angular CLI help ( #61527 )
...
Updated Angular CLI help contents.
PR Close #61527
2025-05-20 20:08:33 +00:00
Alan Agius
30e081287d
fix(core): update min Node.js support to 20.19, 22.12, and 24.0 ( #61500 )
...
This is to match the versions of the Angular CLI.
See: https://github.com/angular/angular-cli/pull/30349
PR Close #61500
2025-05-20 14:17:20 +00:00
Jens Kuehlers
16d7a7bb7f
docs: replace material.a.io with material.a.dev ( #61513 )
...
PR Close #61513
2025-05-20 13:40:45 +00:00
mgechev
d12844e4c3
docs: add update instructions for v20 ( #61338 )
...
PR Close #61338
2025-05-20 08:51:19 +00:00
Miles Malerba
de602b4220
docs: point cdk drag-drop doc links to adev api pages ( #61437 )
...
Now that the drag and drop API pages are on adev we can link to those
instead of external linking to material.angular.io
PR Close #61437
2025-05-19 16:04:09 +00:00
Angular Robot
425b9656a3
build: lock file maintenance ( #61457 )
...
See associated pull request for more information.
PR Close #61457
2025-05-19 11:20:51 +00:00
Ben Hong
810b3efec0
docs: add intro to new ssr guide and refactor information architecture ( #61377 )
...
PR Close #61377
2025-05-19 08:18:49 +00:00
Matthieu Riegler
4282dc3a54
docs: replace references to platform-brower-dynamic with platform-brower ( #61428 )
...
PR Close #61428
2025-05-19 08:04:51 +00:00
Angular Robot
e17ba18fd6
build: lock file maintenance ( #61267 )
...
See associated pull request for more information.
PR Close #61267
2025-05-16 15:47:50 +00:00
Matthieu Riegler
6ffdfc5a31
docs(docs-infra): llms-full.txt ( #61356 )
...
This includes a basic script to generate the file from the list of markdown files `llms-list.md`
PR Close #61356
2025-05-16 14:38:05 +00:00
Vlad Boisa
a90c7204f5
docs: fix typos ( #61257 )
...
Change grammar and fix typos in docs
Fixes #61244
PR Close #61257
2025-05-16 10:20:37 +00:00
Matthieu Riegler
f0e961cde2
docs: fix note formatting about optionam chaining ( #61251 )
...
PR Close #61251
2025-05-16 10:09:37 +00:00
Vlad Boisa
378606ea3e
docs: fix incomplete sentence ( #61391 )
...
Fix insufficient sentence.
Fixes #61350
PR Close #61391
2025-05-16 09:35:46 +00:00
Matthieu Riegler
c0fb34b4c9
docs: fix Routed components example ( #61278 )
...
fixes #61277
PR Close #61278
2025-05-16 09:14:41 +00:00
Andrew Scott
cabca2d93f
fix(docs-infra): Correctly support the CLI tutorial type ( #61246 )
...
There were a myriad of problems when using the type: 'cli' for a
tutorial:
* Editor component would flicker the non-cli version first since that
was the default value. Fixed by not showing anything until type is
available
* Editor component still rendered a split screen when there was no
preview. Fixed
* Project initialization was incorrect because the terminal would appear
to be available but really didn't work until dependencies were done
installing. Fixed by sharing initialization with regular project init
and piping the install output to the interactive terminal
* Terminals would not work when going from type: 'cli' to another or
vice versa. This is because the element instance of a terminal cannot
change once it is opened. Fixed by dispoing and recreating terminals
when the element changes
PR Close #61246
2025-05-16 07:50:24 +00:00
Angular Robot
a1807e5bea
docs: update Angular CDK apis [20.0.x] ( #61348 )
...
Updated Angular CDK api files.
PR Close #61348
2025-05-16 07:40:59 +00:00
Andrew Seguin
c5a83a444b
docs: make drag and drop examples preview ( #59737 )
...
PR Close #59737
2025-05-16 07:38:06 +00:00
Miles Malerba
3666b6e48b
docs: fix embedded preview ( #59737 )
...
update the embeddable examples glob to captrue the drag & drop examples,
and fix the current build issues in the drag & drop examples
PR Close #59737
2025-05-16 07:38:06 +00:00
Andrew Seguin
354cdd90e6
docs: add preview to an example to test ( #59737 )
...
PR Close #59737
2025-05-16 07:38:06 +00:00
Miles Malerba
46ee5bc832
ci: fix build ( #59737 )
...
Deletes the BUILD.bazel in examples/drag-drop so the files can be
collected in examples/BUILD.bazel instead
PR Close #59737
2025-05-16 07:38:06 +00:00
Amy Sorto
5a196e89f8
docs: add code examples for drag and drop guide ( #59737 )
...
# Conflicts:
# adev/src/content/guide/BUILD.bazel
PR Close #59737
2025-05-16 07:38:06 +00:00
Amy Sorto
5a332f19e6
docs: add drag and drop guide ( #59737 )
...
PR Close #59737
2025-05-16 07:38:06 +00:00
Will 保哥
e864461d60
docs: update Traditional Chinese footer link ( #61280 )
...
update Traditional Chinese footer link from angular.tw to dev.angular.tw to direct users to the new Traditional Chinese dev site.
PR Close #61280
2025-05-16 07:36:21 +00:00
Matthieu Riegler
2eba8762b4
docs: add llms.txt ( #61285 )
...
PR Close #61285
2025-05-15 10:09:16 -07:00
Hakeem
558ff67a64
docs(docs-infra): fix update page styles to adhere to the new layout ( #61256 )
...
PR Close #61256
2025-05-14 08:47:33 -07:00
Hakeem
b0915c86b3
docs(docs-infra): fixating the position of the docs content whether TOC exists or not ( #61256 )
...
PR Close #61256
2025-05-14 08:47:32 -07:00
Hakeem
cd6a286821
docs(docs-infra): integrate the new layout with the new changes ( #61256 )
...
fix new global layout issues, and make other pages adhere to the new centered layout like cli ref page, cli ref details, api ref details pages
PR Close #61256
2025-05-14 08:47:32 -07:00
Andrew Scott
d8d7c44278
refactor(docs-infra): remove component suffix from democomponent ( #61254 )
...
this removes the component suffix from the DemoComponent in tutorials
PR Close #61254
2025-05-14 08:46:30 -07:00
Andrew Scott
d192b0cf91
refactor(docs-infra): remove component suffix from first-app tutorial ( #61254 )
...
this removes the component suffix from the first-app tutorial steps
PR Close #61254
2025-05-14 08:46:30 -07:00
Andrew Scott
d77c482afa
refactor(docs-infra): remove component suffix from learn-angular tutorial ( #61254 )
...
this removes the component suffix from the learn-angular tutorials
PR Close #61254
2025-05-14 08:46:30 -07:00
Andrew Scott
a5e34fb64b
refactor(docs-infra): remove component suffix from playground ( #61254 )
...
this removes the component suffix from playground components
PR Close #61254
2025-05-14 08:46:30 -07:00
Andrew Scott
c890bf2450
refactor(docs-infra): Remove component suffix from deferrable views tutorial ( #61254 )
...
This commit removes the component suffix from the deferrable views tutorial
PR Close #61254
2025-05-14 08:46:30 -07:00
Andrew Scott
23b807d3a4
refactor(docs-infra): Remove 'component' suffix from App[Component] in tutorials ( #61254 )
...
This commit refactors the tutorials to drop the Component suffix from
AppComponent, both from the TS file and the CSS.
PR Close #61254
2025-05-14 08:46:29 -07:00
Jan Martin
c028918196
docs: document the use of this in template expression syntax ( #61250 )
...
As of Angular 19, `this` should consistently reference the given
class property.
See: https://github.com/angular/angular/pull/55183
Co-authored-by: Jeremy Elbourn <jelbourn@google.com >
Co-authored-by: Matthieu Riegler <kyro38@gmail.com >
PR Close #61250
2025-05-14 06:35:57 -07:00
Miles Malerba
41db6505e1
docs: update references to the cdk/testing apis ( #60853 )
...
PR Close #60853
2025-05-13 16:32:38 -07:00
Miles Malerba
fb1204b7fa
docs: generate api pages for cdk ( #60853 )
...
Generates html for the cdk api pages based on the json files imported
from angular/cdk-builds
PR Close #60853
2025-05-13 16:32:38 -07:00
Paul Gschwendtner
1b4b44e476
refactor: add explicit types for exports relying on inferred call return type ( #61312 )
...
As part of the Bazel toolchain migration we noticed that implicit types
generated by the TypeScript compiler sometimes end up referencing types
from other packages (i.e. cross-package imports).
These imports currently work just because the Bazel `ts_library` and
`ng_module` rules automatically inserted a `<amd-module
name="@angular/x" />` into `.d.ts` of packages. This helped TS figure
out how to import a given file. Notably this is custom logic that is not
occuring in vanilla TS or Angular compilations—so we will drop this
magic as part of the toolchain cleanup!
To improve code quality and keep the existing behavior working, we are
doing the following:
- adding a lint rule that reduces the risk of such imports breaking. The
failure scenario without the rule is that API goldens show unexpected
diffs, and types might be duplicated in a different package!
- keeping the `<amd-module` headers, but we manually insert them into
the package entry-points. This should ensure we don't regress
anywhere; while we also improved general safety around this above.
Long-term, isolated declarations or a lint rule from eslint-typescript
can make this even more robust.
PR Close #61312
2025-05-13 22:45:19 +00:00
Andrew Scott
b164ab909d
refactor(docs-infra): Clean up embedded editor code ( #61242 )
...
This commit cleans up the embedded editor code quite a bit by making
better use of current signal APIs
PR Close #61242
2025-05-12 15:32:26 -07:00
Matthieu Riegler
6e2fa1d57b
docs(docs-infra): preselect search text on re-open ( #61129 )
...
PR Close #61129
2025-05-12 15:25:52 -07:00
Jens Kuehlers
210f981a81
docs: change supported versions when v20 releases ( #61238 )
...
PR Close #61238
2025-05-09 10:33:35 -07:00
Matthieu Riegler
e3deb90b3f
refactor(core): remove compileComponents invocations ( #61032 )
...
Those weren't necessary.
PR Close #61032
2025-05-09 10:27:15 -07:00
Hakeem
dce62e706c
docs(docs-infra): limit the flexible width of the main content for better UX ( #58831 )
...
PR Close #58831
2025-05-09 10:24:16 -07:00
ahmadhakeem18
d7536996b7
docs(docs-infra): fix the global layout of the site ( #58831 )
...
take the full width of the page for all the pages that use docs-viewer, also reserve an area for table of contents on-demand
Resolves : #52648
PR Close #58831
2025-05-09 10:24:16 -07:00
Tom Adler
23ee85d071
docs: update the description of example ( #61205 )
...
PR Close #61205
2025-05-08 09:57:02 -07:00