Shuaib Hasan Akib
6a616f81f3
docs(docs-infra): code style improvement and component update ( #63557 )
...
- Improved code style consistency in docs-infra
- Updated app.component.ts for enhancements
Co-authored-by: Matthieu Riegler <kyro38@gmail.com>
PR Close #63557
2025-09-15 15:02:24 +00:00
Shuaib Hasan Akib
ad1f106f6d
docs(docs-infra): prevent empty h3 tags when title is empty ( #63573 )
...
Conditionally render h3 element only when title attribute has content
PR Close #63573
2025-09-08 14:50:47 -07:00
Shuaib Hasan Akib
f2ec6fbfa7
docs(docs-infra): quote title attributes in links ( #63578 )
...
Prevent broken HTML when link titles contain spaces by properly quoting the title attribute
PR Close #63578
2025-09-08 10:14:48 -07:00
Alan Agius
c3303a5f75
test: increase mermaid spec timeout to reduce flakes ( #63610 )
...
The mermaid spec test can be flaky due to timeouts. This commit increases the timeout to 25 seconds to make the test more reliable.
PR Close #63610
2025-09-05 12:53:50 -07:00
Cheng-Hsuan Tsai
f697995c26
docs(docs-infra): allow collapse code example ( #63559 )
...
PR Close #63559
2025-09-04 15:25:24 -07:00
Matthieu Riegler
c664af8dec
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:11 +00:00
Joey Perrott
705b94bd21
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
Matthieu Riegler
e220a615d1
docs(docs-infra): patch port changes from main ( #63394 )
...
This sync some of the changes we have on the main branch will allow more upcomming changes to land via a single PR.
PR Close #63394
2025-08-26 09:48:03 -07:00
Joey Perrott
a26d94d979
build: enable strict deps enforcement for ts_project ( #63376 )
...
Enable strict_deps testings for all ts_project and ng_project targets in the repo
PR Close #63376
2025-08-25 15:38:12 -07:00
Matthieu Riegler
a649d85de1
refactor(docs-infra): ensure we're not creating nested anchor elements. ( #63352 )
...
With #63162 , we added automatic link creation on API symbols. The side effect was that we created HTML in some specific cases. For example with the docs-card we could have nested anchor elements which is invalid.
This commit prevent creating nested links inside docs-cards.
fixes #63351
PR Close #63352
2025-08-25 08:16:21 -07:00
Matthieu Riegler
020e0f0424
refactor(docs-infra): rename testing into test. ( #63352 )
...
We usually name `test` our test directories and `testing` for the testing helpers.
PR Close #63352
2025-08-25 08:16:21 -07:00
Matthieu Riegler
eef93f5a7b
docs(docs-infra): auto-links to API entries ( #63283 )
...
This is a first step to create links to API entries automatically.
It adds support for
- code spans (`` `symbol` ``)
- code blocks (`` ```some code here``` ``)
Links are generated from on a K/V map of API entries (symbol => package name).
The map is generated from the API manifest that we're already generating for the API docs.
For the moment, entries with identical names are skipped.
This is a backport of #63162
PR Close #63283
2025-08-22 14:42:17 -07:00
Matthieu Riegler
49e00b306a
docs(docs-infra): fix mermaid rendering ( #63311 )
...
A recent update of mermaid change the html output. `rect` became `path`.
fixes #63308
PR Close #63311
2025-08-21 10:06:32 -07:00
Matthieu Riegler
c0eb0cb7a5
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:18 +00:00
Joey Perrott
38b9b79c29
build: move from using WORKSPACE to MODULE.bazel ( #63249 )
...
Update to use MODULE.bazel
PR Close #63249
2025-08-20 08:27:00 +00:00
Alan Agius
0eb550e297
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:05 +02:00
Alan Agius
c7440dddef
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:04 +02:00
Matthieu Riegler
8747f9ad55
docs: fix edit links for block/element api entries ( #62766 )
...
PR Close #62766
2025-08-14 13:03:01 +02:00
Joey Perrott
a6a2e38e5c
build: update to bazel 7.6.0 ( #63096 )
...
Update to later version of bazel
PR Close #63096
2025-08-14 13:01:32 +02:00
Andrew Scott
d9f0e6b27c
Revert "feat(platform-browser): Add IsolatedShadowDom encapsulation method ( #62723 )" ( #63142 )
...
This reverts commit d24d5742db . A
legitimate issue was raised in the original commit
(see d24d5742db (commitcomment-163853393) )
PR Close #63142
2025-08-13 11:12:59 -07:00
Joey Perrott
a92dea5b99
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:34 -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
Joey Perrott
eca2334df5
docs: correctly look for examples in the bin_dir instead of execPath ( #62632 )
...
Properly look for the example files for live previews in the bin_dir
PR Close #62632
2025-07-14 14:49:16 -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
Saujan Ghimire
d4b96f8c20
docs: embeded best practices in page ( #62173 ) ( #62198 )
...
PR Close #62198
2025-06-24 08:52:24 +00:00
Joey Perrott
36d5048429
build: migrate final non-zone.js jasmine tests ( #62169 )
...
Migrate the final remaining non-zone.js package jasmine tests to the new toolchain
PR Close #62169
2025-06-24 08:46:39 +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
Matthieu Riegler
5f31bbac65
docs: add css to the supported language for highligting in docs-code ( #62178 )
...
css usage was introduced by #60984
PR Close #62178
2025-06-23 14:18:53 +02:00
Andrew Kushnir
4c14503efb
Revert "docs: embeded best practices in page ( #62173 )" ( #62193 )
...
This reverts commit 286f9f573e .
PR Close #62193
2025-06-22 09:14:11 -07:00
Matthieu Riegler
286f9f573e
docs: embeded best practices in page ( #62173 )
...
PR Close #62173
2025-06-20 15:29:24 -07: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
978b1aceeb
docs: fix broken reveal answer button ( #61925 )
...
The reveal answer button accidentally loads files into the embedded
editor that aren't properly relativized. This ends up switching the
currently open file to a different file, unexpectedly.
In addition, due to the incorrect paths, files like `favicon.ico` end up
being loaded in the embedded editor; resulting in a bad experience as
the images are shown as plain text.
PR Close #61925
2025-06-06 11:26:44 +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
Andrew Scott
8cf7e2302f
docs: update tutorials and playground to v20 ( #61726 )
...
update boilerplates to use v20 final
PR Close #61726
2025-05-28 09:41:42 -07:00
Matthieu Riegler
c77e198f5d
docs(docs-infra): limit file interactions on tutorials. ( #61696 )
...
The restricted mode on the code editor prevents renaming, deleting or adding files.
PR Close #61696
2025-05-27 11:33:10 -07: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