Commit Graph

857 Commits

Author SHA1 Message Date
m-housni eebde48243 docs: fix typo in code example (#59235)
PR Close #59235
2024-12-18 09:37:22 -08:00
Sandeep Chaurasia 3b73a732bc Update defer.md (#59231)
There was an extra Z letter which I think not neccessary.
PR Close #59231
2024-12-18 09:36:21 -08:00
Avcharov 8333ef78dc docs: Fix Code of Conduct Readme link (#59217)
PR Close #59217
2024-12-17 12:54:19 -08:00
Jessica Janiuk 46c13eecda docs: add anti-patterns and notes about 3rd party scripts (#59210)
Some users are confused by the requirements of hydration around DOM manipulation, and this adds some clarity around those requirements.

PR Close #59210
2024-12-17 09:29:32 -08:00
Paul 241416ecbc docs(elements): Add limitations section (#58194)
PR Close #58194
2024-12-17 09:28:44 -08:00
Vlad Boisa add84dd803 docs(docs-infra): replace newline with <br> (#59156)
Replace the "\n" new line operator with <br> for wrap the text.
PR Close #59156
2024-12-16 16:31:08 -08:00
Angular Robot b4f38e5d47 build: lock file maintenance (#59202)
See associated pull request for more information.

PR Close #59202
2024-12-16 15:22:38 -08:00
Lang dcc57220cc docs: remove unused import from example (#59200)
PR Close #59200
2024-12-16 15:21:24 -08:00
Lang f9e6db94ec docs: use arrays in the impure pipe example (#59196)
PR Close #59196
2024-12-16 15:19:47 -08:00
Matthieu Riegler cf27cbb1f8 docs(docs-infra): remove costly localeCompare (#59106)
This function wasn't necessary, the items where already sorted.

fixes #59069d

PR Close #59106
2024-12-16 15:18:39 -08:00
Josh Benner 6f66b0443a docs: Fix Dependency Injection Readme guide link (#59193)
PR Close #59193
2024-12-16 11:34:46 -08:00
Alan Agius 9203276235 docs: update i18n deployment docs to use subPath option (#59166)
This option replaces the baseHref option.

PR Close #59166
2024-12-12 16:20:20 -08:00
hawkgs 225b5fa23a docs(docs-infra): make font styles consistent in the API code ToC (#59072)
Since code lines are wrapped in `<button>`-s, the native font styles overrides the parent's one which results in the font-family and font-size (esp. Safari) difference. This change fixes that.

PR Close #59072
2024-12-12 16:19:45 -08:00
Alan Agius 1f1fff3a4f perf(docs-infra): improve app firebase configuration (#59170)
- Remove trailing slash redirect (e.g., /overview no longer redirects to /overview/).
- Update static file matching: Resolves an issue where hashed files were being cached for up to 1 hour.

PR Close #59170
2024-12-12 14:54:50 -08:00
Enea Jahollari 5088b37db3 refactor(docs-infra): improve API reference page loading time and drop blocking time (#58911)
By scheduling the focus of the input, we can drop the blocking time that is caused by the blocking task of rendering.

PR Close #58911
2024-12-12 14:45:46 -08:00
Jens Kuehlers 47b4b3efe0 docs: add approximate v19.x and v20 release dates (#59130)
PR Close #59130
2024-12-10 13:46:17 -08:00
Alan Agius 24e317cb15 refactor: replace ɵPendingTasks with ɵPendingTasksInternal (#59138)
This commits remove usage of the old export.

PR Close #59138
2024-12-10 13:45:07 -08:00
Rafael Camara 2d49c36871 docs: improve docs on NgModule providers (#59111)
PR Close #59111
2024-12-10 13:44:10 -08:00
Angular Robot 2beb374524 build: lock file maintenance (#59110)
See associated pull request for more information.

PR Close #59110
2024-12-10 13:43:27 -08:00
Matthieu Riegler a88b899f52 docs: fix mermaid DI diagram. (#59105)
We need to use `<br>` for linebreakes.

fixes #59104

PR Close #59105
2024-12-10 13:42:03 -08:00
Ahmad Shabeer K de9fb8aeb8 docs(docs-infra): removed confusing extra single quote (#59101)
PR Close #59101
2024-12-10 13:40:39 -08:00
Kristiyan Kostadinov 5b5418c893 refactor(docs-infra): fix build-time warnings (#59100)
Fixes a bunch of warnings around an upcoming Sass breaking change https://sass-lang.com/documentation/breaking-changes/mixed-decls/. Also fixes one unused standalone import.

PR Close #59100
2024-12-10 13:40:11 -08:00
Matthieu Riegler 2a7103ac48 docs: remove inline docs-code in table (#58992)
Having a code block yields the correct result.

Fixes #58989

PR Close #58992
2024-12-05 16:10:27 -08:00
Matthieu Riegler f15ccb94b9 docs(docs-infra): enable tslint (#58961)
PR Close #58961
2024-12-05 16:03:35 -08:00
Matthieu Riegler f6bed7519e docs: fix formating for NG0913 (#58869)
fixes #58868

PR Close #58869
2024-12-05 16:01:55 -08:00
Angular Robot 60e59007b0 build: update cross-repo angular dependencies (#59011)
See associated pull request for more information.

PR Close #59011
2024-12-04 18:07:50 +01:00
hawkgs 77a0ee85c1 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:05:59 +01:00
hawkgs 0a399e7f9c refactor(docs-infra): update comments (#59004)
Add missing file header comments and update others.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs c13528b1b9 test(docs-infra): interpolation mechanism (#59004)
Test all use cases that are supported by the interpolation mechanism.

PR Close #59004
2024-12-04 18:05:58 +01:00
hawkgs d40967c356 fix(docs-infra): minor bug fixes (#59004)
Minor bug fixes found and implemented during testing.

PR Close #59004
2024-12-04 18:05:58 +01:00
hawkgs b97b92024d test(docs-infra): add initial test (#59004)
Setup the test suite and add the initial test.

PR Close #59004
2024-12-04 18:05:58 +01:00
hawkgs 9ca8ddb265 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:58 +01:00
hawkgs f13f52f70f 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:58 +01:00
hawkgs e1009f09c0 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:58 +01:00
hawkgs e0beb27581 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:58 +01:00
hawkgs 8b93e3c90d 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:58 +01:00
hawkgs a4ee2d90e6 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:58 +01:00
hawkgs 922ffdb40e 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 8d6ea5bae3 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:42 +01:00
Alan Agius a37af179d9 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 992e64f2e9 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 c3b6e8822e 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 bad05a01d6 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 e305b45627 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 d0ea622040 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 16ab166315 docs(docs-infra): add missing dot (#58993)
PR Close #58993
2024-12-02 10:44:41 +01:00
Hakeem 6da74c6bbb 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 ed965bdc0f docs: update two-way binding example in documentation (#58963)
PR Close #58963
2024-11-29 14:56:39 +01:00
Jens Kuehlers a1c284f015 docs: update state of JS banner expiry (#58966)
PR Close #58966
2024-11-29 14:53:50 +01:00
Alan Agius 6eee201a39 docs: correctly display note about DI tokens (#58967)
The breakline was breaking the note UI

PR Close #58967
2024-11-29 14:52:30 +01:00