Sonu Kapoor
bd9f441370
test(docs-infra): add unit tests for rxjs examples ( #34190 )
...
This commit adds missing unit tests for all rxjs examples from the docs.
Closes #28017
PR Close #34190
2020-09-16 15:13:08 -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
David Shevitz
31d0ee4cbf
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:28 -07:00
Kapunahele Wong
38ff66dc32
docs: put docs style guide back in left nav ( #38683 )
...
PR Close #38683
2020-09-09 16:22:58 -07:00
Andrew Scott
f1b355b54f
docs: Restructure table of contents to provide a more streamlined experience ( #38763 )
...
This PR is to make the `10.1.x` branch navigation the same as `master`.
PR Close #38763
2020-09-09 10:46:09 -07:00
thekiba
e40ffb95c8
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:48 -07:00
Sam Vloeberghs
20564f997f
docs: add Sam Vloeberghs to GDE list ( #38761 )
...
PR Close #38761
2020-09-09 09:43:37 -07:00
Lars Gyrup Brink Nielsen
b1398d1771
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
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
George Kalpakas
5863537575
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:26 -07:00
Alan Cohen
251a28cb15
docs: remove duplicate trans-unit element closing tag ( #38715 )
...
PR Close #38715
2020-09-08 10:06:03 -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
Taylor Buckner
25afbcc459
docs: add dayjs date adapter to resources page ( #38031 )
...
PR Close #38031
2020-09-03 12:00:18 -07:00
David Shevitz
6aac499ee7
docs: Restructure table of contents to provide a more streamlined experience ( #38689 )
...
PR Close #38689
2020-09-02 15:39:25 -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
Dwayne Hinterlang
cbbf8b542f
docs: Remove confusion between do/avoid templates ( #38647 )
...
PR Close #38647
2020-08-31 10:25:21 -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
narmit
4e596b672f
docs: remove double space in start-data. ( #38642 )
...
PR Close #38642
2020-08-31 08:41:35 -07:00
Da-Woon Chung
83866827c3
docs: fix broken markdown in start/start-data ( #38644 )
...
PR Close #38644
2020-08-31 08:41:02 -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
Vlad GURDIGA
4d17418569
docs: delete one superfluous sentence ( #38339 )
...
PR Close #38339
2020-08-12 08:23:18 -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
cindygk
0de93fd402
docs: update team contributors page ( #38384 )
...
Removing Kara, Denny, Judy, Tony, Matias as they are no longer actively working on the project
PR Close #38384
2020-08-10 09:51:50 -07:00