Sonu Kapoor
a5b474580c
docs: change heading to a sub-heading ( #39131 )
...
This commit changes the heading of the section
`Use TypeScript path mapping for peer dependencies` to a sub-heading of
`Linked Libraries`.
Fixes #39130
PR Close #39131
2020-10-07 13:31:24 -07:00
David Shevitz
7aa12412f3
docs: Migrate section, view encapsulation, from Component Styles topic into its own topic. ( #38986 )
...
PR Close #38986
2020-10-05 13:23:41 -07:00
Alison
4c30f5135b
docs(upgrade): expand upon change detection implications for downgraded components ( #39100 )
...
PR Close #39100
2020-10-05 08:08:31 -07:00
Aleksandr Maniunin
3a01856e7c
docs: fix typo in Pipes guide (aynchronous --> asynchronous) ( #38996 )
...
PR Close #38996
2020-09-30 12:46:27 -07:00
Daniel
d8de689080
docs(docs-infra): replace a comma with a period at the end of a sentence ( #39034 )
...
In order to keep document consistency this commit replaces a comma with a period at the end of a sentence
PR Close #39034
2020-09-30 09:27:31 -04:00
Daniel Kreider
31be06a6f6
docs: fix two broken commands ( #38960 )
...
PR Close #38960
2020-09-30 09:17:19 -04:00
Kapunahele Wong
fd795da9d9
docs: edit template-statements doc ( #38742 )
...
This commit updates the copy and headers to bring in line with
style guide and clarify content.
PR Close #38742
2020-09-30 09:13:23 -04:00
Sonu Kapoor
14ecc9ead2
test(docs-infra): add unit tests for rx-library examples ( #38905 )
...
This commit adds missing unit tests for all rx-library examples from the docs.
Closes #28017
PR Close #38905
2020-09-28 16:20:12 -04:00
Keen Yee Liau
685281337b
docs: Delete repeated section "Removed APIs" ( #38858 )
...
The section "Removed APIs" is repeated twice, probably due to a mistake
in resolving merge conflicts.
PR Close #38858
2020-09-25 14:28:26 -04:00
Ajit Singh
02862338fa
docs: change wrong default app module by ng new ( #38549 )
...
In bootstrapping.md the default AppModule has some extra imports which are not generated
by default in ng new removed those extra imports and add them at appropriate place.
PR Close #38549
2020-09-21 12:25:29 -07:00
Andrew
7d5b5153cf
docs: Grammar fixes ( #38900 )
...
Changed several period into colons to be consistent throughout the doc.
Changed "If don't add the interface..." to "If _you_ don't add the interface..."
PR Close #38900
2020-09-18 16:52:52 -07:00
Maksymilian Sielicki
d8657ddb5c
docs: updating the text of user input page to reflect real location of the forms page ( #38802 )
...
PR Close #38802
2020-09-18 08:00:44 -07:00
Ajit Singh
af3b401e15
docs: add ngc to glossary ( #36781 )
...
ngc angular compiler was not mentioned in the glossary.
Glossary should contain the relevant terms in angular
which are hard to get. So, added a small defination of
ngc to the glossary
PR Close #36781
2020-09-15 11:29:56 -07:00
santoshyadavdev
f52a494248
docs(elements): convert the ng add
command to code-example ( #38834 )
...
the command was hardly visible currently
changing it to shell for visibility
PR Close #38834
2020-09-14 14:31:10 -07:00
Pete Bacon Darwin
8096c63c66
docs: clarify what fixes are merged to LTS versions ( #38788 )
...
PR Close #38788
2020-09-11 08:45:46 -07:00
Alain Chautard
0a55058440
docs: mark the entryComponents
array as deprecated ( #38616 )
...
The `entryComponents` array is now deprecated (per https://angular.io/api/core/NgModule#entryComponents
and https://angular.io/guide/deprecations#entryComponents ).
PR Close #38616
2020-09-09 09:07:19 -07:00
Pete Bacon Darwin
bb1122d087
docs: update v9 support status to LTS ( #38744 )
...
PR Close #38744
2020-09-09 09:06:56 -07:00
Kuzivakwashe
83d69978fd
docs: Fix component decorator closing brackets ( #38754 )
...
PR Close #38754
2020-09-09 09:06:10 -07:00
Sonu Kapoor
62de2131e1
docs: add missing space ( #38759 )
...
This commit adds a missing space after the comma in listing the rxjs
operators section.
PR Close #38759
2020-09-09 09:05:47 -07:00
Dan Manastireanu
028ef30b34
docs: Describe a scenario in which ngOnChanges is not called before ngOnInit. ( #38625 )
...
Closes #38613
PR Close #38625
2020-09-08 14:06:48 -07:00
rch850
6c6dd5f38c
docs: fix result of sanitization example ( #38724 )
...
This is same as #36059 which lost in #36954 .
PR Close #38724
2020-09-08 10:04:54 -07:00
Aristeidis Bampakos
9794f20674
docs: fix typos in library guide ( #38726 )
...
This PR fixes minor typos in the Creating libraries guide.
PR Close #38726
2020-09-08 10:04:31 -07:00
Aristeidis Bampakos
027b041cfd
docs: fix typos in deployment guide ( #38727 )
...
This PR fixes some typos regarding the .browserslistrc file in the Deployent guide
PR Close #38727
2020-09-08 10:03:57 -07:00
Guanghui Wang
4886cf5965
docs: word correction ( #38729 )
...
PR Close #38729
2020-09-08 10:03:22 -07:00
Aristeidis Bampakos
0ef985368e
docs: fix typo in lightweight injection guide ( #38741 )
...
PR Close #38741
2020-09-08 10:02:20 -07:00
Joey Perrott
b0bd777ba9
docs: correct link to chrome status in component style guide ( #38682 )
...
Corrects the link to the chromestatus page which errantly linked to features
rather than feature (singular).
Fixes #38676
PR Close #38682
2020-09-02 14:45:23 -07:00
Akash
659705ad78
docs: ng generate module command doc change ( #38480 )
...
PR Close #38480
2020-08-31 08:43:24 -07:00
GavinMK
8864b0ed69
docs: remove first person and space in CircleCI in the testing guide. ( #38631 )
...
PR Close #38631
2020-08-31 08:42:09 -07:00
Aristeidis Bampakos
80cab26023
docs: Minor fixes in NgModules section ( #36177 )
...
Apply minor fixes to various guides of the NgModules section
PR Close #36177
2020-08-25 15:24:02 -07:00
Aristeidis Bampakos
841dfa68f9
docs: typo fixes in the component testing scenarios guide ( #38574 )
...
Fixed some typos and removed a warning about limitation of the `fakeAsync` that is already mentioned in a helpful alert
PR Close #38574
2020-08-25 15:16:53 -07:00
Aristeidis Bampakos
94a3e0e81d
docs: add correct path for karma.conf.js file ( #38571 )
...
In the latest Angular CLI versions, the `karma.conf.js` file resides in the root folder of the Angular CLI project.
PR Close #38571
2020-08-25 09:56:32 -07:00
Aristeidis Bampakos
9cbde86534
docs: fix typo in the testing component basics guide ( #38573 )
...
The guide ends with a sentence that implies there are more tests following the end of the guide.
PR Close #38573
2020-08-25 09:55:59 -07:00
windmichael
6e643d9874
docs(localize): fix angular.json syntax ( #38553 )
...
In chapter internationalization (i18n) at section "Deploy multiple locales" the syntax for angular.json is wrong.
This commit fixes the angular.json, when specifying the translation file and the baseHref for a locale.
PR Close #38553
2020-08-24 09:25:35 -07:00
Ajit Singh
2a643e1ab6
docs: change function name from async -> waitForAsync ( #38548 )
...
async function name was changed to waitForAsync but it was left in testing-utility-api
file.
PR Close #38548
2020-08-21 12:17:51 -07:00
Aristeidis Bampakos
956b25a100
docs: apply code styling in template reference variables guide ( #38522 )
...
PR Close #38522
2020-08-20 13:01:33 -07:00
Aristeidis Bampakos
1ec609946f
docs: Typos fixes in the binding syntax guide ( #38519 )
...
PR Close #38519
2020-08-19 14:05:48 -07:00
Aristeidis Bampakos
55fd725e74
docs: Fix typo in the inputs and outputs guide ( #38524 )
...
PR Close #38524
2020-08-19 08:27:44 -07:00
Alan Agius
823dd5b341
docs: update web-worker CLI commands to bash style ( #38421 )
...
With this change we update the CLI generate commands to be in bash style.
PR Close #38421
2020-08-12 11:24:35 -07:00
Alan Agius
a6292faa97
docs: remove solution style tsconfig ( #38394 )
...
Following the issues highlighted in
https://docs.google.com/document/d/1eB6cGCG_2ircfS5GzpDC9dBgikeYYcMxghVH5sDESHw/edit?usp=sharing
and discussions held with the TypeScript team.
Together with the TypeScript team it was decided that the best course of action is to rollback this feature.
In future, it is not excluded that solution style tsconfigs are re-introduced.
See: https://github.com/angular/angular-cli/pull/18478
PR Close #38394
2020-08-11 16:32:20 -07:00
Andrew Scott
71138f6004
feat(compiler-cli): Add compiler option to report errors when assigning to restricted input fields ( #38249 )
...
The compiler does not currently report errors when there's an `@Input()`
for a `private`, `protected`, or `readonly` directive/component class member.
This change adds an option to enable reporting errors when a template
attempts to bind to one of these restricted input fields.
PR Close #38249
2020-08-11 09:55:48 -07:00
Gillan Martindale
6ff28ac944
docs: Remove redundant sentence from Router ( #38398 )
...
PR Close #38398
2020-08-10 09:52:30 -07:00
Shmuela Jacobs
445ac15a78
docs: fix purpose description of "builders.json" ( #36830 )
...
PR Close #36830
2020-08-07 15:04:56 -07:00
George Kalpakas
18cd1a9937
docs(service-worker): describe how asset-/data-group order affects request handling ( #38364 )
...
The order of asset- and data-groups in `ngsw-config.json` affects how a
request is handled by the ServiceWorker. Previously, this was not
clearly documented.
This commit describes how the order of asset-/data-groups affects
request handling.
Closes #21189
PR Close #38364
2020-08-06 11:41:58 -07:00
Ajit Singh
696a9b01ef
docs: remove https://angular.io from internal links ( #38360 )
...
PR #36601 introduces icons on all links if the link contains
https:// or http:// but there were some internal links left
which contained https://angular.io . Removed https://angular.io
from all these links.
PR Close #38360
2020-08-06 09:01:34 -07:00
mgechev
d7c043ba35
docs: add a page with the Angular roadmap ( #38358 )
...
PR Close #38358
2020-08-05 18:35:02 -07:00
Zara Cooper
585ef2bdd7
docs: fix typo in glossary ( #38318 )
...
Add missing comma in structural directive section that made dash display incorrectly.
PR Close #38318
2020-08-05 10:52:27 -07:00
JiaLiPassion
8fbf40bf40
feat(core): update reference and doc to change async
to waitAsync
. ( #37583 )
...
The last commit change `async` to `waitForAsync`.
This commit update all usages in the code and also update aio doc.
PR Close #37583
2020-08-03 12:54:13 -07:00
George Kalpakas
bfd13c06e1
refactor(docs-infra): fix docs examples for Angular-specific tslint rules ( #38143 )
...
This commit updates the docs examples to be compatible with the
following Angular-specific tslint rules:
- `component-selector`
- `directive-selector`
- `no-conflicting-lifecycle`
- `no-host-metadata-property`
- `no-input-rename`
- `no-output-native`
- `no-output-rename`
This is in preparation of updating the docs examples `tslint.json` to
match the one generated for new Angular CLI apps in a future commit.
PR Close #38143
2020-07-31 11:00:06 -07:00
George Kalpakas
5303773daf
refactor(docs-infra): fix docs examples for tslint rule prefer-const
( #38143 )
...
This commit updates the docs examples to be compatible with the
`prefer-const` tslint rule.
This is in preparation of updating the docs examples `tslint.json` to
match the one generated for new Angular CLI apps in a future commit.
PR Close #38143
2020-07-31 11:00:06 -07:00
Andrew Scott
8effc83b92
docs(router): clarify how base href is used to construct targets ( #38123 )
...
The documentation is not clear on how the base href and APP_BASE_HREF are used. This commit
should help clarify more complicated use-cases beyond the most common one of just a '/'
PR Close #38123
2020-07-29 13:34:02 -07:00