Matthieu Riegler
16e61f5dd0
docs(docs-infra): Add support for experimental enum entries
2025-11-11 08:46:06 -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
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
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
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
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
Matthieu Riegler
1ffc643737
docs(docs-infra): fix @example in class members ( #64249 )
...
eg: ApplicationRef
PR Close #64249
2025-10-06 15:11:31 -04:00
Matthieu Riegler
5eb9f57ae8
docs: Introduce API category sorting ( #63914 )
...
PR Close #63914
2025-09-19 14:44:10 +00:00
Matthieu Riegler
31c689a5f4
docs(docs-infra): highlight & parse api descriptions. ( #63536 )
...
The prevent future regression of this, this commit introduces additional tests.
PR Close #63536
2025-09-02 16:49:10 +00:00
Joey Perrott
b4ae94d5ef
refactor: remove TODOs which have been corrected ( #63421 )
...
Remove TODOs which were addressed but the comment was not removed
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
c15b8ed631
build: enable strict deps enforcement for ts_project ( #63375 )
...
Enable strict_deps testings for all ts_project and ng_project targets in the repo
PR Close #63375
2025-08-26 09:46:30 -07:00
Matthieu Riegler
47dc4ffd1a
docs(docs-infra): share markdown rendering and highlighting code between api-gen and guides ( #63357 )
...
This reduces code duplication and improves the maintability.
PR Close #63357
2025-08-25 15:33:55 -07:00
Matthieu Riegler
da06239a41
docs(docs-infra): Add exemption list for linking symbols. ( #63309 )
...
PR Close #63309
2025-08-21 10:05:55 -07:00
Matthieu Riegler
2aa9775078
docs(docs-infra): remove temporary shiki dts ( #63253 )
...
The tooling now supports reading `d.mts` typing files
PR Close #63253
2025-08-20 09:26:17 +00:00
Alan Agius
494385cac0
fix(docs-infra): allow wrapping of types-and-default CLI options ( #63211 )
...
This change fixes an issue where long lists of enum values would display on a single line, running off the screen, especially on mobile devices.
PR Close #63211
2025-08-18 12:52:03 +02:00
Alan Agius
1714e9ea0e
fix(docs-infra): display value type in CLI pages ( #63211 )
...
The value type was not being displayed when a value had an enum, which was misleading. This change ensures the value type is always shown, so users know whether to expect a single value or an array of values.
PR Close #63211
2025-08-18 12:52:03 +02:00
Matthieu Riegler
93c735cae7
docs: fix edit links for block/element api entries ( #62766 )
...
PR Close #62766
2025-08-14 13:03:00 +02:00
Joey Perrott
c4dcfdf644
build: update to the latest version of devinfra and rename npm2 workspace ( #63093 )
...
Rename the npm2 workspace to npm and use the latest version of devinfra which drops rules_nodejs
PR Close #63093
2025-08-11 10:35:32 -07:00
Ryan Bendel
d24d5742db
feat(platform-browser): Add IsolatedShadowDom encapsulation method ( #62723 )
...
IsolatedShadowDom encapsulation fixes style leakage in Shadowdom encapsulation by removing sharedstyleshost from dom-renderer IsolatedShadowdom class. Updates docs.
PR Close #62723
2025-08-06 16:48:37 +02:00
Joey Perrott
cbc258eec8
build: remove ts_project_interop infrastructure ( #62908 )
...
Remove the interop macros and final usages
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
008ed216d3
build: remove usages of runtime_rnjs_interop ( #62908 )
...
Remove all usages of the runtime_rnjs_interop feature
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
49b7729e88
build: remove usages of rules_nodejs ( #62885 )
...
Remove rules_nodejs usages with direct migrations to rule_js alternatives
PR Close #62885
2025-07-30 08:51:27 +00:00
Joey Perrott
32c00ab416
build: standardize usage of js_binary ( #62860 )
...
Remove usages of nodejs_binary and use a commonly defined js_binary macro
PR Close #62860
2025-07-29 06:43:44 +02:00
Joey Perrott
caee6ff8e7
build: remove all usages of @bazel/runfiles ( #62804 )
...
Remove usages of @bazel/runfiles throughout the repository
PR Close #62804
2025-07-25 10:04:55 +02:00
Joey Perrott
8bf97d1370
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62732 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62732
2025-07-21 13:03:09 -04:00
Joey Perrott
e8c5603126
build: move all rule/macro loading into adev/defaults.bzl and fix intellisense loading ( #62627 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and adev/defaults
PR Close #62627
2025-07-14 15:47:05 -07:00
Matthieu Riegler
2d048d5520
test(docs-infra): Use the zoneless testing rule ( #62596 )
...
This will spare use the warning logs when the tests run.
```
NG0914: The application is using zoneless change detection, but is still loading Zone.js. Consider removing Zone.js to get the full benefits of zoneless. In applications using the Angular CLI, Zone.js is typically included in the "polyfills" section of the angular.json file.
```
PR Close #62596
2025-07-14 11:36:43 -07:00
Matthieu Riegler
00afc73f67
docs: fix CLI reference layout ( #62609 )
...
fixes #62602
PR Close #62609
2025-07-14 09:59:54 -07:00
Matthieu Riegler
5c54cb87a5
docs: improve support for decorator APIs ( #60411 )
...
The commit introduce the distinction between
- class like decorators (like Component, Interface, NgModule. They are formatted like classes/interfaces, with each attribute being documents.
- function like decorators (Attribute, Host, Optional...)
PR Close #60411
2025-07-03 11:51:34 +00:00
Matthieu Riegler
08e6e7bf37
docs: display deprecation message for top most symbol ( #62427 )
...
For classes, types, functions, enums etc.
fixes #62365
PR Close #62427
2025-07-03 08:35:01 +00:00
Joey Perrott
73434e366f
build: migrate all dependencies for adev into adev/package.json ( #62435 )
...
Migrate the dependencies into the adev/package.json instead of importing from the the root package.json
PR Close #62435
2025-07-03 08:09:34 +00:00
Joey Perrott
2050ffa691
build: migrate remaing esbuild and nodejs_binary usages to new toolchain ( #62435 )
...
Migrate the remaing usages of esbuild and nodejs_binary in adev to the new toolchain versions.
PR Close #62435
2025-07-03 08:09:33 +00:00
Joey Perrott
4fae4dbba8
build: migrate adev to use packaged version of @angular/* packages ( #62413 )
...
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles
PR Close #62413
2025-07-02 16:10:25 +00:00
Matthieu Riegler
44782beea7
docs(docs-infra): fix & simplify scrolling for code blocks ( #62179 )
...
PR Close #62179
2025-06-23 14:19:34 +02:00
Joey Perrott
1182fe7053
build: migrate to usages of @devinfra// instead of @npm//@angular/build-tooling ( #62050 )
...
Use workspace imported devinfra deps instead of npm dep
PR Close #62050
2025-06-16 10:23:30 +02:00
Joey Perrott
9c0b41796e
build: migrate adev to use new jasmine_test ( #62034 )
...
Use jasmine_test instead of jasmine_node_test in adev
PR Close #62034
2025-06-13 12:30:15 +02:00
Paul Gschwendtner
fa123803b4
build: update api-gen to work with compiler as ts_project ( #61566 )
...
Compiler now would have `.js` files. Those aren't picked up as ESM,
unless we install the `package.json` with `type: module`. Sounds great
on paper, but doesn't work in reality because the way the compiler
packages are available to `api-gen/` is via the old `rules_nodejs`
linker, so the `packages/package.json` wouldn't work; nor do the
`package.json`s of the e.g. compiler-cli package work- because those
already contain the `exports` of the built npm package.
We fix this in a much more reasonable way, and the whole module
resolution problem by leveraging the pnpm linking here. This works as
expected.
PR Close #61566
2025-05-29 14:39:10 -04:00
Alan Agius
9832e72fc3
build: disable esbuild metadata file generation ( #61636 )
...
Disables creation of the esbuild meta.json file, which is not utilized in the build process. This streamlines the output and avoids generating unused artifacts.
PR Close #61636
2025-05-26 08:57:41 +00:00
Matthieu Riegler
f1f37896c5
docs(docs-infra): display CLI enum values for enums ( #61521 )
...
fixes #61516
PR Close #61521
2025-05-20 16:54:12 +00:00
Joey Perrott
ef0f1a4ca8
build: move ts_project and ng_project for adev into a macro ( #61319 )
...
Move ts_project and ng_project into a macro for adev/ instead of providing a custom
tsconfig on every target
PR Close #61319
2025-05-20 08:48:29 +00:00
Matthieu Riegler
ca700e1def
docs(docs-infra): Improve formatting of functions ( #61154 )
...
The commit introduce prettier to format some API entries.
For now we'll do only functions are other are a bit more complex because of the support of deprecation.
fixes #59211
PR Close #61154
2025-05-16 13:58:35 +00:00
Joey Perrott
5f1c08d75f
build: migrate adev shared-docs package to use ts_project ( #61193 )
...
Migrate the build rules for shared docs to use ts_project
PR Close #61193
2025-05-09 16:30:05 +00:00
Paul Gschwendtner
10bc80a788
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:46 +00:00
Paul Gschwendtner
54e785683a
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:46 +00:00
Miles Malerba
47e44c8af0
docs: update rendering to use generated repo link ( #61130 )
...
PR Close #61130
2025-05-06 14:07:32 -07:00
Miles Malerba
72284bcda5
docs: update API generation to include repo name ( #61130 )
...
PR Close #61130
2025-05-06 14:07:31 -07:00
Miles Malerba
e0248aae6a
docs: hide entries that are marked @docs-private ( #61104 )
...
PR Close #61104
2025-05-05 08:43:30 -07:00
Matthieu Riegler
f580318411
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
Andrew Scott
344ea29f7a
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
hawkgs
d8204bf584
docs(docs-infra): fix function api ref header width ( #61022 )
...
Fix the width of the function API reference header when the viewport width is for-desktop-down.
PR Close #61022
2025-04-28 10:01:40 -07:00