dario-piotrowicz
14cb9fb005
test(docs-infra): add mocks for missing mat-icons ( #47469 )
...
add mocks for missing mat-icons in order to reduce noise when running
aio tests
PR Close #47469
2022-09-19 13:12:21 +02:00
Mauro Mattos
ad098d82a8
docs(docs-infra): add missing decorator in tutorial step ( #47456 )
...
PR Close #47456
2022-09-19 09:40:12 +02:00
Andrew Kushnir
7f637e1873
docs: move Image Directive guide link to the Feature Preview section ( #47466 )
...
This commit updates the location of the Image Directive guide link in the left navigation menu. Now the link is located under the Feature Preview section.
Also, this commit updates the Image Directive guides to add a highlighted message that the directive is in the developer preview mode.
PR Close #47466
2022-09-19 09:37:37 +02:00
dario-piotrowicz
5fb7ae20a2
fix(docs-infra): initialize events arrays in EventsComponent ( #47458 )
...
initialize the events fields of the EventsComponent so that
they are always defined
PR Close #47458
2022-09-16 11:14:56 +02:00
Angular Robot
8deedc58a6
build: update cross-repo angular dependencies ( #47407 )
...
See associated pull request for more information.
PR Close #47407
2022-09-15 09:21:20 -07:00
George Kalpakas
19f189fa41
docs(docs-infra): add documentation on debugging the events generation process ( #47449 )
...
PR Close #47449
2022-09-15 09:20:14 -07:00
Angular Robot
ebc0135239
build: update all non-major dependencies ( #47415 )
...
See associated pull request for more information.
PR Close #47415
2022-09-13 09:19:51 -07:00
Benjamin Chanudet
f0f809c561
docs: replace deprecated --outFile option for ng extract-i18n ( #47397 )
...
replace deprecated --outFile option for ng extract-i18n
The `--outFile` command option was last used in Angular v10 (back when it was still `ng xi18n`), yet there are still references to it in the documentation, alongside the up-to-date option `--out-file`. This commit replaces all mentions to the incorrect option with the correct writing.
PR Close #47397
2022-09-12 13:25:20 -07:00
Abhishek Rawat
0d4594a53e
docs: fix angle brackets in details code block ( #47400 )
...
Angle brackets are not showing inside the markdown code block by writing like < >.
PR Close #47400
2022-09-12 13:24:56 -07:00
George Kalpakas
c9241fdeb0
build(docs-infra): introduce new process for generating data for the events page ( #45588 )
...
This commit introduces a new process for generating data for the AIO
[events page](https://angular.io/events ), which streamlines the process
and minimizes duplication and manual work. For more details, see
`aio/scripts/generate-events/README.md`.
PR Close #45588
2022-09-12 12:25:44 -07:00
abergquist
678c7f1841
docs: Removed unnecessary blank line ( #47329 )
...
PR Close #47329
2022-09-09 14:26:23 -07:00
Andrew Kushnir
ca7bf65933
fix(common): rename rawSrc -> ngSrc in NgOptimizedImage directive ( #47362 )
...
As an ongoing effort to stabilize the NgOptimizedImage API before existing the Developer Preview, this commit renames the `rawSrc` attribute used for the NgOptimizedImage selector matching to `ngSrc`. The `rawSrcset` is also renamed to `ngSrcset` for consistency.
The motivation for this change is to align the attribute name better with other built-in directives, such as `ngFor`, `ngIf`, `ngClass`, `ngStyle`, etc.
Note: this is technically a breaking change, but since the NgOptimizedImage directive is in the Developer Preview mode, we land the change in a patch branch.
PR Close #47362
2022-09-09 14:25:37 -07:00
Ikko Ashimine
7e0de5b8be
docs: fix typo in app.component.ts ( #47384 )
...
identifer -> identifier
PR Close #47384
2022-09-09 14:04:25 -07:00
Bob Watson
c377f5713c
docs: increase aio-preview size limit ( #47395 )
...
The current limit of ~24MB is now too small to allow preview builds.
This update increases the limit to 35MB.
PR Close #47395
2022-09-09 14:01:00 -07:00
vyom1611
bd66f49261
docs: updates es version based on issue #47335 ( #47379 )
...
- Updates the documentation for typescript-configuration.md by updating target version from 'es2017' to 'es2020'
PR Close #47379
2022-09-08 09:33:52 -07:00
Mariia Subkov
6dec750e4b
docs: fix linter errors for accessibility page ( #47327 )
...
This addresses a part of the issue #47179 .
PR Close #47327
2022-09-07 10:49:05 -07:00
Marc Wrobel
eca3db5692
docs(docs-infra): fix minor typos in angular.io ( #47295 ) ( #47295 )
...
PR Close #47295
PR Close #47295
2022-09-07 10:47:21 -07:00
Angular Robot
bea953a5cf
build: update dependency typescript to ~4.8.0 ( #47293 )
...
See associated pull request for more information.
PR Close #47293
2022-09-06 13:10:36 -07:00
Bob Watson
1edb8e5c45
docs: add new words to vocabulary ( #47344 )
...
docs: add VMWare to spell check dictionary
docs: add rebase, rebases, rebased to spell check dictionary
docs: add repos to spell check dictionary
docs: change repeated string regex
PR Close #47344
2022-09-06 11:33:14 -07:00
Joe Martin (Crowdstaffing)
e810402ffc
docs: Update markdown and formatting in image-directive topic. ( #47259 )
...
PR Close #47259
2022-09-06 11:30:50 -07:00
George Kalpakas
a0c3326485
fix(service-worker): only consider GET requests as navigation requests ( #47263 )
...
Previously, the criteria for determining if a request was a
[navigation request][1] did not account for the request method. This
incorrectly identified HTML form submit POST requests as navigation
requests and served `index.html` instead of passing them through to the
server, thus breaking the form submission.
This commit fixes this by ensuring that only GET requests are considered
navigation requests.
> **Note**
> HTML forms with their method set to `GET` will still be affected by
> the issue. This is not a big concern, because using `GET` for form
> submission is quite uncommon and generally discouraged (due to
> limitations and security considerations).
[1]: https://angular.io/guide/service-worker-config#handling-navigation-requests
Fixes #36368
PR Close #47263
2022-09-06 10:02:10 -07:00
Angular Robot
4cafd08866
build: update all non-major dependencies ( #47225 )
...
See associated pull request for more information.
PR Close #47225
2022-09-06 09:53:29 -07:00
George Kalpakas
dba71a1873
build(docs-infra): upgrade cli command docs sources to 4a6e62d46 ( #47305 )
...
Updating [angular#main](https://github.com/angular/angular/tree/main ) from
[cli-builds#main](https://github.com/angular/cli-builds/tree/main ).
##
Relevant changes in
[commit range](https://github.com/angular/cli-builds/compare/14d4d528c...4a6e62d46 ):
**Modified**
- help/generate.json
PR Close #47305
2022-09-06 09:51:15 -07:00
Sabareesh Kappagantu
94ea8700d7
docs: fix linting errors in component overview guide ( #47352 )
...
PR Close #47352
2022-09-06 09:41:12 -07:00
Sabareesh Kappagantu
385471d0c0
docs: add substitution entry for camel case ( #47351 )
...
PR Close #47351
2022-09-06 09:40:39 -07:00
Sabareesh Kappagantu
81e41717a3
docs: fix linting errors in class binding guide ( #47351 )
...
PR Close #47351
2022-09-06 09:40:39 -07:00
Bingo's Code
99c12c92a8
docs: apply suggestions from code review ( #47350 )
...
Co-authored-by: Bob Watson <104218420+bob-watson@users.noreply.github.com >
PR Close #47350
2022-09-06 09:38:31 -07:00
Sabareesh Kappagantu
a053c63f05
docs: fix linting errors in architecture components guide ( #47350 )
...
PR Close #47350
2022-09-06 09:38:31 -07:00
Sonu Sindhu
e4f6eed653
docs: formatting issue ( #47349 )
...
There were some formatting issue and I just updated * to & in migration-undecorated-classes.md
PR Close #47349
2022-09-06 09:37:48 -07:00
Sabareesh Kappagantu
99be607055
docs: update angular-package-format guide ( #47342 )
...
PR Close #47342
2022-09-06 09:35:38 -07:00
Bingo's Code
ce5fc87458
docs: update aio/content/guide/angular-package-format.md with suggestion ( #47342 )
...
Co-authored-by: Bob Watson <104218420+bob-watson@users.noreply.github.com >
PR Close #47342
2022-09-06 09:35:38 -07:00
Bingo's Code
ed0c9b6975
docs: apply suggestions from code review ( #47342 )
...
adding suggestions from Bob.
Co-authored-by: Bob Watson <104218420+bob-watson@users.noreply.github.com >
PR Close #47342
2022-09-06 09:35:38 -07:00
Sabareesh Kappagantu
ddc2c3db2e
docs: fix linting errors in angular package format guide ( #47342 )
...
PR Close #47342
2022-09-06 09:35:37 -07:00
Asaf M
ff5ec02904
docs: fix grammar ( #47333 )
...
there aren't many forms here, the object model belongs to the form, hence the apostroph is needed before the letter s
PR Close #47333
2022-09-06 09:33:15 -07:00
abergquist
9efe24af40
docs: fixed a "grammatical opportunity" ( #47328 )
...
Since "application design" is being used as an adjective in the following sentence:
Angular is an application design framework and development platform for creating efficient and sophisticated single-page apps.
I recommend replacing it with "application-design" (cf. https://en.wikipedia.org/wiki/Compound_modifier ).
PR Close #47328
2022-09-06 09:32:25 -07:00
Sabareesh Kappagantu
d3c2ca13ce
docs: fix linting errors in change detection guide ( #47324 )
...
PR Close #47324
2022-09-06 09:31:21 -07:00
Simona Cotin
67bb2b348d
docs: update cloudinary url ( #47320 )
...
PR Close #47320
2022-09-06 09:30:49 -07:00
Aristeidis Bampakos
a46886500f
docs: fix typo in image directive guide ( #47313 )
...
PR Close #47313
2022-09-06 09:30:14 -07:00
Yann Provoost
329fed78f3
docs: fix doc linter warnings in app-shell.md ( #47282 )
...
PR Close #47282
2022-09-06 09:24:04 -07:00
Yann Provoost
7d45ef702f
docs: fix doc linter warning and error in accessibility.md ( #47282 )
...
PR Close #47282
2022-09-06 09:24:03 -07:00
Yann Provoost
374b63d3c9
docs: fix doc linter warnings in angular-compiler-options.md ( #47282 )
...
PR Close #47282
2022-09-06 09:24:03 -07:00
George Kalpakas
d077d58139
docs(service-worker): add note regarding assets and CORS ( #47262 )
...
Fixes #41931
PR Close #47262
2022-09-06 09:23:28 -07:00
George Kalpakas
b8fd0da47f
docs(docs-infra): improve docs on updating angular.io and docs examples apps ( #47250 )
...
Add a new doc, `aio/UPDATING.md`, with instructions on updating the
angular.io app to align with the latest Angular CLI/framework/Material.
Also, update the instructions on updating the docs examples apps.
PR Close #47250
2022-09-06 09:13:53 -07:00
George Kalpakas
eb8e95f5cf
docs(docs-infra): add instructions on using Let's Encrypt for preview server certificates ( #47250 )
...
Add a new doc with instructions on how to use TLS certificates issues by
[Let's Encrypt][1] in the PR preview server.
[1]: https://letsencrypt.org/
PR Close #47250
2022-09-06 09:13:52 -07:00
George Kalpakas
8fa33edc30
docs(docs-infra): minor improvements in preview server docs ( #47250 )
...
PR Close #47250
2022-09-06 09:13:52 -07:00
Jobayer Hossain
28f277e037
docs: typo ( #47246 )
...
It appears that the indefinite pronoun either does not agree with the verb occur in your sentence. Consider changing the form of the verb.
PR Close #47246
2022-09-06 09:13:21 -07:00
Maina Wycliffe
17d66d9302
docs: compress the bios image ( #47244 )
...
PR Close #47244
2022-09-06 09:12:38 -07:00
Maina Wycliffe
49b871dc33
docs: add Maina Wycliffe to GDE resources ( #47244 )
...
PR Close #47244
2022-09-06 09:12:38 -07:00
George Kalpakas
c905da12e2
docs(service-worker): improve docs related to SwUpdate APIs ( #46960 )
...
This commit improves documentation related to recently improved or
deprecated `SwUpdate` APIs in the following ways:
- Update [check-for-update.service.ts][1] to make use of the return
value of [SwUpdate#checkForUpdate()][2].
- Update [prompt-update.service.ts][3] to not call
[SwUpdate#activateUpdate()][4] and just reload the page.
- Update the [SwUpdate#activateUpdate()][4] API docs to explain that it
is only useful if you want to update a client without reloading and
that it can easily lead to version skew.
- Update [a code-snippet][5] to no longer be [hard-coded][6].
[1]: https://github.com/angular/angular/blob/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app/check-for-update.service.ts#L16
[2]: https://angular.io/api/service-worker/SwUpdate#checkForUpdate
[3]: https://github.com/angular/angular/blob/9d9d05911dbd6e2f30e4c7bced0e41fd20ec4285/aio/content/examples/service-worker-getting-started/src/app/prompt-update.service.ts#L15
[4]: https://angular.io/api/service-worker/SwUpdate#activateUpdate
[5]: https://github.com/angular/angular/blob/96c6139c9ab35aa6ab2330a5a79a5906d5c2e8be/packages/service-worker/src/update.ts#L44-L54
[6]: https://angular.io/guide/docs-style-guide#hard-coded-snippets
Fixes #43665
PR Close #46960
2022-09-06 09:11:57 -07:00
Joey Perrott
37c2f3c2ea
docs: update security guide ( #47296 )
...
Update the security guide to our new vulnerability intake process.
PR Close #47296
2022-08-30 18:03:43 +00:00