Jeremy Elbourn
bb5a69c43c
fix(docs-infra): put content in <main> element ( #63121 )
...
This fix updates the adev `DocViewer` component to support rendering with the `main[docsViewer` selector so that the primary content for the page is inside of a `<main>` element (without introducing an extra DOM element).
PR Close #63121
2025-08-12 11:05:15 -07:00
Joey Perrott
b72ef65b08
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:33 -07:00
Cheng-Hsuan Tsai
aeb878bbc4
docs(docs-infra): fix inconsistent codeblock styles ( #63041 )
...
PR Close #63041
2025-08-07 09:09:22 -07:00
Joey Perrott
26f99b3dcd
build: migrate all npm packages to use new rules_js based npm_package rule ( #62989 )
...
Use a common rule for all npm_packages
PR Close #62989
2025-08-05 19:09:26 +00:00
Matthieu Riegler
3cbfc6759b
docs: disable stackblitz examples ( #62972 )
...
This isn't supported ATM.
PR Close #62972
2025-08-04 11:39:38 +02:00
Joey Perrott
875ea30d6b
build: remove ts_project_interop infrastructure ( #62909 )
...
Remove the interop macros and final usages
PR Close #62909
2025-07-31 09:14:25 +00:00
Joey Perrott
adbb19d40f
build: remove usages of runtime_rnjs_interop ( #62909 )
...
Remove all usages of the runtime_rnjs_interop feature
PR Close #62909
2025-07-31 09:14:25 +00:00
Joey Perrott
775f918192
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:28 +00:00
Joey Perrott
622e10881f
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:45 +02:00
Joey Perrott
2b0f3fc7cb
build: remove all usages of @bazel/runfiles ( #62805 )
...
Remove usages of @bazel/runfiles throughout the repository
PR Close #62805
2025-07-25 10:05:54 +02:00
Joey Perrott
b388f1e518
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62733 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62733
2025-07-21 13:10:18 -04:00
Angular Robot
a1a78b2e13
build: update all non-major dependencies ( #62716 )
...
See associated pull request for more information.
PR Close #62716
2025-07-21 10:22:12 -04:00
Joey Perrott
2bcdc66159
build: move all rule/macro loading into adev/defaults.bzl and fix intellisense loading ( #62629 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and adev/defaults
PR Close #62629
2025-07-16 16:34:05 -04:00
Joey Perrott
74beeeca3f
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
c526238751
build: set paths for devtools & adev ( #62574 )
...
This allows the IDE to find the right imports
PR Close #62574
2025-07-14 14:11:09 -07:00
Matthieu Riegler
22b56ca66f
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:44 -07:00
Matthieu Riegler
b935eff007
docs: fix CLI reference layout ( #62609 )
...
fixes #62602
PR Close #62609
2025-07-14 09:59:55 -07:00
Matthieu Riegler
ddd92585a9
docs(docs-infra): Add status to some guide entries. ( #62614 )
...
Guide entries can now have "new" or "updated" tags.
PR Close #62614
2025-07-14 09:58:14 -07:00
Matthieu Riegler
59de6400fa
docs(docs-infra): update update guide when changing level ( #62526 )
...
This commit also fixes the colors of the material button toggle
fixes #62432
PR Close #62526
2025-07-09 12:40:01 -07:00
Joey Perrott
62e3a70519
build: only require workspace build packages for web tests when provided ( #62498 )
...
Only use the builds from the workspace as for the bootstrap scripts for web testing
PR Close #62498
2025-07-07 15:26:37 +00:00
Joey Perrott
c4863d2f98
build: migrate all dependencies for adev into adev/package.json ( #62498 )
...
Migrate the dependencies into the adev/package.json instead of importing from the the root package.json
PR Close #62498
2025-07-07 15:26:37 +00:00
Joey Perrott
ffce768115
build: migrate remaing esbuild and nodejs_binary usages to new toolchain ( #62498 )
...
Migrate the remaing usages of esbuild and nodejs_binary in adev to the new toolchain versions.
PR Close #62498
2025-07-07 15:26:37 +00:00
Matthieu Riegler
2943591c27
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
f5a10209e0
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:03 +00:00
Shuaib Hasan Akib
18816a6066
refactor(docs-infra): removed unused imports ( #62441 )
...
Cleans up instances of unused imports in a few shared docs components.
PR Close #62441
2025-07-03 08:11:46 +00:00
Shuaib Hasan Akib
7570dfd532
refactor(docs-infra): cleanup lines in scss ( #62438 )
...
Cleans up some of the scss code.
PR Close #62438
2025-07-03 08:11:10 +00:00
Shuaib Hasan Akib
59983efa82
docs(docs-infra): replace deprecated RouterTestingModule with RouterModule.forRoot([]) ( #62364 )
...
PR Close #62364
2025-07-02 16:52:32 +00:00
Joey Perrott
0d5363a6d7
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
Joey Perrott
ad89f80969
build: migrate adev to use new sass ruleset ( #62297 )
...
Use the new sass ruleset for bazel sass building in adev
PR Close #62297
2025-06-27 09:25:43 +00:00
Angular Robot
5ccb81ec59
build: update dependency marked to v16 ( #62320 )
...
See associated pull request for more information.
PR Close #62320
2025-06-27 08:59:21 +00:00
Joey Perrott
b84859073b
build: migrate to use web test runner rules ( #62292 )
...
Migrate karma tests throughout the repo to use the new web test runner based rule instead
PR Close #62292
2025-06-26 17:19:10 +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
Matthieu Riegler
416553065a
docs(docs-infra): cookie consent should be top-most ( #62103 )
...
PR Close #62103
2025-06-18 10:40:52 +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
hawkgs
0b1d0459a4
docs(docs-infra): retain the results in the search dialog while typing ( #61935 )
...
Due to `resource()` not retaining its value while there is a request in progress, the results list flickers. The new `searchResults` signal retains that previous value until the request is completed.
PR Close #61935
2025-06-11 13:34:45 +02:00
Andrew Kushnir
0bd7c7d469
Revert "docs(docs-infra): retain the results in the search dialog while typing ( #61935 )" ( #61995 )
...
This reverts commit dbdfc2a99a .
PR Close #61995
2025-06-10 18:25:53 -07:00
hawkgs
dbdfc2a99a
docs(docs-infra): retain the results in the search dialog while typing ( #61935 )
...
Due to `resource()` not retaining its value while there is a request in progress, the results list flickers. The new `searchResults` signal retains that previous value until the request is completed.
PR Close #61935
2025-06-10 17:24:23 -07:00
hawkgs
e678050794
docs(docs-infra): implement search history ( #61866 )
...
Add history of searches to the search dialog of A.dev.
PR Close #61866
2025-06-06 12:36:23 -07: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
Angular Robot
78c417ace1
build: update cross-repo angular dependencies ( #61910 )
...
See associated pull request for more information.
PR Close #61910
2025-06-06 10:30:47 +02:00
Angular Robot
e90bfc509c
build: update cross-repo angular dependencies to ^20.1.0-next ( #61880 )
...
See associated pull request for more information.
PR Close #61880
2025-06-05 14:08:33 +02:00
Hakeem
08eded75ff
docs(docs-infra): fix callouts icon collision with the content ( #61664 )
...
PR Close #61664
2025-06-05 10:00:30 +02:00
Hakeem
58741dd18a
docs(docs-infra): handle fractional sizes between max and min widths vals ( #61600 )
...
PR Close #61600
2025-06-04 11:41:50 -04:00
Matthieu Riegler
e555c7f0dd
docs(docs-infra): use modern apis ( #61706 )
...
PR Close #61706
2025-06-03 10:28:20 -04:00