George Kalpakas
93837e9545
feat(upgrade): support downgrading multiple modules ( #26217 )
...
Currently, calling `downgradeModule()` more than once is not supported.
If one wants to downgrade multiple Angular modules, they can create a
"super-module" that imports all the rest and downgrade that.
This commit adds support for downgrading multiple Angular modules. If
multiple modules are downgraded, then one must explicitly specify the
downgraded module that each downgraded component or injectable belongs
to, when calling `downgradeComponent()` and `downgradeInjectable()`
respectively.
No modification is needed (i.e. there is no need to specify a module for
downgraded components and injectables), if an app is not using
`downgradeModule()` or if there is only one downgraded Angular module.
Fixes #26062
PR Close #26217
2018-11-05 16:33:55 -08:00
Judy Bogart
516af6c531
docs: minor edits and corrections to cli intro ( #26654 )
...
PR Close #26654
2018-11-02 13:22:09 -07:00
Judy Bogart
9c2d0d0b24
docs: edit file structure page ( #26552 )
...
PR Close #26552
2018-11-02 11:25:12 -07:00
George Kalpakas
952ca59336
build(docs-infra): upgrade cli command docs sources to b50950b97 ( #26915 )
...
[Changed files](4faa81e25...b50950b97
):
- help/add.json
- help/build.json
- help/config.json
- help/doc.json
- help/e2e.json
- help/eject.json
- help/generate.json
- help/get.json
- help/help.json
- help/lint.json
- help/make-this-awesome.json
- help/new.json
- help/run.json
- help/serve.json
- help/set.json
- help/test.json
- help/update.json
- help/version.json
- help/xi18n.json
PR Close #26915
2018-11-02 10:35:54 -07:00
Brandon Roberts
affcbbdd7e
feat(docs-infra): add getting started widgets ( #26059 )
...
PR Close #26059
2018-11-02 10:34:53 -07:00
hariberry
df6a8b28de
docs: Webcomponents activated as of firefox 63 ( #26889 )
...
PR Close #26889
2018-11-01 14:30:21 -07:00
Pete Bacon Darwin
18b6d580c5
fix(docs-infra): update overload rendering ( #24976 )
...
Based on the review here:
https://github.com/angular/angular/pull/24976#issuecomment-415535125
PR Close #24976
2018-11-01 14:17:11 -07:00
Pete Bacon Darwin
03417df54e
build(docs-infra): display long overload parameter types as `object` ( #24976 )
...
In some overloads, the parameter type can be a large anonymous
object type.
This change displays such types as `object`. It is then up to the
documentation author to put more information about the type in the
method usage notes.
PR Close #24976
2018-11-01 14:17:11 -07:00
Pete Bacon Darwin
61cd5f7c0f
build(docs-infra): fix individual API overload templates ( #24976 )
...
* Make individual overloads collapsible
* Show only the first overload expanded, rest collapsed
* Text changes to 'collapse all' once 'show all' is clicked
* Fix chevron/carrot rotation animation when overloads / overload item is expanded or collapsed
PR Close #24976
2018-11-01 14:17:11 -07:00
Pete Bacon Darwin
68dfa04f8a
build(docs-infra): add method overload index ( #24976 )
...
PR Close #24976
2018-11-01 14:17:10 -07:00
Stefanie Fluin
6902977665
build(docs-infra): improve API overload templates ( #24976 )
...
PR Close #24976
2018-11-01 14:17:10 -07:00
Pete Bacon Darwin
eb5d3088a4
build: update `canonical-path` dependency ( #26719 )
...
This new version (1.0.0) provides a typings file!
PR Close #26719
2018-11-01 13:49:10 -07:00
Jason Aden
4e9f2e5895
feat(router): guard returning UrlTree cancels current navigation and redirects ( #26521 )
...
Fixes #24618
FW-153 #resolve
PR Close #26521
2018-10-31 19:51:50 -04:00
Igor Minar
62b4ff5250
docs: fixup deployment guide ( #26486 )
...
- remove sections that were not relevant (all the development stuff)
- fix incorrect info
PR Close #26486
2018-10-30 16:29:04 -04:00
Manish Bansal
634e9e970a
docs: Removing duplicate lines ( #26754 )
...
Duplicate lines are removed to avoid confusion.
PR Close #26754
2018-10-30 16:24:51 -04:00
djy0
678c28175e
docs: fix typo ( #26776 )
...
PR Close #26776
2018-10-30 16:24:13 -04:00
Ivan Tham
87a7f2dcb9
docs: fix typo ( #26773 )
...
PR Close #26773
2018-10-30 16:23:49 -04:00
Alexander Teplyashin
b95089db20
docs: replace unused variable by _ ( #26768 )
...
replace unused variable by _ to keep the code consistent between examples
PR Close #26768
2018-10-30 13:49:52 -04:00
Daniel Lewis BSc (Hons)
8a4ec8e565
docs: describe your change... ( #26784 )
...
PR Close #26784
2018-10-30 13:49:12 -04:00
Judy Bogart
23648b052a
docs: configuration file reference ( #26484 )
...
PR Close #26484
2018-10-30 13:44:52 -04:00
Brandon Roberts
91d2368e37
docs: update example dependencies to Angular/CLI/Universal V7 releases ( #26820 )
...
PR Close #26820
2018-10-30 13:44:24 -04:00
Pete Bacon Darwin
d72d50d83e
build(docs-infra): move CLI API desciption higher up ( #26568 )
...
Closes #26556
PR Close #26568
2018-10-29 13:01:08 -04:00
George Kalpakas
ea7ec4a6b3
test(docs-infra): make redirection tests more robust ( #26649 )
...
PR Close #26649
2018-10-29 13:00:20 -04:00
George Kalpakas
72f3d99920
test(docs-infra): make smoke tests more robust ( #26649 )
...
PR Close #26649
2018-10-29 13:00:20 -04:00
George Kalpakas
f6991dec3b
test(docs-infra): fix smoke tests ( #26649 )
...
PR Close #26649
2018-10-29 13:00:20 -04:00
George Kalpakas
0367d14044
test(docs-infra): run basic smoke tests against PR previews ( #26649 )
...
This makes the tests run agaisnt the deployed production versions (as
part of the `aio_monitoring` job) more reliable.
PR Close #26649
2018-10-29 13:00:20 -04:00
fisherspy
d2e6d6978e
docs: add ant design mobile of angular in resources ( #26562 )
...
PR Close #26562
2018-10-26 18:10:46 -04:00
Brian Love
da4a28e692
docs: fix indentation ( #26623 )
...
PR Close #26623
2018-10-26 18:10:15 -04:00
Luis Reinoso
b876356527
docs: add links to angular subdomains ( #26653 )
...
Add link to protactor.angular.io
Replace link from github.com/angular/universal to universal.angular.io
Replace link from github.com/angular/material2 to material.angular.io
fix #18257
PR Close #26653
2018-10-26 18:09:45 -04:00
Pete Bacon Darwin
07509da78d
build(docs-infra): ensure that CLI code blocks are not auto-linked ( #26675 )
...
Some of the text in CLI API docs were being auto-linked to API
pages. This was not correct, and in fact these blocks should not
have any auto links to Angular API at all.
Closes #26570
PR Close #26675
2018-10-26 18:09:20 -04:00
Pete Bacon Darwin
9ff8155cd9
build(docs-infra): mark code blocks to disable auto-linking ( #26675 )
...
You can now mark `<code>` blocks with a `no-auto-link` css class
to tell the code auto-linker to ignore this code block.
PR Close #26675
2018-10-26 18:09:20 -04:00
Pete Bacon Darwin
7c730fe5b3
build(docs-infra): include inherited members in search index ( #26676 )
...
Closes #23800
PR Close #26676
2018-10-26 13:16:33 -04:00
Pete Bacon Darwin
f233131974
build(docs-infra): refactor generateKeywords processor ( #26676 )
...
PR Close #26676
2018-10-26 13:16:32 -04:00
Pete Bacon Darwin
aefa06f7df
docs(core): update security guide sanitize example ( #26777 )
...
The sanitizer now removes the content of script tags as well as the tag itself.
PR Close #26777
2018-10-26 12:31:49 -04:00
Pete Bacon Darwin
d878f3df93
test(core): fix security example e2e test ( #26777 )
...
The changes in d5cbcef0ea
caused this test to fail.
PR Close #26777
2018-10-26 12:31:49 -04:00
George Kalpakas
d725ab5142
ci(docs-infra): reduce verbosity of `yarn build` on CI ( #26746 )
...
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
f1a860fbf7
ci(docs-infra): fix deployment to Firebase ( #26746 )
...
Previously, `firebase-tools@3.x` was used and the deployment from
CircleCI failed with `Unexpected error` (HTTP code: 410).
This commit ensures that we use a recent version of `firebase-tools` for
deploying to Firebase. It also ensures that we use the locally installed
`firebase-tools` (not sure where it came from before 😁 ).
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
141f9b2386
build(docs-infra): upgrade cli command docs sources to 4faa81e25 ( #26741 )
...
PR Close #26741
2018-10-25 21:10:21 -04:00
George Kalpakas
0cc9842bf6
test(upgrade): make e2e tests for upgrade docs examples less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
George Kalpakas
54ea10288e
test(elements): make e2e tests for elements docs examples even less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
Pete Bacon Darwin
13a803d4f7
build(docs-infra): fix parameter type rendering ( #26688 )
...
Closes #24355
PR Close #26688
2018-10-24 19:48:10 -04:00
George Kalpakas
ce6948fc1b
ci(docs-infra): remove jobs from Travis config ( #26377 )
...
PR Close #26377
2018-10-23 14:35:38 -07:00
George Kalpakas
38d626a3fa
ci(docs-infra): move deployment to CircleCI ( #26377 )
...
PR Close #26377
2018-10-23 14:35:38 -07:00
George Kalpakas
3b24e0edb6
build: use CI-provider independent variable names ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
b647608c96
test(elements): make e2e tests for elements docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
31c462ae3f
test(animations): make e2e tests for animations docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
da39fd70d2
test(docs-infra): improve logging output in `test-pwa-score[-localhost]` ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
jenniferfell
26e8032bd0
docs: update npm packages to be accurate for v7 ( #26422 )
...
PR Close #26422
2018-10-23 08:58:43 -07:00
nazanin1369
84af7b065d
docs(service-worker): Specify format of datagroups.cacheConfig.timeout ( #26469 )
...
Fixes #26454
PR Close #26469
2018-10-23 08:58:17 -07:00
jenniferfell
cca89ec36e
docs: reorganize events to highlight recent events before older events and move mix to past ( #26551 )
...
PR Close #26551
2018-10-23 08:56:52 -07:00