santoshyadavdev
3934f0a833
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:05 -07:00
George Kalpakas
354138eba9
build(docs-infra): upgrade cli command docs sources to 800ba9271 ( #38827 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](32391604b...800ba9271
):
**Modified**
- help/build.json
- help/serve.json
PR Close #38827
2020-09-14 08:33:39 -07:00
Pete Bacon Darwin
66129f8ea6
docs: clarify what fixes are merged to LTS versions ( #38788 )
...
PR Close #38788
2020-09-11 08:45:42 -07:00
David Shevitz
03447ba52f
docs: Move Displaying data topic and ToH tutorial ( #38774 )
...
Move the "Displaying data topic" into the Tutorials section.
Move the ToH tutorial to the top of the tutorials section.
PR Close #38774
2020-09-10 14:32:25 -07:00
Kapunahele Wong
3c4b8b97c1
docs: put docs style guide back in left nav ( #38683 )
...
PR Close #38683
2020-09-09 16:22:58 -07:00
thekiba
3d77b64fc3
docs: add Andrew Grekov to GDE resources ( #36690 )
...
This commit adds Andrew Grekov to the GDE
resources page and describes his work as a software
engineer using angular and .NET.
PR Close #36690
2020-09-09 09:44:47 -07:00
Lars Gyrup Brink Nielsen
f645d26e3f
docs(docs-infra): add The Deep Dive podcast, update Angular inDepth URL ( #37621 )
...
Add the new podcast called The Deep Dive to the list of Podcast resources.
Also replace the name and URL for Angular inDepth as the old URL is deprecated.
PR Close #37621
2020-09-09 09:11:11 -07:00
Alain Chautard
7997fc5f97
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:18 -07:00
Pete Bacon Darwin
3cb2a79399
docs: update v9 support status to LTS ( #38744 )
...
PR Close #38744
2020-09-09 09:06:56 -07:00
Kuzivakwashe
19a484302d
docs: Fix component decorator closing brackets ( #38754 )
...
PR Close #38754
2020-09-09 09:06:10 -07:00
Sonu Kapoor
ded075a79c
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
b0c79f2373
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
George Kalpakas
97475d7408
build: upgrade all preview-server JS dependencies to latest versions ( #38736 )
...
This commit upgrades all dependencies in `aio/aio-builds-setup/scripts-js/`
to latest versions and also includes all necessary code changes to
ensure the tests are passing with the new dependency versions.
In particular:
- We ensure `nock`'s `Scope#done()` is not called before receiving a
response to account for a breaking change introduced in
nock/nock#1960 .
- The use of `nock`'s `Scope#log()` method was removed, because the
method is no longer available since nock/nock#1966 . See
https://github.com/nock/nock#debugging for more info on debugging
failed matches.
See also
e23ba31b13/migration_guides/migrating_to_13.md
for more info on migrating from `nock` v12 to v13.
PR Close #38736
2020-09-08 10:07:25 -07:00
Alan Cohen
261f689e9b
docs: remove duplicate trans-unit element closing tag ( #38715 )
...
PR Close #38715
2020-09-08 10:06:03 -07:00
rch850
d9da7e5a18
docs: fix result of sanitization example ( #38724 )
...
This is same as #36059 which lost in #36954 .
PR Close #38724
2020-09-08 10:04:53 -07:00
Aristeidis Bampakos
79d8795633
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
3e57ca1d98
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:56 -07:00
Guanghui Wang
c2d017de83
docs: word correction ( #38729 )
...
PR Close #38729
2020-09-08 10:03:22 -07:00
Aristeidis Bampakos
4e5286180b
docs: fix typo in lightweight injection guide ( #38741 )
...
PR Close #38741
2020-09-08 10:02:20 -07:00
Taylor Buckner
1c7e5cef3e
docs: add dayjs date adapter to resources page ( #38031 )
...
PR Close #38031
2020-09-03 12:00:17 -07:00
Joey Perrott
fdea1804d6
fix(core): remove CollectionChangeRecord symbol ( #38668 )
...
Remove CollectionChangeRecord as it was deprecated for removal in v4, use
IterableChangeRecord instead.
BREAKING CHANGE: CollectionChangeRecord has been removed, use IterableChangeRecord
instead
PR Close #38668
2020-09-02 16:45:19 -07:00
Joey Perrott
86e7cd8117
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:20 -07:00
George Kalpakas
c142b071eb
build: upgrade cli command docs sources to 32391604b ( #38652 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](ef770f1cb...32391604b
):
**Modified**
- help/build.json
- help/generate.json
PR Close #38652
2020-09-01 09:03:25 -07:00
David Shevitz
71acf9dd49
docs: Restructure table of contents to provide a more streamlined experience. ( #38353 )
...
PR Close #38353
2020-08-31 16:16:54 -07:00
Sonu Kapoor
f5d1e9a2d1
docs(service-worker): add section to explain unrecoverable state ( #36847 )
...
PR Close #36847
2020-08-31 11:41:13 -07:00
Dwayne Hinterlang
0a7a5e3aff
docs: Remove confusion between do/avoid templates ( #38647 )
...
PR Close #38647
2020-08-31 10:25:16 -07:00
Akash
52c7a4bfc6
docs: ng generate module command doc change ( #38480 )
...
PR Close #38480
2020-08-31 08:43:19 -07:00
GavinMK
827ba05914
docs: remove first person and space in CircleCI in the testing guide. ( #38631 )
...
PR Close #38631
2020-08-31 08:42:04 -07:00
narmit
b2857b4e3a
docs: remove double space in start-data. ( #38642 )
...
PR Close #38642
2020-08-31 08:41:30 -07:00
Da-Woon Chung
5d5caf21b8
docs: fix broken markdown in start/start-data ( #38644 )
...
PR Close #38644
2020-08-31 08:40:57 -07:00
Keen Yee Liau
4036281007
docs: Update contributor info for kyliau ( #38125 )
...
Added twitter handle, website, and a short bio.
PR Close #38125
2020-08-27 10:39:30 -07:00
Sonu Kapoor
164cd274a4
test(docs-infra): add commands to run the unit tests ( #34537 )
...
This commit adds the necessary custom commands to run the tests in a
node environment.
PR Close #34537
2020-08-27 09:05:59 -07:00
Sonu Kapoor
fedcfec346
test(docs-infra): add missing tests for obserables and promises ( #34537 )
...
This commit adds missing tests for obserables and promises which
are both stand-alone mini-apps.
PR Close #34537
2020-08-27 09:05:56 -07:00
Sam Vloeberghs
618cb32407
docs: add Sam Vloeberghs to GDE list ( #37970 )
...
PR Close #37970
2020-08-26 12:52:56 -07:00
Sonu Kapoor
0681a20d28
fix(docs-infra): add guard to not render anchor link for private api ( #38589 )
...
This commit adds a guard that prevents rendering anchor links for
private api's.
Closes #38564
PR Close #38589
2020-08-26 12:51:04 -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
Ajit Singh
8017ca4db3
fix(docs-infra): fix vertical alignment of external link icons ( #38410 )
...
At some places external link icons appear as a subscript. For example
8366effeec/aio/content/guide/roadmap.md
\#L37
this commit places external link icons in the middle to improve there
positioning in a line.
PR Close #38410
2020-08-20 09:40:01 -07:00
Santosh Yadav
22f1ac3e37
docs: udpate the details ( #37967 )
...
updating my twitter handle and bio as it is changed from
Angular and Web Tech to Angular also the
twitter handle is changed to SantoshYadavDev
PR Close #37967
2020-08-20 09:38:58 -07:00
George Kalpakas
4ee5e730ab
build: upgrade cli command docs sources to ef770f1cb ( #38546 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](b0b27361d...ef770f1cb
):
**Modified**
- help/build.json
- help/generate.json
- help/test.json
- help/xi18n.json
PR Close #38546
2020-08-20 09:32:11 -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
Sonu Kapoor
175c79d1d8
test(docs-infra): remove deprecated `ReflectiveInjector` ( #38408 )
...
This commit replaces the old and slow `ReflectiveInjector` that was
deprecated in v5 with the new `Injector`. Note: This change was only
done in the spec files inside the `aio` folder.
While changing this, it was not possible to directly use `Injector.get`
to get the correct typing for the mocked classes. For example:
```typescript
locationService = injector.get<TestLocationService>(LocationService);
```
Fails with:
> Argument of type 'typeof LocationService' is not assignable to parameter
of type 'Type<TestLocationService> | InjectionToken<TestLocationService> |
AbstractType<TestLocationService>'.
Type 'typeof LocationService' is not assignable to type 'Type<TestLocationService>'.
Property 'searchResult' is missing in type 'LocationService' but required in type
'TestLocationService'.
Therefore, it was necessary to first convert to `unknown` and then to
`TestLocationService`.
```typescript
locationService = injector.get(LocationService) as unknown as TestLocationService;
```
PR Close #38408
2020-08-13 12:56:13 -07:00
Sergey Falinsky
5f2e475abf
docs: remove unused Input decorator ( #38306 )
...
In the part "5. Add In-app Navigation" of the tutorial it was already removed
PR Close #38306
2020-08-12 11:26:10 -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