Alan Agius
28c00cbc8b
build: update cross-repo angular dependencies ( #59048 )
...
This is a cherry-pick of #59011
PR Close #59048
2024-12-04 18:21:59 +01:00
hawkgs
7ad1f27d83
feat(docs-infra): use angular-ts and angular-html shiki highlighting ( #59004 )
...
Use `angular-ts` instead of `typescript` and `angular-html` instead of `html`.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
e18adff76d
refactor(docs-infra): update comments ( #59004 )
...
Add missing file header comments and update others.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
6338c1bece
test(docs-infra): interpolation mechanism ( #59004 )
...
Test all use cases that are supported by the interpolation mechanism.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
54a1bcee20
fix(docs-infra): minor bug fixes ( #59004 )
...
Minor bug fixes found and implemented during testing.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
dc8fd113a5
test(docs-infra): add initial test ( #59004 )
...
Setup the test suite and add the initial test.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
e0aa93e67f
fix(docs-infra): markdown code block highlighting for the different file types ( #59004 )
...
Set the code block language highlighting based on the file type.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
7e4d312aed
feat(docs-infra): remove redundant JSDoc transform related to code examples ( #59004 )
...
The transform is no longer relevant nor it served any functional purpose.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
8eb20463bf
fix(docs-infra): handle regions overlap and multiple-regions examples ( #59004 )
...
It seems that there are overlapping region markers and an example can be composed by multiple regions.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
d75c4d2d12
fix(docs-infra): interpolation script nesting ( #59004 )
...
Add support for nested #docregion-s and modify the examples caching.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
3c0e4938a7
feat(docs-infra): implement interpolation script ( #59004 )
...
The script substitutes the JSDoc example tags with the respective code sample.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
41a600f3ae
feat(docs-infra): include code examples files in the API gen ( #59004 )
...
The code examples in `package/examples` are now passed to the API JSON generator.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
7d2308f8ba
feat(docs-infra): move members descriptions section to the center of the page ( #58610 )
...
Move the members description section below the main content of the page since it is part of the core information about a doc item. The CLI reference details page is affected as well.
PR Close #58610
2024-12-04 15:26:15 +01:00
hawkgs
b8a2ae01d5
docs: fix missing alert block styles in the API reference ( #59020 )
...
Substitute legacy alert classes with the new ones.
PR Close #59020
2024-12-04 11:02:43 +01:00
Alan Agius
5cd35cb9d1
docs: remove extra spacing from DI token note ( #59023 )
...
This commit removes extra spacing.
PR Close #59023
2024-12-03 16:14:17 +01:00
Angular Robot
bc5ca99678
build: update all non-major dependencies to ~5.5.0 ( #59016 )
...
See associated pull request for more information.
PR Close #59016
2024-12-03 10:32:37 +01:00
Emmanuel DEMEY
af6280d06f
docs: add import for toObservable ( #58991 )
...
Add import for toObservable in signals-interop.md
PR Close #58991
2024-12-02 16:39:02 +01:00
Kauan Manzato do Nascimento
4a03b7453b
docs: fix a typo in an example in Templates page ( #58985 )
...
Fix a typo in an example in Templates page in
Essentials section of Angular Docs.
Instead of "Profile file", the correct would be
"Profile for", according to the example's template.
PR Close #58985
2024-12-02 16:32:36 +01:00
Angular Robot
0fe3760626
build: lock file maintenance ( #58998 )
...
See associated pull request for more information.
PR Close #58998
2024-12-02 16:29:03 +01:00
Matthieu Riegler
9a87aa398b
docs(docs-infra): read jsdoctags from function overloads ( #58994 )
...
Functions like `linkedSignal` have there `@developerPreview` tags on the overload signature. This commit adds the support for them.
This commit also removes the logic for multiple entries, as now overloads are a single entry.
fixes #58817
PR Close #58994
2024-12-02 16:17:02 +01:00
Máté Gyöngyösi
e4b85d15d4
docs(docs-infra): add missing dot ( #58993 )
...
PR Close #58993
2024-12-02 10:44:41 +01:00
Hakeem
028cf73f7c
docs(docs-infra): handle the long API names in the API cards ( #58986 )
...
PR Close #58986
2024-12-02 08:54:37 +01:00
PrajaktaB27
db7ea92a26
docs: update two-way binding example in documentation ( #58963 )
...
PR Close #58963
2024-11-29 14:56:39 +01:00
Jens Kuehlers
3954036485
docs: update state of JS banner expiry ( #58966 )
...
PR Close #58966
2024-11-29 14:53:50 +01:00
Alan Agius
5ae0d32d51
docs: correctly display note about DI tokens ( #58967 )
...
The breakline was breaking the note UI
PR Close #58967
2024-11-29 14:52:31 +01:00
Michael Small
9bee4a3c08
docs: fix IMPORTANT for "Animating the items of a reordering list" ( #58938 )
...
The specialized `IMPORTANT` highlighting was not being applied to the message, due to a line break.
PR Close #58938
2024-11-28 17:53:55 +01:00
aboudard
cca70cbc62
docs: add missing output migration page ( #58942 )
...
This change adds a page to document the output migration schematics
PR Close #58942
2024-11-28 17:46:38 +01:00
Paweł Kubiak
3eedb98df2
fix(docs-infra): do not focus h1 from docs-top-level-banner ( #57698 )
...
fix(docs-infra): do not focus h1 from docs-top-level-banner
Do not focus heading from docs-top-level-banner.
Move the `Skip to main content` button to the top of DOM tree.
PR Close #57698
2024-11-28 17:40:53 +01:00
robertIsaac
ea4acaf9eb
docs(core): Update linked-signal.md ( #58756 )
...
fix multiple issues with the existing code
1. `shippingOptions` was accessed without `this.` which produces error in realtime
2. the logic in calculating of the item exist or not was not correct since it was comparing the object to the id
3. I'm not sure why, but step 3 fail without stating typing for LinkedSignal, so I added it
PR Close #58756
2024-11-28 17:39:21 +01:00
Hakeem
bc6efa758d
docs(docs-infra): fix the overscroll behavior of the search dialogue ( #58948 )
...
since the dialogue shows on top of other scrollable elements of the page, then the overscroll behavior should be contain for better UX.
Resloves: #58947
PR Close #58948
2024-11-28 17:37:21 +01:00
Matthieu Riegler
dabbeb6498
docs(docs-infra): don't use URL to check for external links ( #58955 )
...
For perf reasons, it is more efficient to not rely on creating an `URL` object. Instead we check for the explicit protocol to detect external links.
This will also force us to use relative links, so archived versions & next versions navigate on the current version of the site.
fixes #58954
PR Close #58955
2024-11-28 16:43:28 +01:00
hawkgs
293dce929d
docs(docs-infra): remove redundant nav menu items from the DOM in the reference ( #58934 )
...
The DOM is cluttered with a lot of nav item UL-s that are not visible to the end user due to the usage of multiple docs-navigation-list instances that render the full navigation tree recursively instead of only the preselected visible levels.
PR Close #58934
2024-11-28 10:14:52 +01:00
kirjs
d6f4b104e3
docs(docs-infra): Drop standalone: true ( #58914 )
...
This is now the default value, so safe to remove
PR Close #58914
2024-11-28 09:43:28 +01:00
Matthieu Riegler
8c49a14c6e
docs(docs-infra): remove unused api-examples ( #58885 )
...
PR Close #58885
2024-11-27 18:05:08 +01:00
Michael Small
3145ca4fed
docs: remove dev preview warning for rxjs-interop in output page ( #58937 )
...
`outputFromObservable` and `outputToObservable` from `@angular/core/rxjs-interop` were recently promoted to `@publicApi`.
PR Close #58937
2024-11-27 18:04:15 +01:00
Enea Jahollari
9660d69a7a
docs(docs-infra): remove unused code ( #58925 )
...
Removed unused code from docs infra
PR Close #58925
2024-11-27 16:57:46 +01:00
Angular Robot
c64f0d86f8
build: update cross-repo angular dependencies to v19.1.0-next.0 ( #58927 )
...
See associated pull request for more information.
PR Close #58927
2024-11-27 16:22:57 +01:00
Enea Jahollari
2e4e485655
refactor(docs-infra): use interpolation instead of innerHTML for better perf ( #58913 )
...
Using innerHTML will cause the browser to parse the HTML and then create a DOM tree instead of just using normal interpolation.
PR Close #58913
2024-11-27 10:59:18 +01:00
Utku Gultopu
4852e57d9a
docs: capitalize webpack with a lowercase W ( #56812 )
...
PR Close #56812
2024-11-26 22:24:11 +00:00
Amirhossein Akbari
4246f43556
docs: add references to Vite DevServer Proxy documentation ( #58077 )
...
PR Close #58077
2024-11-26 22:23:01 +00:00
Angular Robot
f6e448529f
build: update cross-repo angular dependencies to ^19.1.0-next ( #58910 )
...
See associated pull request for more information.
PR Close #58910
2024-11-26 20:08:15 +00:00
Enea Jahollari
43309d066d
docs: use modern api for environment initializer ( #58904 )
...
Refactor appConfig to use the new api and remove the deprecated api
PR Close #58904
2024-11-26 18:10:21 +00:00
Hakeem
914f540a43
fix(docs-infra): fix cards not shown if we hit the API page without active API tab ( #58883 )
...
since we are only updating the members margin at the constructing phase,
we should not disable this operation if user hit the page with tabs different than API active,
otherwise if user switched to the API page he won't see the cards since members margin equals zero and docs viewer won't be shown
Resolves #58882
PR Close #58883
2024-11-26 14:47:35 +00:00
Matthieu Riegler
fbf0c8226e
docs: fix @let roadmap tile. ( #58886 )
...
Prior to this change, we generated an invalid HTML with nested anchor elements. Those are not valid and are recovered by the browser by closing one early which messed the layout.
fixes #58884
PR Close #58886
2024-11-26 14:45:50 +00:00
Julian Gong
f0ecbe62de
docs: update link for language service config for neovim ( #58479 )
...
PR Close #58479
2024-11-25 21:22:48 +00:00
Pawel Kozlowski
b8a450bbed
refactor(docs-infra): use input bindings in docs component ( #58826 )
...
Use reactive inputs instead of manually getting data from the
currently activated route.
PR Close #58826
2024-11-25 15:23:54 +00:00
Sheik Althaf
9a9d1bfcdc
refactor(docs-infra): remove deprecated modules from testing and use alternatives ( #58847 )
...
Removed the deprecated modules used in testing files and instead used the alternative one
PR Close #58847
2024-11-25 15:23:10 +00:00
Matthieu Riegler
b21f96dc0e
docs(docs-infra): display navigation items as HTML. ( #58093 )
...
fixes #57872
PR Close #58093
2024-11-25 15:22:33 +00:00
Angular Robot
fa84477f26
build: lock file maintenance ( #58867 )
...
See associated pull request for more information.
PR Close #58867
2024-11-25 15:21:03 +00:00
vladboisa
a41ac8329a
docs(docs-infra): changed default type to object ( #58289 )
...
By API returned type is object, not any, rephrase docs and TIP
Fixes #58273
docs: change type from object to Object
Change the typo from object to Object
Co-authored-by: Matthieu Riegler <kyro38@gmail.com >
PR Close #58289
2024-11-22 20:30:44 +00:00