Tomasz Kula
002a5afa98
docs(aio): add cross field validation example ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
Pete Bacon Darwin
cf0968f98e
build(docs-infra): support hiding constructors of injectable classes ( #24529 )
...
Classes that are injectable often have constructors that should not be
called by the application developer. It is the responsibility of the
injector to instantiate the class and the constructor often contains
private implementation details that may need to change.
This commit removes constructors from the docs for API items that are
both:
a) Marked with an injectable decorator (e.g. Injectable, Directive,
Component, Pipe), and
b) Have no constructor description
This second rule allows the developer to override the removal if there
is something useful to say about the constructor.
Note that "normal" classes such as `angimations/HttpHeaders` do not have
their constructor removed, despite (at this time) having no description.
PR Close #24529
2018-06-26 10:58:11 -07:00
George Kalpakas
941d2cdaaf
test(aio): fix upgrade-phonecat examples e2e tests ( #24583 )
...
Closes #19625
PR Close #24583
2018-06-25 09:30:46 -07:00
yjaaidi
fba3f10938
docs: add guide-angular.wishtack.io to education resources ( #24585 )
...
PR Close #24585
2018-06-25 07:57:33 -07:00
Pete Bacon Darwin
8c51ce6f3b
build(docs-infra): move overload short description above syntax ( #24526 )
...
PR Close #24526
2018-06-25 07:56:36 -07:00
Ricardo Varanda
fe8fe9ba9e
docs: update Angular CLI option for sourcemaps ( #24437 )
...
PR Close #24437
2018-06-25 07:53:26 -07:00
George Tzinos
637805a0c9
docs: update `lowercase` pipe example in "AngularJS to Angular" guide ( #24588 )
...
PR Close #24588
2018-06-21 13:14:31 -07:00
George Kalpakas
cb31381734
build(docs-infra): redirect removed webpack guide to `v5.angular.io` ( #24595 )
...
The outdated webpack guide has been removed in #24478 , but people might
still try to access it (via direct links or search-engine results).
Instead of returning 404, we will now redirect `/guide/webpack` to the
archived version of the guide at `v5.angular.io/guide/webpack`.
PR Close #24595
2018-06-20 16:51:33 -07:00
Elana Olson
b91254fc43
docs(aio): add elana olson to contributor.json file ( #24579 )
...
Add new contributor, elana olson, to the contributors list.
PR Close #24579
2018-06-20 16:50:54 -07:00
Stefanie Fluin
a26965812b
feat(docs-infra): Add GitHub and Twitter external icon links to topnav toolbar ( #24542 )
...
PR Close #24542
2018-06-20 16:50:15 -07:00
Zhicheng Wang
bb515e2f4f
fix: 翻译错误
2018-06-20 09:03:45 +08:00
Brandon Roberts
794584e353
docs: Remove outdated Webpack guide and example ( #24478 )
...
A supporting Webpack guide will be introduced as part of the guidance
for ejecting from the Angular CLI.
Closes #23937
PR Close #24478
2018-06-18 15:03:22 -07:00
Pete Bacon Darwin
45862d0812
build(docs-infra): ensure all headings are sentence cased ( #24527 )
...
PR Close #24527
2018-06-15 09:13:45 -07:00
Pete Bacon Darwin
39af314e29
build(aio): add github links to API doc members ( #24000 )
...
This change adds Github edit and view links to methods
and decorator options.
It is possible to add these to properties also but the
UI is rather tight as these are displayed in a table.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
8daadf360c
build(aio): compute breadcrums for all API doc types ( #24000 )
...
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
859a3d5784
build(aio): fix decorator doc "inherited from" heading ( #24000 )
...
We should not include the package path in the inherited
from heading for decorator API docs
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
66f6a48210
fix(aio): tidy up API doc styles ( #24000 )
...
* Code anchors should inherit the font size from their container
* Table headings should align with content
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
8a4c577917
build(aio): fix broken doc-gen unit test ( #24000 )
...
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
2b15108f7e
build(aio): remove invalid H3 usage notes heading ( #24000 )
...
This heading is too high for the section because the
method name is a H3 but it cannot be a H4 because
usage notes may contain H4 headings.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
bc4f10ca20
build(aio): rearrange processors to ensure we catch all content errors ( #24000 )
...
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
77309e2ea4
build(aio): map H3 headings into H4 headings for certain templates ( #24000 )
...
The sections such as methods and decorator options are already headed
by a H3 heading so we need to map the H3 headings in the API doc source
down to H4 headings.
This commit includes general heading mapping functionality accessible via
the `marked` Nunjucks filter.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
e371b226fa
build(aio): rearrange decorator API doc template ( #24000 )
...
The overview of the decorator options is now a table.
The detailed description of each option is now a full section.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
ccb19fea68
build(aio): remove unused `@linkDocs` alias for `@link` jsdoc tag ( #24000 )
...
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
e7b392bf3a
build(aio): improve automatic linking of code items ( #24000 )
...
This commit adds new link disambiguators that mean that more
code links can be generated automatically in a sensible way.
The best example is the use of properties within class, interface and
enum documentation.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
8977b9690e
docs(aio): remove unused guide doc ( #24000 )
...
This was erroneously committed into master, when it was really only
supposed to demo what the pages might look like.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
d4d8125b2d
build(aio): refactor the decorator doc processing ( #24000 )
...
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
62443b04a0
build(aio): do not allow `@usageNotes` on properties ( #24000 )
...
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
3c1eb9413f
build(aio): update to latest dgeni-packages@0.26.2 ( #24000 )
...
This update allows us to autolink to methods and properties, which
means that we can change things like `{@link transition transition()}`
to just `transition()`.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
4168c946c6
build(aio): add content rule to prevent usageNotes in non-export API docs ( #24000 )
...
This commit also factors out `API_CONTAINED_DOC_TYPES` to be used by
both `filterContainedDocs` and `addAllowedPropertiesRules`.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
293ec78069
build(aio): don't constrain `checkContentRules` to run before another processor ( #24000 )
...
We don't really care when this processor runs as long as it happens
after the tags have been extracted.
By not constraining its `runBefore` property we can ensure that other
processors can be run before it.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
131d0d8e8a
build(aio): do not try to auto-link to internal API items ( #24000 )
...
This would cause dangling links since the target, being internal,
would not exist in the docs.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
5fb0b567ce
build(aio): don't render `@Annotation` tags ( #24000 )
...
Because we were "ignoring" these tags they were being
rendered as part of the previous tag.
What we really want to do is know about them, so that we
don't break the doc-gen but then ignore them when rendering.
PR Close #24000
2018-06-13 16:47:40 -07:00
Vani
503a524d27
docs: change capitalization for css hex color values ( #23511 )
...
PR Close #23511
2018-06-13 13:31:30 -07:00
vovchik-manko
0bd2d7bac6
docs: add message property to compose-message component ( #24310 )
...
PR Close #24310
2018-06-13 13:28:47 -07:00
Kirankumar Sripati
c8e865ac8e
docs: fix typo ( #24470 )
...
PR Close #24470
2018-06-13 11:54:26 -07:00
Kapunahele Wong
d9bf6e37ae
docs: fix wording in 4-10 ( #24385 )
...
PR Close #24385
2018-06-13 11:53:20 -07:00
Shaun Grady
153ba4dff3
docs(aio): Reorganize style guide sections on prefixing components/directives ( #22571 )
...
Closes https://github.com/angular/angular/issues/22081
PR Close #22571
2018-06-13 11:20:42 -07:00
George Kalpakas
5e8bf2f88d
build(docs-infra): ensure `dist/` directory is cleaned before running `tsc --watch` ( #24372 )
...
PR Close #24372
2018-06-11 09:18:46 -07:00
George Kalpakas
ea143e7498
build(docs-infra): upgrade preview server to latest `@types/shelljs` ( #24372 )
...
PR Close #24372
2018-06-11 09:18:46 -07:00
Michał Gołębiowski-Owczarek
8be6892777
fix(docs-infra): use script nomodule to load IE polyfills, skip other polyfills ( #24317 )
...
This commit includes two changes:
1. It changes the unreliable dynamic way of loading IE polyfills to use
`<script nomodule>` instead - for IE it's equivalent to a regular script tag
while modern browsers will ignore it.
2. It removes other polyfills for browsers not supporting `Object.assign` as
this API is supported by Chrome 45+, Firefox 34+ and Safari 9+ i.e. it's been
supported for some time.
Note that as of June 2018 Googlebot uses Chrome 41 to render sites to be
indexed. Chrome 41 doesn't support `Object.assign` but it also doesn't support
ES6 modules so it'll load polyfills meant for IE - which it should do anyway
as it doesn't support most of ES6.
Fixes #23647
PR Close #24317
2018-06-08 13:34:06 -07:00
Pete Bacon Darwin
9f877f4416
build(docs-infra): ensure stability is computed before the API list ( #24356 )
...
Previously the API list was being generated before the stability had
been computed. This meant that the API list page showed no API docs
when filtering by `stable` stability status.
Closes #24329
PR Close #24356
2018-06-08 13:33:32 -07:00
Stephen Fluin
4664226b97
docs(aio): add mix and connect to front page campaigns ( #24357 )
...
PR Close #24357
2018-06-08 13:31:28 -07:00
Zhicheng Wang
3684dbdced
fix: 文字微调
2018-06-08 08:22:21 +08:00
ketangote
ce1543fcde
docs(aio): Added resource link to Amexio Canvas Web Based IDE ( #24336 )
...
PR Close #24336
2018-06-07 18:46:32 -04:00
Pete Bacon Darwin
700e55ce14
build(docs-infra): log warning rather than error if content errors are not fatal ( #24320 )
...
PR Close #24320
2018-06-06 10:25:04 -07:00
Pete Bacon Darwin
68d37ef0c1
build(aio): ensure the correct decorator properties are merged ( #24289 )
...
Previously only the `description` and `usageNotes` were being copied over
from the call-member of the decorator interface. Important properties such
as `shortDescription` were missed.
These are now added and the code has been refactored to make it simpler and
clearer to update which properties get copied as the requirements change.
PR Close #24289
2018-06-06 10:23:47 -07:00
Brandon Roberts
87b16710e7
docs(aio): Add null type to form validation example ( #23949 )
...
Closes #20282
PR Close #23949
2018-06-05 17:32:36 -07:00
George Kalpakas
255463ed48
fix(aio): remove unnecessary scrollbar in `code-tabs` ( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
George Kalpakas
b4bbdb4ce2
fix(aio): add right-margin to `.home` link ( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
Alan Agius
7623d74607
docs(aio): clean up frequent ng-modules ( #24025 )
...
Closes #24017
PR Close #24025
2018-06-04 10:13:18 -07:00
Nathan Phillip Brink
ccaa199366
docs(aio): remove an extraneous apostrophe ( #24293 )
...
PR Close #24293
2018-06-04 10:11:28 -07:00
Kim Maida
49d5de68f6
docs(aio): Add GDE Kim Maida to contributors
2018-05-30 17:33:33 -07:00
alberto
5d6074eaff
docs: fix typo ( #24210 )
...
closes #24191
PR Close #24210
2018-05-30 17:06:12 -07:00
Aditya Bhardwaj
9add50129d
docs: fix typo ( #24210 )
...
closes #23891
PR Close #24210
2018-05-30 17:06:12 -07:00
Vani
4247176b6e
docs: fix typo if FAQ section ( #24210 )
...
closes #22360
PR Close #24210
2018-05-30 17:06:12 -07:00
seklyza
3b9c5c849c
docs: fix WebStorm name ( #24210 )
...
closes #21900
PR Close #24210
2018-05-30 17:06:12 -07:00
Victor Berchet
27d811a7ce
Revert "docs: update docs to use HttpClientModule instead of HttpModule ( #22727 )"
...
This reverts commit 3ed7fc6686
.
2018-05-30 16:12:49 -07:00
Judy Bogart
c25e6142d2
docs: remove unfinished observables file ( #23801 )
...
PR Close #23801
2018-05-30 14:44:28 -07:00
Kyle Liu
7c39216083
docs(aio): fix typo for @NgModuledecorator to @NgModule decorator ( #24201 )
...
closes #23974
PR Close #24201
2018-05-30 11:24:12 -07:00
Aditya Bhardwaj
223882aeb6
docs: fix typo ( #24201 )
...
closes #23853
PR Close #24201
2018-05-30 11:24:11 -07:00
Aaron Gussman
3ed7fc6686
docs: update docs to use HttpClientModule instead of HttpModule ( #22727 )
...
Updated most examples to use HttpClientModule instead of deprecated HttpModule
fix #19280
PR Close #22727
2018-05-30 10:03:14 -07:00
gjdev
7c1bd7170e
docs(aio): add blox material library to resources ( #20539 )
...
PR Close #20539
2018-05-30 10:02:32 -07:00
cexbrayat
41cd8f3efb
refactor(core): use Partial<T> for MetadataOverride ( #24103 )
...
Allows to write:
const fixture = TestBed
.overridePipe(DisplayNamePipe, { set: { pure: false } })
.createComponent(MenuComponent);
when you only want to set the `pure` metadata,
instead of currently:
const fixture = TestBed
.overridePipe(DisplayNamePipe, { set: { name: 'displayName', pure: false } })
.createComponent(MenuComponent);
which forces you to redefine the name of the pipe even if it is useless.
Fixes #24102
PR Close #24103
2018-05-29 18:40:05 -04:00
jenniferfell
00c4751f37
docs: update lts and labs practices ( #23922 )
...
PR Close #23922
2018-05-29 18:01:31 -04:00
George Kalpakas
c2e131119b
refactor(aio): rename method (loadContainingCustomElements --> loadContainedCustomElements) ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
7866684f2b
fix(aio): avoid loading the ToC component until it is necessary ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
6e05ae02a2
fix(aio): show embedded ToC ( #23944 )
...
On narrow screens (where there is not enough room on the right to show
the floating ToC), an embedded ToC is shown (via an `<aio-toc embedded>`
element in the document). Since ToC was not a custom element, the
component was not instantiated for the embedded element.
This commit fixes it by making `aio-toc` a custom element and loading it
manually for the floating ToC (if necessary).
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
431a42a238
feat(aio): add component for lazy-loading custom element ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
7a9c987e56
refactor(aio): order custom elements by selector ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
ae86cb3be0
fix(aio): do not load custom elements again while already loading ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
George Kalpakas
a6f34be9f5
build(aio): update payload size limits ( #23944 )
...
PR Close #23944
2018-05-29 18:00:33 -04:00
Danny Rademacher
d74078fb88
docs(http): correct spelling error ( #23675 )
...
Correct a spelling error. I changed HttpParms to HttpParams
PR Close #23675
2018-05-29 16:55:06 -04:00
Pete Bacon Darwin
ddd6124802
feat(aio): display code-tabs in a Material Design "card" ( #24027 )
...
This helps to connect the "content" of the tab to its label.
Closes #23985
PR Close #24027
2018-05-29 16:52:06 -04:00
Pete Bacon Darwin
96a0e131bf
feat(aio): render hover status on code-tabs ( #24027 )
...
The Material Design spec states that there should be a change
of background when hovering over a tab label.
See https://material.io/design/components/tabs.html#states
Related to #23985
PR Close #24027
2018-05-29 16:52:06 -04:00
Juri
7657535718
docs(aio): fix link to correct bio image ( #24150 )
...
PR Close #24150
2018-05-29 16:27:49 -04:00
Mashhood Rastgar
3de80fc7fb
docs(aio): Added Mashhood as GDE in contributors ( #24157 )
...
PR Close #24157
2018-05-29 16:20:05 -04:00
Zhicheng Wang
b7f7ca8bdf
fix: 文字微调
2018-05-26 09:49:01 +08:00
Zhicheng Wang
45e579236e
fix: 移除不用的菜单
2018-05-26 09:27:52 +08:00
Tiago Temporin
83bb5d1922
docs(aio): add material community components ( #24042 )
...
PR Close #24042
2018-05-25 13:45:40 -04:00
George Kalpakas
3e39fef274
refactor(aio): improve logging output in `update-preview-server.sh` ( #24071 )
...
PR Close #24071
2018-05-25 13:44:44 -04:00
Juri
36cc72ee5b
docs(aio): add Juri Strumpflohner to GDE resources ( #24086 )
...
PR Close #24086
2018-05-25 13:43:50 -04:00
Stephen Fluin
186118e684
docs(aio): remove outdated rangle link ( #24108 )
...
PR Close #24108
2018-05-25 13:41:59 -04:00
Zhicheng Wang
23f1e76479
fix: 翻译微调
2018-05-25 12:56:56 +08:00
thebyteman
fb906a87e8
docs(aio): fix typo ( #23925 )
...
PR Close #23925
2018-05-22 16:35:17 -04:00
Brandon Roberts
608c3748e8
docs(aio): Remove outdated README.md from cli-quickstart zip ( #23947 )
...
Closes #23936
PR Close #23947
2018-05-22 13:37:15 -04:00
Patrick McDonald
6d8c847e7b
docs: fix typo ( #23998 )
...
"Made" doesn't make sense (redoing and closing #23940 )
PR Close #23998
2018-05-22 13:35:13 -04:00
Brandon Roberts
db2329ef6a
docs(aio): Add missing dependencies and files to testing zip file download ( #23948 )
...
Closes #23060
PR Close #23948
2018-05-21 16:12:40 -04:00
VTHINKXIE
de267e97c9
docs(aio): add ant design of angular in resources ( #23953 )
...
PR Close #23953
2018-05-21 16:11:13 -04:00
George Kalpakas
f8c6947205
fix(aio): avoid unnecessary re-calculations in live-examples ( #23960 )
...
With `plnkrs`, we used to choose a different plnkr mode (normal vs
embedded) based on the size of the screen. This affected the layout of
the plnkr page ("embedded" plnkr mode was usable on small screens, while
"normal" mode wasn't). This is not to be confused with the live-example
mode we use today to determine whether the live-example should be a link
(that open StackBlitz on a new page) or embedded into the document
(using an iframe).
Since we no longer need to change the live-example URL based on the
screen size, there is no need to listen for rezise events on Window. The
necessary properties can be computed once and certain variables are
obsolete.
PR Close #23960
2018-05-21 16:10:12 -04:00
George Kalpakas
41fea84957
fix(aio): allow setting live-example title from content ( #23960 )
...
Previously, it was possible to set the live-example title as content in
the `<live-example>` element. This relied on our custom loader
functionality that extracted the content from the DOM element before
passing it to the Angular compiler and stored it on a property for later
retrieval.
Since we switched to custom elements (and got rid of the custom loader),
the property is no longer populated with the contents. As a result, many
live examples show the default title ("live example") instead of the one
specified as content.
This commit fixes it by projecting the content into an invisible node
for later retrieval (similar to what we do in other components, such as
the `CodeExampleComponent`).
PR Close #23960
2018-05-21 16:10:12 -04:00
George Kalpakas
a7b07defe1
refactor(aio): clean up `attribute-utils` ( #23960 )
...
PR Close #23960
2018-05-21 16:10:12 -04:00
George Kalpakas
99d330a1b7
style(aio): remove background from `lazy-loading` concept icon ( #23950 )
...
Fixes #23938
PR Close #23950
2018-05-21 16:08:08 -04:00
mhartington
3cdf5afc6e
docs(aio): add mhartington to gde ( #23777 )
...
PR Close #23777
2018-05-21 16:05:18 -04:00
Akihito Tamagawa
ea4321d912
docs(aio): fix typo ( #23990 )
...
are are -> are
PR Close #23990
2018-05-21 16:04:08 -04:00
Zhicheng Wang
8494cf4b25
fix: 翻译微调
2018-05-19 22:22:18 +08:00
NAIVEddd
1b2560cf4e
fix: translate error.
2018-05-19 10:55:39 +08:00
NAIVEddd
d4fa1d4c61
fix: translate error.
2018-05-19 10:55:39 +08:00
Chris Yu
d6e2a8f614
fixed some translation errors and typo
2018-05-19 10:53:47 +08:00
Jerry
e1090c1c54
修改翻译错误
...
应该显示响应式表单的基础类,而不是CSS类。
2018-05-19 10:48:34 +08:00
Zhicheng Wang
f73b11cfe1
fix: minor text fix
2018-05-18 16:34:19 +08:00
Collin Klopfenstein
88ab1d0e55
docs(aio): changed 'onVoted' output property to 'voted' to be in line with the styleguide ( #23832 )
...
PR Close #23832
2018-05-16 17:23:05 -04:00
Brandon Roberts
20d76374ed
docs(aio): Expose server and CLI configuration for universal in guide ( #23842 )
...
Closes #23795
PR Close #23842
2018-05-16 17:21:44 -04:00
Alexander Burakevych
55103419e9
docs(aio): add Angular Conf Australia to events ( #22929 )
...
Angular Conf Australia 2018 will be held at June 22 in Melbourne, Australia!
https://www.angularconf.com.au/
PR Close #22929
2018-05-16 17:18:46 -04:00
Suguru Inatomi
547efb5f4d
docs(aio): fix path to observables guide ( #23858 )
...
PR Close #23858
2018-05-16 17:16:48 -04:00
Jonathan Sharpe
091b11a4ab
docs(aio): update HTTP error test example ( #22844 )
...
Update the example to match the description preceding it, which refers to the
use of the error method and ErrorEvent rather than the flush method with a
non-2xx status as shown previously.
PR Close #22844
2018-05-16 17:15:20 -04:00
Stephen Fluin
6a24c02d73
docs(aio): Remove Intertech with no courses scheduled ( #22867 )
...
PR Close #22867
2018-05-16 17:09:43 -04:00
Zhicheng Wang
f5b24bf615
fix: fine-tuning translation
2018-05-16 13:08:17 +08:00
Zhicheng Wang
b6a0b06454
fix: translate new chapter "Angular Elements Overview"
2018-05-16 12:59:27 +08:00
Zhicheng Wang
f7a6ccbb5d
fix: merge code & fix some issues
2018-05-16 08:19:28 +08:00
Stefanie Fluin
b7c417f618
feat(aio): add brand and concept icons, img style class more flexible ( #23589 )
...
PR Close #23589
2018-05-15 15:36:06 -07:00
George Kalpakas
1d378e2987
fix(service-worker): deprecate `versionedFiles` in asset-group resources ( #23584 )
...
Since `versionedFiles` behaves in the exact same way as `files`, there
is no reaason to have both. Users should use `files` instead.
This commit deprecates the property and prints a warning when coming
across an asset-group that uses it. It should be completely removed in
a future version.
Note, it has also been removed from the default `ngsw-config.json`
template in angular/devkit#754.
PR Close #23584
2018-05-15 12:19:08 -07:00
Zhicheng Wang
8136953a09
Merge branch 'en-master' into aio
...
# Conflicts:
# aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts
# aio/content/examples/reactive-forms/src/app/hero-list/hero-list.component.ts
# aio/content/examples/upgrade-module/src/systemjs.config.1.js
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-next-steps.md
# aio/content/guide/architecture-services.md
# aio/content/guide/architecture.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/comparing-observables.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/docs-style-guide.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/elements.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/http.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/npm-packages.md
# aio/content/guide/observables.md
# aio/content/guide/providers.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/releases.md
# aio/content/guide/router.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-devops.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/setup.md
# aio/content/guide/singleton-services.md
# aio/content/guide/styleguide.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/guide/updating.md
# aio/content/guide/upgrade.md
# aio/content/marketing/features.html
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/documents/document.service.ts
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
# aio/src/app/shared/toc.service.ts
# aio/tools/transforms/templates/api/base.template.html
# aio/yarn.lock
2018-05-15 23:26:31 +08:00
Zhicheng Wang
d3ed81064b
chore: extract dict
2018-05-15 23:10:30 +08:00
Zhicheng Wang
7ffc6b03d7
fix: sync to 6.0(Content complete)
2018-05-15 17:28:18 +08:00
Zhicheng Wang
a108ac5130
fix: sync to 6.0(WIP)
2018-05-15 14:01:08 +08:00
Zhicheng Wang
2867ceecdb
fix: sync to 6.0(WIP)
2018-05-15 13:32:40 +08:00
Zhicheng Wang
4ff1a42339
fix: sync to 6.0(WIP)
2018-05-15 12:33:17 +08:00
Zhicheng Wang
47cc6f7a72
fix: sync to 6.0(WIP)
2018-05-15 10:50:10 +08:00
Jon Gear
67b8d57a8d
docs(aio): use heroesUrl ( #23884 )
...
PR Close #23884
2018-05-14 10:38:15 -07:00
Pete Bacon Darwin
02acb5e3e5
build(aio): improve `enum` API rendering ( #23872 )
...
* The member details section is now called "Members", rather
than "Properties".
* The property table now displays appropriate table headings:
"Member", "Value", "Description".
* The "Value" column is not shown if none of the members have
a value.
Closes #22678
PR Close #23872
2018-05-14 10:37:42 -07:00
Pete Bacon Darwin
a2e8b3a6a8
build(aio): ensure usageNotes are copied into decorator API docs ( #23901 )
...
PR Close #23901
2018-05-14 10:35:33 -07:00
Pete Bacon Darwin
d889f57ae2
build(aio): display types of API const docs correctly ( #23850 )
...
Previously these docs always displayed `any` as the type
of the const export. Now the type is computed correctly from
the declared type or initializer of the constant.
PR Close #23850
2018-05-11 16:44:50 -04:00
George Kalpakas
474dbf09ec
fix(aio): make background transparent in 144x144 PWA icon ( #23851 )
...
Fixes #23827
PR Close #23851
2018-05-11 12:38:21 -04:00
Cory Rylan
e129b18d17
docs(aio): add Cory Rylan to GDE resources ( #23840 )
...
PR Close #23840
2018-05-11 12:32:38 -04:00
panakour
8a27a034c4
docs: update version to 6 in language-service ( #20795 )
...
PR Close #20795
2018-05-11 12:22:51 -04:00
Judy Bogart
c4221dad11
docs(elements): add angular element term to glossary ( #23807 )
...
PR Close #23807
2018-05-10 15:50:00 -07:00
swseverance
fe3679a356
style: remove empty comments ( #23404 )
...
PR Close #23404
2018-05-10 15:48:13 -07:00
Judy Bogart
72eab4d254
docs(elements): emphasize future direction, update link ( #23806 )
...
PR Close #23806
2018-05-10 15:46:53 -07:00
Alain Chautard
117c7eebc3
docs(aio): add Alain Chautard in GDE list ( #23783 )
...
PR Close #23783
2018-05-10 12:07:10 -07:00
Zhicheng Wang
fb29977b22
fix: sync to 6.0(WIP)
2018-05-10 14:12:21 +08:00
Zhicheng Wang
5391220474
fix: sync to 6.0(WIP)
2018-05-10 13:55:06 +08:00
Zhicheng Wang
11e0635d0d
fix: sync to 6.0(WIP)
2018-05-10 13:53:04 +08:00
Zhicheng Wang
f0aff1095a
fix: sync to 6.0(WIP)
2018-05-10 13:51:25 +08:00
Zhicheng Wang
43e2c1d4bf
fix: sync to 6.0(WIP)
2018-05-10 13:50:05 +08:00
Zhicheng Wang
ca4ce359bc
fix: sync to 6.0(WIP)
2018-05-10 13:48:22 +08:00
cexbrayat
e942d8b681
fix(aio): fix error in import after RxJS 6 migration ( #22886 )
...
PR Close #22886
2018-05-09 11:52:04 -07:00
Pete Bacon Darwin
61170856ee
build(aio): include `navigation.json` changes in docs-watch ( #23698 )
...
Closes #23582
PR Close #23698
2018-05-09 11:45:18 -07:00
George Kalpakas
a800ccd922
fix(aio): add link to v5 docs ( #23794 )
...
Fixes #23781
PR Close #23794
2018-05-09 11:44:45 -07:00
Brandon Roberts
d01ec03f54
docs(aio): Upgrade example dependencies to Angular V6 ( #23660 )
...
PR Close #23660
2018-05-08 13:56:48 -07:00
Brandon Roberts
9e2d87f5b8
docs(aio): Update i18n example to Angular V6 ( #23660 )
...
PR Close #23660
2018-05-08 13:56:48 -07:00
Zhicheng Wang
d1220e0cfa
fix: sync to 6.0(lifecycle & ngmodule-faq)
2018-05-08 13:57:47 +08:00
Zhicheng Wang
18eb14ced0
fix: sync to 6.0(DI & http)
2018-05-08 13:45:32 +08:00
Zhicheng Wang
ccea077bfd
fix: sync to 6.0(docs)
2018-05-08 13:33:06 +08:00
Zhicheng Wang
5d573e8001
fix: sync to 6.0(DI & deploy)
2018-05-08 13:32:11 +08:00
Zhicheng Wang
efa212ce27
fix: sync to 6.0(DI in action)
2018-05-08 12:27:29 +08:00
Zhicheng Wang
77a2381d0a
fix: sync to 6.0(WIP)
2018-05-07 13:06:47 +08:00
Igor Minar
b25e15c317
feat(aio): add v6 release notification ( #23690 )
...
PR Close #23690
2018-05-04 15:23:36 -07:00
George Kalpakas
3b067c8579
fix(aio): remove main background color when printing ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
57cf5509e6
fix(aio): fix `code-example` print styles when printing backgrounds ( #23538 )
...
Fixes #23431
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
3f20a5c7c8
refactor(aio): use the same selectors for screen and print styles ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
14d8a98001
refactor(aio): include print styles last to overwrite other styles ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00
Igor Minar
5cb36ed706
test: fix firebase deployment script test
...
When I fixed the project id in 2c4850dc58
,
I didn't realize we had a test that verified the wrong behavior.
2018-05-04 15:08:43 -07:00
Zhicheng Wang
a0c16c7b54
chore: re-extract dict
2018-05-04 12:26:06 +08:00
Filipe Silva
490e39a23f
build(aio): use Angular 6.0.0 ( #23687 )
...
PR Close #23687
2018-05-03 16:05:34 -07:00
Filipe Silva
33c1c1df36
build(aio): update to Angular CLI 6.0.0 ( #23687 )
...
PR Close #23687
2018-05-03 16:05:34 -07:00
Igor Minar
2c4850dc58
fix(aio): correct project id for deployment of archive sites
2018-05-03 15:10:26 -07:00
Brandon Roberts
2cf6244b1d
docs(aio): Upgrade server-side rendering example to Angular V6 ( #23649 )
...
PR Close #23649
2018-05-02 16:51:03 -07:00
jenniferfell
d7ed9c9e9e
docs: add new info about angular update policies and resources ( #23551 )
...
PR Close #23551
2018-05-02 16:26:46 -07:00
Vani
d71329d55c
docs: add information on when not to use tree-shakable providers ( #23634 )
...
PR Close #23634
2018-05-02 15:56:34 -07:00
George Kalpakas
7ba26b140b
fix(aio): correctly route embedded live-example URLs from SW ( #23637 )
...
Partially addresses #23626 .
PR Close #23637
2018-05-02 15:55:23 -07:00
Ardeshir81
297723d0bc
refactor(aio): move right margin from `.home` image to `.home` anchor ( #23624 )
...
This makes the outline of `.home` symmetric.
PR Close #23624
2018-05-02 15:54:14 -07:00
Ardeshir81
bb07fbde76
style(aio): add space between `.home` and `.hamburger` ( #23624 )
...
When the `.hamburger` icon is clicked, it's background is drawn until
the very edge of `.home`'s image, leaving no space.
PR Close #23624
2018-05-02 15:54:14 -07:00
Camilo Giraldo
d7e8d15578
docs: add missing link to bootstrapping section ( #23214 )
...
PR Close #23214
2018-05-02 15:53:00 -07:00
Vani
bfad6b4fa1
docs: add doc to include updates to the index.html with the new ng add command ( #23616 )
...
PR Close #23616
2018-05-02 15:18:23 -07:00
Brandon Roberts
fd9d1888ce
build(aio): align stackblitz files with Angular CLI V6 ( #23521 )
...
Also cleans up legacy references to `.angular-cli.json`
PR Close #23521
2018-05-02 15:00:57 -07:00
Anuj
94fbe3b5ac
docs(forms): Fixed a typo in the reactive form (From 'address' to 'secretLairs') section ( #23221 )
...
PR Close #23221
2018-05-02 15:00:27 -07:00
Andrew Seguin
56828e43b6
docs(elements): add intro connecting angular elements to custom elements ( #23638 )
...
PR Close #23638
2018-05-02 14:57:20 -07:00
Sarun Intaralawan
fb41b7dc30
docs(aio): update Egghead.io URL ( #23598 )
...
Closes #23597
PR Close #23598
2018-05-01 10:27:16 -07:00
George Kalpakas
ca1019a950
docs: fix typo in tag name (`my-child` --> `app-child`) ( #23606 )
...
Fixes #23599
PR Close #23606
2018-05-01 10:26:50 -07:00
Bennett Hardwick
cc6c4346c2
docs(aio): update docs error in guide/http ( #23567 )
...
Updates documentation to include examples for both req.flush and
req.error in http testing examples.
PR Close #23567
2018-04-27 07:24:17 -07:00
George Kalpakas
4cb46ce10c
build(aio): add support for faster, unoptimized `serve` ( #23569 )
...
When running `yarn start` and `yarn serve-and-sync`, we are usually
more interested in faster re-build times than optimized builds. This was
also the behavior, before upgrading to @angular/cli@6 (fc5af69fb
).
This commit introduces a new configuration (`fast`), which is used by
`yarn start` and `yarn serve-and-sync` to restore the faster,
unoptimized builds.
Other commands, such as `ng serve` and `ng e2e`, remain unchanged (using
slower, optimized builds).
PR Close #23569
2018-04-27 07:22:17 -07:00
Judy Bogart
a522bb9f03
docs: correct more typos ( #23565 )
...
PR Close #23565
2018-04-27 07:19:14 -07:00
Judy Bogart
31b96e99ff
docs: correct typos ( #23565 )
...
PR Close #23565
2018-04-27 07:19:14 -07:00
Judy Bogart
b7a6e1fef7
docs: correct node.js version and usage ( #23565 )
...
PR Close #23565
2018-04-27 07:19:14 -07:00
Judy Bogart
f567e1898f
docs: update glossary architectural terms ( #23045 )
...
PR Close #23045
2018-04-25 13:21:52 -07:00
Noah Medling
8d0ee34939
docs: corrected spelling of "ambient".
2018-04-24 15:04:50 -07:00
Vani
43a49d3f64
docs: fix typo ( #23514 )
...
PR Close #23514
2018-04-24 14:43:34 -07:00
George Kalpakas
dab5df9734
ci(aio): fix `deploy-to-firebase` script ( #23470 )
...
Temporary workaround for angular/angular-cli#10398.
The behavior of `yarn build` remains the same, but building for a
specific deployment env (e.g. archive, next) requires
`yarn build-for $deployEnv`.
PR Close #23470
2018-04-24 11:15:35 -07:00
Sam Julien
60e5507076
docs(aio): Add UpgradingAngularJS to education resources ( #23169 )
...
PR Close #23169
2018-04-23 13:36:47 -07:00
Igor Minar
fd48e53986
docs(aio): add front page campaign for the ng-conf live stream ( #23391 )
...
PR Close #23391
2018-04-17 14:13:43 -07:00
Brandon Roberts
fe312ccb4c
docs(aio): Cleanup examples with edits from Igor/George ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
764f471dc0
build(aio): turn on webpack's stats.json generation for debugging purposes ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
8b02c0e769
build(aio): add @angular/language-service ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Brandon Roberts
5a2ee7a6f5
docs(aio): Bump shared yarn.lock file for examples ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Brandon Roberts
529d4fc9ee
docs(aio): Bump shared dependencies to RC5 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Brandon Roberts
fac7dde5b1
docs(aio): Fix failing upgrade-module tests ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Brandon Roberts
1f005908a4
docs(aio): Fix failing boilerplate tests ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Brandon Roberts
2278fe8f0e
docs(aio): Upgrade examples to Angular 6 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
aad3444a58
test(aio): fix failing tests ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
44377adbcc
docs(aio): update `yarn test` command in README.md ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
b28b3acb83
build(aio): update to @angular/material@6.0.0-rc.11 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
7493435911
test(aio): move reflect-metadata polyfills to test.ts ( #23234 )
...
This resolves https://github.com/angular/angular-cli/issues/10333 and nicely cleans up the code.
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
937f7cea37
build(aio): update to angular/core@6.0.0-rc.5 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
7d1990e4d1
style(aio): lint fixes for examples ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
76f8ae31ad
test(aio): fix tests and update testing infra ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
103846a51d
build(aio): update tslint and codelyzer ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
0a536af093
build(aio): fix deployment script ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
4f29287399
build(aio): upgrade `@angular/cli` to `6.0.0-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
62e6c1f43a
build(aio): upgrade `@angular/*` to `6.0.0-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
c3c513ed9e
build(aio): remove redundant flags from cli commands ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00