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
Andrew Scott
3d9cb63847
refactor(docs-infra): Remove rethrowing error handler ( #61243 )
...
This is no longer necessary since the work in the FW to rethrow in the
TestBed error handler.
PR Close #61243
2025-05-09 10:40:15 -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
Joey Perrott
345d3d8f8a
build: migrate adev shared-docs package to use ts_project ( #61218 )
...
Migrate the build rules for shared docs to use ts_project
PR Close #61218
2025-05-09 16:30:44 +00:00
Paul Gschwendtner
1ce146bdbe
build: migrate compiler-cli/src/ngtsc to ts_project ( #61181 )
...
Migrates all of `compiler-cli/src/ngtsc` to `ts_project`. This change
was generated using Gemini.
PR Close #61181
2025-05-09 15:59:47 +00:00
Paul Gschwendtner
b07a2dfce1
build: prepare for compiler-cli to be using ts_project ( #61181 )
...
Prepare the compiler-cli package for being ready for migration
to `ts_project`.
PR Close #61181
2025-05-09 15:59:47 +00:00
Tom Adler
23ee85d071
docs: update the description of example ( #61205 )
...
PR Close #61205
2025-05-08 09:57:02 -07:00
Angular Robot
1aeb71c3ea
docs: update Angular CDK apis [20.0.x] ( #61203 )
...
Updated Angular CDK api files.
PR Close #61203
2025-05-08 09:48:06 -07:00
Vlad Boisa
8a3397c1ee
docs: swap the anchor to the correct one ( #61200 )
...
The anchor on the link - is not working, swap the anchor to the correct one
PR Close #61200
2025-05-08 09:43:33 -07:00
Tom Adler
9cb045160a
docs: update descriptions of examples ( #61207 )
...
PR Close #61207
2025-05-08 09:40:21 -07:00
Jan Martin
9678a30c43
docs: document preventDefault() behavior for event listeners ( #61184 )
...
The `false` behavior has existed for a long time but hasn't really
been documented. It's also not _quite_ what the browser would do.
Finally, the page explicitly discourages the implicit `false` way
of preventing default. Biggest motivation (beyond code clarity) are
potential footguns like `(click)="myProp=x()"` which happens to prevent
default behavior iff `x()` happens to return `false`.
Fixes https://github.com/angular/angular.io/issues/2568
PR Close #61184
2025-05-07 11:21:46 -07:00
Matthieu Riegler
886d462ebc
docs: update versions support for v20 ( #61180 )
...
PR Close #61180
2025-05-07 11:20:47 -07:00
Tom Adler
09af19a8b9
docs: fix case of variable name ( #61177 )
...
PR Close #61177
2025-05-07 11:19:57 -07:00
Angular Robot
e13bf69c88
docs: update Angular CDK apis [20.0.x] ( #61161 )
...
Updated Angular CDK api files.
PR Close #61161
2025-05-07 11:19:04 -07:00
cexbrayat
5aaeecc7bd
docs: update references of afterEveryRender ( #61159 )
...
Since `afterRender` has been renamed `afterEveryRender`, some docs needed to be updated.
PR Close #61159
2025-05-07 11:17:56 -07:00
Matthieu Riegler
0b1428e960
docs(docs-infra): Version info are pulled from an json file. ( #60870 )
...
It should pull the file from the main adev site and fallback to local data is anything goes wrong
PR Close #60870
2025-05-07 11:13:56 -07:00
Miles Malerba
2d9eaeefa6
docs: update rendering to use generated repo link ( #61130 )
...
PR Close #61130
2025-05-06 14:07:32 -07:00
Miles Malerba
67adcd8c9b
docs: update API generation to include repo name ( #61130 )
...
PR Close #61130
2025-05-06 14:07:32 -07:00
Alan Agius
9793693f5b
refactor: add Node.js 24 as supported version ( #61142 )
...
Node.js 24 has been released https://nodejs.org/en/about/previous-releases
Closes : #61140
PR Close #61142
2025-05-06 13:38:25 -07:00
Andrew Kushnir
8898328608
Revert "docs(docs-infra): fix first-app intro example ( #61042 )" ( #61145 )
...
This reverts commit ab91a355f8 .
Revert reason: the change causes CI to fail (the `lint` CI job).
PR Close #61145
2025-05-06 11:06:24 -07:00
Tom Adler
121e0e6b9f
docs: fix whitespace after a link ( #61136 )
...
PR Close #61136
2025-05-06 10:25:51 -07:00
Matthieu Riegler
116a97a031
docs(docs-infra): fix first-app intro example ( #61042 )
...
fixes #60844
PR Close #61042
2025-05-06 09:07:28 -07:00
Alan Agius
ff943e310d
docs: update ssr docs to include prerendering wildcards ( #61116 )
...
This feature was introduced in version 20.
PR Close #61116
2025-05-05 17:02:29 -07:00
Andrew Scott
33f2ea83fc
refactor(core): Remove use of private export PendingTasksInternal where possible ( #61049 )
...
This commit removes the use of the privately exported
PendingTasksInternal everywhere except for Router. A follow-up change
will be done to remove that one as well and delete the private export.
PR Close #61049
2025-05-05 08:56:20 -07:00
oliv37
7ec40db118
docs(docs-infra): update use production configuration ( #61112 )
...
PR Close #61112
2025-05-05 08:45:03 -07:00
Miles Malerba
c9ffcb145c
docs: hide entries that are marked @docs-private ( #61104 )
...
PR Close #61104
2025-05-05 08:43:30 -07:00
Angular Robot
05e4bb4c50
docs: update Angular CDK apis [20.0.x] ( #61092 )
...
Updated Angular CDK api files.
PR Close #61092
2025-05-02 07:54:18 -07:00
Jessica Janiuk
f8625403d8
docs: add guide for using native CSS animations ( #60984 )
...
This adds a guide for how to switch from the
angular animations package over to native CSS
animations.
PR Close #60984
2025-05-02 07:52:10 -07:00
Matthieu Riegler
0b0bd369b5
docs(docs-infra): Add version of introduction for APIs ( #60814 )
...
For new APIs we'll mention since when a particular API is in its current status (experimental, devPreview, stable)
fixes #49668
PR Close #60814
2025-05-02 07:51:33 -07:00
Miles Malerba
bbdb16621a
ci: add a script to copy cdk api files to adev ( #61081 )
...
Refactors the update-cli-help script into a generic script to copy json
assets, and uses the shared code to also copy the CDK apis
PR Close #61081
2025-05-01 15:00:43 -07:00
Andrew Miller
d7fac2dab1
docs: Add docs for CoC plugin with neovim ( #61005 )
...
When docs were moved from aio to adev, the directions for the CoC plugin
were mistakenly dropped.
This brings back the documentation from prior versions:
https://v17.angular.io/guide/language-service#neovim
PR Close #61005
2025-05-01 08:41:48 -07:00
Andrew Scott
4b84de7399
refactor(docs-infra): remove 'experimental' from cli entry ( #61067 )
...
this removes the experimental prefix from zoneless entry in fake cli
PR Close #61067
2025-04-30 14:16:55 -07:00
Angular Robot
2bddce2612
docs: update Angular CLI help [main] ( #61048 )
...
Updated Angular CLI help contents.
PR Close #61048
2025-04-30 08:25:47 -07:00