432 Commits

Author SHA1 Message Date
Andrew Kushnir 5f8f18dba7 refactor(docs-infra): use an older version of the afterRender API (#56526)
This commit updates the code to use an older version of the `afterRender` API, since the newer one is not available in 18.0.x.

PR Close #56526
2024-06-20 10:43:33 -07:00
Sasidharan SD 73abcda1b3 docs: fix page not found (#56512)
PR Close #56512
2024-06-20 08:56:10 -07:00
Matthieu Riegler 2b9d1c9ad3 docs: fix code example for http headers (#56508)
PR Close #56508
2024-06-20 08:55:32 -07:00
Matthieu Riegler cff9ede7d2 docs: add mention of preconnect links (#56503)
Text is copied from AIO.

fixes #56502

PR Close #56503
2024-06-20 08:54:51 -07:00
Charles Lyding 1f1ed52ed1 build: remove unused root dependencies (#56499)
With the removal of AIO, several dependencies are now unused and can be removed.

PR Close #56499
2024-06-20 08:54:12 -07:00
Joey Perrott cc6cd08ca3 refactor(docs-infra): complete removal of aio directory (#56496)
Finish removal of aio directory as it is no longer used or relied upon.

PR Close #56496
2024-06-18 12:26:04 -07:00
Joey Perrott 7be9397ec5 refactor(docs-infra): remove reliance on aio example macro (#56496)
Remove usage of aio example macro in adev

PR Close #56496
2024-06-18 12:26:03 -07:00
Joey Perrott 1a32e799a8 refactor(docs-infra): move windows-chromium-path to adev (#56496)
Move windows-chromium-path help from aio to adev

PR Close #56496
2024-06-18 12:26:02 -07:00
Matthieu Riegler 2eaf04d556 docs: add ng generate directive page (#56417)
fixes #56296

PR Close #56417
2024-06-18 09:31:27 -07:00
Andrew Scott 395d26ad16 fix(docs-infra): reference page restores scroll position or goes top when no anchor (#56478)
This contains follow-up fixes to 2a2439712a.
This commit updates scrolling on references page to scroll to the top
when there is no anchor in the URL. The behavior after the above commit would
be that the position doesn't change from whatever the previous page was
(potentially scrolled to the bottom). In addition, this restores the
previous scroll position when traversing through browser history rather
than always scrolling to the fragment.

PR Close #56478
2024-06-18 09:26:57 -07:00
Viktor T 841476da1c docs(docs-infra): Remove redundant API link (#56480)
As there is no longer a page for the localize API the URL pointing to this page is removed

PR Close #56480
2024-06-17 12:48:12 -07:00
Arek db335a6c9a docs: fix outdated links from docs to contributing-docs folder in markdown documents (#56462)
PR Close #56462
2024-06-17 08:53:18 -07:00
Sasidharan SD cf5bf12271 docs: fix location strategy link (#56475)
PR Close #56475
2024-06-17 08:48:24 -07:00
Andrew Scott f8b45806ac fix(docs-infra): Various scroll fixes for a.dev (#56464)
* Create custom scroller to manage scroll behavior more directly. There
  are two many special and weird behaviors in the site to use the
  built-in scrolling.
* Update scrolling to wait for application stability. This waits a bit
  longer than the current `Scroll` event, which happens in
  `afterNextRender` after the `NavigationEnd`. fixes #56446
* Disable scrolling on the API references page. It just never worked
  well with all the custom scroll locations
* Update card clicks on API references page to change the fragment of
  the URL (this allows docs viewers to link directly to an item). Also update
  API reference page to listen to fragment changes and use that as the
  scroll trigger rather than the click. This takes care of the initial
  scroll when the page loads as well.

fixes #56446

PR Close #56464
2024-06-17 08:46:50 -07:00
Jens Kuehlers 072f6c79c6 docs: add v18.x and v19. release dates (#56429)
Add planned approximate v18 minor and v19 major
release dates.

PR Close #56429
2024-06-13 09:22:16 -07:00
Sasidharan SD 0a8d30ed65 docs: fix configure routes link (#56415)
PR Close #56415
2024-06-12 13:36:27 -07:00
Alex Rickabaugh e49a81bc5f docs(service-worker): fix formatting of directory structure example (#56412)
This example was using the `<code-example>` tag from AIO instead of the
`<docs-code>` tag from ADEV.

Fixes #56398

PR Close #56412
2024-06-12 12:01:22 -07:00
Matthieu Riegler bf6f778e02 docs(docs-infra): generate valid HTML for the update guide. (#56390)
Nested block elements in a `p` element are not valid.
The p block automatically closes if another block-level element is parsed before the closing.

PR Close #56390
2024-06-11 17:17:03 -07:00
Joey Perrott 409ce86fff fix(docs-infra): use anchors instead of button for version picker links (#56368)
Use anchors as links instead of buttons

PR Close #56368
2024-06-11 17:16:21 -07:00
Matthieu Riegler 5717ff6a83 docs(docs-infra): guard access to navigator for prerendering (#56333)
PR Close #56333
2024-06-11 17:08:35 +00:00
Aristeidis Bampakos 3267c28d5e docs: use language-agnostic links for external docs (#56377)
PR Close #56377
2024-06-11 08:26:30 -07:00
Angular Robot cc0db4f5f4 docs: update Angular CLI help [18.0.x] (#56326)
Updated Angular CLI help contents.

PR Close #56326
2024-06-11 08:22:37 -07:00
Matthieu Riegler e3a6937eb1 docs: add NG0913 error doc (#56352)
File copied from AIO.

fixes #56351

PR Close #56352
2024-06-10 15:11:45 -07:00
vladboisa d6cc8b4dec docs(docs-infra): add missing context (#56367)
Added some missing context for statement regarding base href

Fixes#56336

PR Close #56367
2024-06-10 15:08:38 -07:00
Risqi Romadhoni e756f04cba docs: update link for Vite and esbuild in Angular CLI introduction (#56346)
PR Close #56346
2024-06-10 14:04:29 -07:00
Sasidharan SD 6c8ffb8911 docs: fix input validation link in reactive forms (#56334)
PR Close #56334
2024-06-10 14:02:57 -07:00
Preston West ed3aa95305 docs: fix 3 typos and a format issue (#56329)
PR Close #56329
2024-06-10 14:00:04 -07:00
arturovt 6bc76f2079 docs: update event-binding (#56322)
This commit updates the event binding part, where all `scroll` listeners are marked
as passive using the special zone.js configuration flag. The configuration has been
moved from the `polyfills` file to `index.html`. Since new apps no longer include a
`polyfills.ts` file but instead have a `polyfills` property in the builder, setting
the flag in `index.html` ensures compatibility with both configurations.

PR Close #56322
2024-06-10 13:57:25 -07:00
Angular Robot 0a6f278a3e build: lock file maintenance (#56361)
See associated pull request for more information.

PR Close #56361
2024-06-10 13:54:12 -07:00
Preston West d9a29bda03 docs: fix typo in testing/services.md (#56316)
PR Close #56316
2024-06-07 09:34:16 -07:00
Aristeidis Bampakos 4c133091e4 docs: use new link for update guide (#56054)
PR Close #56054
2024-06-07 09:32:46 -07:00
arturovt 68decfd977 docs: update NG0506 (#55973)
Provide a thorough explanation of why an application may remain unstable and
why developers should consider not running asynchronous code on the server outside
of the Angular zone, as this may lead to memory leaks.

PR Close #55973
2024-06-07 09:32:20 -07:00
Matthieu Riegler e0cccc4cc1 docs(docs-infra): Go zoneless and enable the zoneless scheduler (#55161)
PR Close #55161
2024-06-07 09:31:15 -07:00
marktechson f205fe384e docs: remove v18 developer event banner (#56278)
PR Close #56278
2024-06-05 15:56:29 +00:00
Paweł Kubiak c7ede8b2f5 fix(docs-infra): remove config release from test scripts (#56062)
fix(docs-infra): remove config release from test scripts

As we discussed in one of the previous PRs we should remove `--config=release` from test scripts on CI
fix(docs-infra): use DI to inject current VERSION.major

PR Close #56062
2024-06-04 17:27:27 +00:00
Alvaro Junqueira f6475344a8 docs: fixing typo :ng-deep to ::ng-deep (#56251)
PR Close #56251
2024-06-04 16:14:50 +00:00
Pawel Kozlowski 629fee8418 refactor(docs-infra): mark adev-root component as OnPush (#56254)
After inspecting and testing the adev-root component is seems like
it could be marked as OnPush.
This change gets us closer to enabling zoneless for adev.

PR Close #56254
2024-06-04 13:52:38 +00:00
Pawel Kozlowski a107cc5006 refactor(docs-infra): mark code editors components as OnPush (#56254)
After inspecting and testing the embedded-editor and adev-code-editor
components it
seems like those could be marked as OnPush.
This change gets us closer to enabling zoneless for adev.

PR Close #56254
2024-06-04 13:52:38 +00:00
Pawel Kozlowski a73687016c refactor(docs-infra): mark the update component as OnPush (#56254)
After inspecting and testing the adev-update-guide component it
seems like it could be marked as OnPush. This change gets us closer
to enabling zoneless for adev.

PR Close #56254
2024-06-04 13:52:38 +00:00
Sasidharan SD ab38861e9a docs: fix docs links (#56234)
PR Close #56234
2024-06-04 13:52:04 +00:00
Ben Hong a23850fa6f docs: fix vertical playground spacing issue (#55689)
PR Close #55689
2024-06-03 19:26:09 +00:00
Ben Hong 7b6d7764df docs: resolve extra padding on tutorial editor (#54828)
As of this commit, there is a visual discrepancy between the height of the content on the left compared to the separator and editors on the right. It appears that the cause of this is an additional computation of layout padding which is unnecessary for these particular elements.

PR Close #54828
2024-06-03 19:24:40 +00:00
Sasidharan SD 6abfe3b1a9 docs: fix alternate configuration link (#56201)
PR Close #56201
2024-05-31 13:24:15 +00:00
Alan Agius c05d50cd6f docs: update file-structure doc (#56202)
Replace `/assets` with `public/`, this was replaced in version 18 of the Angular CLI.

PR Close #56202
2024-05-31 13:13:55 +00:00
Matthieu Riegler 64170f1021 docs: update version support (#56034)
fixes #56033

PR Close #56034
2024-05-31 13:13:01 +00:00
Tyler Tierney e849855f0b docs: edit sentence grammar in style-guide (#56173)
PR Close #56173
2024-05-31 13:12:29 +00:00
Andrew Kushnir 0c39a46a88 refactor(core): replace AIO link with ADEV one in hydration message (#56178)
This commit updates the content of hydration-related message and replaces AIO with ADEV domain.

PR Close #56178
2024-05-30 14:57:11 +00:00
Angular Robot 88732f0ca4 build: update cross-repo angular dependencies (#56169)
See associated pull request for more information.

PR Close #56169
2024-05-30 14:54:05 +00:00
Matthieu Riegler 94726a49d9 docs(docs-infra): move back all xterm code to the fw repo (#55642)
Previously, the `@angular/docs` package had `xterm` as dependency but wasn't referencing it. It only had dedicated styles. This commit moves back the styles to the FW repo as it is only used here.

PR Close #55642
2024-05-30 14:52:55 +00:00
vidhi hattar d390041e5a docs: add discord link icon to nav menu (#56149)
PR Close #56149
2024-05-29 21:44:07 +00:00