Jamie Krug
23dc9a90b0
docs: fix typo in user input guide ( #22630 )
...
PR Close #22630
2018-07-18 14:04:09 -04:00
Pete Bacon Darwin
74b250b146
feat(docs-infra): enable filtering by package on API list page ( #24631 )
...
PR Close #24631
2018-07-13 19:45:55 -04:00
Pete Bacon Darwin
d8c828c9b1
build(docs-infra): implement the 'package' API template ( #24631 )
...
PR Close #24631
2018-07-13 19:45:54 -04:00
Dario Braun
82004c76ac
docs: update component styles doc regarding relative URL ( #24471 )
...
Update the documentation to match the CLI mechanics regarding relative URL in link tags.
docs: update info on stylesheet location for CLI
PR Close #24471
2018-07-12 16:44:00 -04:00
Alain Chautard
85d9c20b1d
docs(aio): Add Angular Training to list of training companies ( #23907 )
...
PR Close #23907
2018-07-12 16:39:56 -04:00
Arun Kumar
0d6b74dd87
docs: fix typo in component architecture guide ( #24832 )
...
Change the sentence from 'this tells Angular how provide ...' to 'this tells Angular how to provide ...'. The current sentence does not make grammatical sense.
PR Close #24832
2018-07-12 14:31:27 -04:00
Daniel Sogl
b7823e7087
docs: unified string chaining ( #22735 )
...
PR Close #22735
2018-07-10 18:50:44 -07:00
Daniel Sogl
3f8ab80583
docs(aio): unified string chaining ( #22735 )
...
PR Close #22735
2018-07-10 18:50:44 -07:00
Jamie Krug
ffb9dc6cf9
docs: fix incorrect forms selector references ( #22631 )
...
PR Close #22631
2018-07-10 18:50:17 -07:00
Jamie Krug
505b54b86b
docs: fix typos referencing inline component styles ( #22557 )
...
PR Close #22557
2018-07-10 18:48:29 -07:00
Judy Bogart
50fbed8e5f
docs: correct project definition ( #24807 )
...
PR Close #24807
2018-07-10 18:47:19 -07:00
George Kalpakas
03616bcb43
docs: fix typo in Universal guide ( #24812 )
...
PR Close #24812
2018-07-10 11:12:45 -07:00
Judy Bogart
49df4ef454
docs: add tree-shakable providers ( #24481 )
...
PR Close #24481
2018-07-10 11:12:07 -07:00
Judy Bogart
e1146f3d06
docs: clarify wording in architecture overview ( #24481 )
...
Closes #23463
Closes #22158
PR Close #24481
2018-07-10 11:12:07 -07:00
Daniel Sogl
a167bca927
docs: unified console.log single string style ( #22737 )
...
PR Close #22737
2018-07-10 11:11:29 -07:00
Daniel Sogl
e3709f5d48
docs(aio): unified console.log single string style ( #22737 )
...
PR Close #22737
2018-07-10 11:11:29 -07:00
George Kalpakas
250527ca68
feat(service-worker): add support for `?` in SW config globbing ( #24105 )
...
The globbing is used in the following sections:
- `assetGroups` > `resources` > `files`/`versionedFiles`
- `assetGroups` > `resources` > `urls`
- `dataGroups` > `urls`
- `navigationUrls`
Query params are ignored for `files`/`versionedFiles` and
`navigationUrls`, but they are still taken into account for
`assetGroups`/`dataGroups` `urls`. To avoid a breaking change, `?` is
matched literally for these patterns.
PR Close #24105
2018-07-06 13:50:17 -07:00
Paul Spears
94076c934c
docs: update Angular Boot Camp description ( #23653 )
...
PR Close #23653
2018-07-06 13:49:56 -07:00
Daniel
f936b8cbd2
docs: refactored ng-container code ( #22742 )
...
PR Close #22742
2018-07-06 13:49:35 -07:00
George Kalpakas
e01b539ee5
refactor: infer type for `it()` assertion functions ( #19904 )
...
PR Close #19904
2018-07-06 13:48:02 -07:00
Judy Bogart
3e6a722ddb
docs: add workspace and related cli terms ( #24633 )
...
PR Close #24633
2018-07-06 10:13:39 -07:00
Will
568612349f
docs(aio): added a link to Angular Zero online course (Traditional Chinese) ( #24228 )
...
PR Close #24228
2018-07-06 10:11:01 -07:00
Kapunahele Wong
b719905f9b
docs: clarify faqs about services ( #24079 )
...
PR Close #24079
2018-07-06 10:10:41 -07:00
ampGular
56a8533cf3
docs: add app.module to changed documents ( #23876 )
...
PR Close #23876
2018-07-06 10:10:20 -07:00
paulmojicatech
7f3242affb
docs: fix documention for attributes directive ( #24367 )
...
fix:update documentation for attributes directive to fix error
PR Close #24367
2018-07-03 18:34:58 -04:00
Michael Prentice
948e2236c0
docs(aio): update contributors entry ( #23786 )
...
PR Close #23786
2018-07-02 15:45:39 -07:00
Rob Wormald
3553977bd7
feat(core): add support for ShadowDOM v1 ( #24718 )
...
add a new ViewEncapsulation.ShadowDom option that uses the v1 Shadow DOM API to provide style encapsulation.
PR Close #24718
2018-07-02 14:37:41 -07:00
Jonathan Sharpe
1ae3f87383
docs: update HTTP error test example again ( #24701 )
...
This has somehow regressed since angular/angular#22844 was merged.
PR Close #24701
2018-07-02 14:37:18 -07:00
Conner Chyung
4e7a44c816
docs: fix typo in pipes guide ( #24452 )
...
PR Close #24452
2018-07-02 14:36:55 -07:00
Arunkarthick S. R
d1805d04d5
docs: fix docregion in attribute directives for highlight directive ( #23972 )
...
Fixes #23503
PR Close #23972
2018-07-02 14:36:24 -07:00
Pete Bacon Darwin
d876700c26
build(docs-infra): render short description of parameters in API docs ( #24537 )
...
PR Close #24537
2018-06-28 15:03:14 -07:00
Brandon Roberts
3db9d57de3
fix(docs-infra): use clean package.json template when generating zips ( #24691 )
...
Closes #24689
PR Close #24691
2018-06-28 15:01:00 -07:00
Brandon Roberts
66e50f28d2
docs: include ts-loader as shared example dependency ( #24691 )
...
Closes #24671
PR Close #24691
2018-06-28 15:01:00 -07:00
FinnStutzenstein
676ec411b9
docs: consistent spacing in tutorial html files ( #23105 ) ( #24497 )
...
- Removed surrounding spaces in interpolation expressions following the styleguide
- Consistant spacing of two spaces in html
Fixes #23105
PR Close #24497
2018-06-28 17:56:19 -04:00
Kapunahele Wong
22758912a0
docs(aio): tech edits to upgrade-lazy ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
70156bc4ed
docs(upgrade): add guide about `downgradeModule()` ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
24e0c3d43d
docs: minor fixes in `docs-style-guide` ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Nico de Haen
8dec381145
docs: fix unit tests in toh-pt6 ( #24491 )
...
Resolves #20373
PR Close #24491
2018-06-27 14:33:26 -07:00
Alan Agius
32da3e1602
docs: add explanation for `enableResourceInlining` ( #24644 )
...
PR Close #24644
2018-06-27 14:31:53 -07:00
Tomasz Kula
5c0e681bf3
docs(aio): fix adding to template driven forms ( #23743 )
...
PR Close #23743
2018-06-26 11:03:36 -07:00
Tomasz Kula
7d6e833a6f
docs(aio): fix issues suggested by Brandon ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
Tomasz Kula
49e900d6fc
docs(aio): fix issues suggested by Kara ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
Tomasz Kula
5feb9e1935
docs(aio): address pr review issues ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
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
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
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
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
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
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
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
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
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
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
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
George Kalpakas
ed495bc9f1
build(aio): switch to `webpack-cli` for IE polyfills ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
a3de5f8f20
build(aio): upgrade `rxjs` to `6.0.0-turbo-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
47d3acdc49
build(aio): reorder entries in package.json ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
acbfb9eb4d
build: fix angular.json that was missing keys due to cli bugs ( #23234 )
...
https://github.com/angular/angular-cli/issues/10225
https://github.com/angular/angular-cli/issues/10226
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
d35f84a167
build(aio): update to @angular/material@6.0.0-rc.1 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
87e9f333d4
build(aio): update to @angular/material@5.2.4 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
fc5af69fb2
build(aio): update to @angular/cli@6.0.0-rc.2 + project layout update ( #23234 )
...
project layout was updated using:
yarn ng update @angular/cli --migrate-only --from=1.7.3
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
81ccb718b1
build(aio): upgrade to @angular/*@6.0.0-rc.3 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
0c56dfadef
build(aio): upgrade to @angular/*@6.0.0-rc.2 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
99f8e10809
ci(aio): fix `aio-monitoring` tests ( #23390 )
...
Previously, we were running the e2e tests from master against
`https://angular.io ` (deployed from the stable branch). Often the e2e
tests from master do not apply to the stable branch, since the app has
deviated slightly.
This commit fixes this by stop running the full e2e tests against the
deployed versions, but a smaller set of "smoke tests", which check basic
functionality that is less likely to change between versions.
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
d665d9a18c
refactor(aio): rename directory (tests/deployment-config --> tests/deployment) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
8b2101be9f
refactor(aio): rename spec file ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
0d56cee9e1
refactor(aio): rename yarn script (deployment-config-test --> redirects-test) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
Anuj
010a4efa8c
docs(aio): Fixed typo in 'comparing observables -> Observabled compared ( #23407 )
...
to arrays' section.
PR Close #23407
2018-04-17 13:43:45 -07:00
Eyal Cherevatzki
c3280b2c2f
docs(aio): change `HeroService` to `MessagesComponent` ( #23397 )
...
Someone probably forgot to change this when coping the sentence from a previous section.
PR Close #23397
2018-04-16 09:01:58 -07:00
Eyal Cherevatzki
d11b249d36
docs(aio): change `HeroDetailsComponent` to `HeroDetailComponent` ( #23397 )
...
For the sake of consistency, change `HeroDetailsComponent` to `HeroDetailComponent`.
PR Close #23397
2018-04-16 09:01:58 -07:00
Vani
9c29127723
docs: document how to enable service worker using ng add command ( #23348 )
...
PR Close #23348
2018-04-16 08:57:13 -07:00
Tiep Phan
fd1c39ce42
docs: update lifecycle hooks section in cheatsheet ( #23320 )
...
PR Close #23320
2018-04-15 23:44:44 -07:00
systemallica
896811df64
docs(aio): add missing word in the Component metadata section ( #23384 )
...
PR Close #23384
2018-04-15 23:36:55 -07:00
Brandon Roberts
490772e680
docs(aio): Update file tree to match Angular CLI V6 structure ( #23367 )
...
PR Close #23367
2018-04-13 14:19:16 -07:00
George Kalpakas
08325aaffc
feat(service-worker): add support for configuring navigations URLs ( #23339 )
...
The ServiceWorker will redirect navigation requests that don't match any
`asset` or `data` group to the specified index file. The rules for a
request to be classified as a navigation request are as follows:
1. Its `mode` must be `navigation`.
2. It must accept a `text/html` response.
3. Its URL must match certain criteria (see below).
By default, a navigation request can have any URL except for:
1. URLs containing `__`.
2. URLs to files (i.e. containing a file extension in the last path
segment).
While these rules are fine in many cases, sometimes it is desirable to
configure different rules for the URLs of navigation requests (e.g.
ignore specific URLs and pass them through to the server).
This commit adds support for specifying an optional `navigationUrls`
list in `ngsw-config.json`, which contains URLs or simple globs
(currently only recognizing `!`, `*` and `**`).
Only requests whose URLs match any of the positive URLs/patterns and
none of the negative ones (i.e. URLs/patterns starting with `!`) will be
considered navigation requests (and handled accordingly by the SW).
(This is an alternative implementation to #23025.)
Fixes #20404
PR Close #23339
2018-04-13 13:13:36 -07:00
George Kalpakas
d1e716b2cb
docs(service-worker): minor fixes/improvements ( #23339 )
...
PR Close #23339
2018-04-13 13:13:36 -07:00
Rafael
639d52fe71
refactor: ensure all 'TODO's are consistent ( #23252 )
...
PR Close #23252
2018-04-13 13:11:01 -07:00
George Kalpakas
eac36d7e1a
test(aio): fix `DocViewerComponent` tests ( #23359 )
...
Obsolete assertions left over from #23249 .
PR Close #23359
2018-04-13 08:06:19 -07:00
George Kalpakas
0224f1aaf3
refactor(aio): remove file that should not be tracked ( #23359 )
...
PR Close #23359
2018-04-13 08:06:19 -07:00
Rob Wormald
74b203a55e
docs(elements): add ng-add docs to elements guide ( #23350 )
...
PR Close #23350
2018-04-13 00:50:04 -07:00
Amit Portnoy
c2a53bbf61
fix(aio): remove additional 'googlebot' reference ( #23249 )
...
according to https://developers.google.com/search/reference/robots_meta_tag
googlebot is only used as a google specific override of 'robots'- there's no need for override in this case
PR Close #23249
2018-04-13 00:35:29 -07:00
Suguru Inatomi
3bd682f432
docs(aio): Add link to Japanese localization ( #20630 )
...
PR Close #20630
2018-04-13 00:26:12 -07:00
Juan Camilo Giraldo Chaverra
221ae6998a
docs(aio): fix typo on AOT compiler section
2018-04-13 00:06:26 -07:00
Michael Huang
f958293205
docs(aio): update text InMemoryWebApiModule to HttpClientInMemoryWebApiModule ( #23285 )
...
PR Close #23285
2018-04-12 23:17:19 -07:00
Jeremy Attali
993eeababb
docs: fix typo in injected variable name ( #23315 )
...
The service injected is `ValueService`, however the name of the variable
does not reflect that. It's actually confusing since it's the name of
the `class` being created.
PR Close #23315
2018-04-12 23:16:52 -07:00
Pete Bacon Darwin
aae437cb1e
build(aio): implement rules to prevent short parameter names ( #22759 )
...
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
fa11d7822c
build(aio): create minLength content rule ( #22759 )
...
This rule can be used to ensure that properties contain a minimum
number of characters.
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
1619160c8a
build(aio): implement rules to prevent headings in content ( #22759 )
...
* No headings are allowed in `description` and `shortDescription`
* Only heading level 3 is allowed in `usageNotes`
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
7a8c58162c
build(aio): create noMarkdownHeadings content rule ( #22759 )
...
This content rule can check what markdown headings
appear in content properties.
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
e0ae74d40e
build(aio): add checkContentRules processor ( #22759 )
...
This processor will enable us to write rules about
how the content should appear, such as:
* no headings in markdown content
* only one sentence per line
* no single character parameter names
* etc.
PR Close #22759
2018-04-12 00:06:49 -07:00
Igor Minar
7e8cee6b61
build: fix aio size tracking, we need to use node_modules local to aio ( #23328 )
...
This fixes an issue introduced by 4f0cae0676
which removed firebase from the root node_modules.
PR Close #23328
2018-04-11 23:14:23 -07:00
Igor Minar
ee145790d7
build(aio): fix scripts/test-production.sh file permission issue
...
it needs to be executable for CI tests to run.
2018-04-10 18:26:10 -07:00
JiaLi.Passion
30a6861fd0
build: update zone.js to 0.8.26 to fix some regression bugs ( #23227 )
...
PR Close #23227
2018-04-09 15:16:40 -07:00
Judy Bogart
1fac5f4eb1
docs: recommend best practice for providers ( #22934 )
...
PR Close #22934
2018-04-06 21:49:34 -07:00
Rob Wormald
eb9968ab2a
docs(elements): use Angular Elements naming in nav ( #23213 )
...
PR Close #23213
2018-04-05 16:32:57 -07:00
Anuj Jain
b5f41f2c35
docs: fixed live example for the lifecycle hooks. ( #23201 )
...
PR Close #23201
2018-04-05 16:29:38 -07:00
George Kalpakas
3b607e60e9
refactor(aio): remove unused images ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
George Kalpakas
b874501025
docs(aio): update `live-example` docs in authors style guide ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
George Kalpakas
ce43e96d49
ci(aio): upload the preview before checking the bundle sizes ( #23123 )
...
This makes the preview available even if the bundle sizes are out of
limits.
PR Close #23123
2018-04-05 10:10:59 -07:00
George Kalpakas
79cecf9a5e
fix(aio): update trusted GitHub teams (angular-core --> team) ( #23181 )
...
PR Close #23181
2018-04-05 10:07:13 -07:00
Pete Bacon Darwin
381da1af45
build(aio): move "optional" and "default" to end of param description ( #23062 )
...
PR Close #23062
2018-04-05 09:25:15 -07:00
Igor Minar
5db9ab12c0
docs: fix skipTemplateCodeGen -> skipTemplateCodegen typo in the AOT compiler guide
2018-04-04 23:12:28 -07:00
Igor Minar
bf88c5c9f8
build: configure angular-cli projects to use yarn by default ( #23149 )
...
PR Close #23149
2018-04-04 17:47:47 -07:00
Pete Bacon Darwin
6dd8f6efe4
docs(aio): remove invalid nav item ( #23175 )
...
The `custom-elements` guide page was renamed to `elements` in ff34d5ea7
.
That commit also added a new nav item for the renamed file, so this item is
no longer valid.
PR Close #23175
2018-04-04 14:32:14 -07:00
Pete Bacon Darwin
5b6e59cfb3
build(aio): fail the doc-gen if the nav is invalid ( #23175 )
...
PR Close #23175
2018-04-04 14:32:14 -07:00
JiaLi.Passion
c560423b52
build: upgrade zone.js ( #23108 )
...
PR Close #23108
2018-04-04 08:24:02 -07:00
Vani
4506230fbb
docs: update contents to recommend new way of defining providers ( #23076 )
...
PR Close #23076
2018-04-03 12:32:59 -07:00
Vani
5671ae6a58
docs: add tree-shakable providers doc ( #23027 )
...
PR Close #23027
2018-04-03 12:32:39 -07:00
Matias Niemelä
18ac228a27
docs: change examples within services to be tree-shakeable ( #23070 )
...
PR Close #23070
2018-04-03 10:48:52 -07:00
Igor Minar
62e6e21895
build(aio): update to rxjs@6.0.0-rc.0 ( #23106 )
...
-rw-r--r-- 1 iminar primarygroup 2774 Mar 30 17:23 dist/announcement-bar.module.94664978458f4bcdad0e.chunk.js
-rw-r--r-- 1 iminar primarygroup 8081 Mar 30 17:23 dist/api-list.module.0080b5cc2e6a0e0cb4e0.chunk.js
-rw-r--r-- 1 iminar primarygroup 3963 Mar 30 17:23 dist/code-example.module.a71be2c11f00a30159ae.chunk.js
-rw-r--r-- 1 iminar primarygroup 29367 Mar 30 17:23 dist/code-tabs.module.91c45e5c6e7bc37a7ae3.chunk.js
-rw-r--r-- 1 iminar primarygroup 18647 Mar 30 17:23 dist/common.ba5d418531a81244d32a.chunk.js
-rw-r--r-- 1 iminar primarygroup 6719 Mar 30 17:23 dist/contributor-list.module.3f67eb8916b4b5d9553b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1009 Mar 30 17:23 dist/current-location.module.5b1b839219a3afa4821c.chunk.js
-rw-r--r-- 1 iminar primarygroup 10037 Mar 30 17:23 dist/expandable-section.module.e990983253a804b8680b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1642 Mar 30 17:23 dist/file-not-found-search.module.3ebb2c728ee873e1124f.chunk.js
-rw-r--r-- 1 iminar primarygroup 1971 Mar 30 17:23 dist/inline.966da76300859bd75965.bundle.js
-rw-r--r-- 1 iminar primarygroup 5905 Mar 30 17:23 dist/live-example.module.db0fa04009ecb3863ec8.chunk.js
-rw-r--r-- 1 iminar primarygroup 565539 Mar 30 17:23 dist/main.4962a0cf09dd39042cdb.bundle.js
-rw-r--r-- 1 iminar primarygroup 40272 Mar 30 17:23 dist/polyfills.60722fb8dd6546cb465e.bundle.js
-rw-r--r-- 1 iminar primarygroup 14886 Mar 30 17:23 dist/prettify.04d149a0484032073703.chunk.js
-rw-r--r-- 1 iminar primarygroup 4840 Mar 30 17:23 dist/resource-list.module.7d9223ca5f7ae5ce9d48.chunk.js
-rw-r--r-- 1 iminar primarygroup 54001 Mar 30 17:23 dist/worker-basic.min.js
PR Close #23106
2018-04-03 10:00:23 -07:00
jenniferfell
a4bf5621ed
docs: add reference to ng add in tutorial and quick reference ( #23130 )
...
PR Close #23130
2018-04-03 07:38:47 -07:00
Judy Bogart
ff34d5ea7a
docs: add custom elements documentation ( #22966 )
...
PR Close #22966
2018-04-02 14:13:46 -07:00
Igor Minar
43d62029f0
build(aio): update to angular@6.0.0-rc.1 ( #23101 )
...
-rw-r--r-- 1 iminar primarygroup 2774 Mar 30 15:01 dist/announcement-bar.module.94664978458f4bcdad0e.chunk.js
-rw-r--r-- 1 iminar primarygroup 8081 Mar 30 15:01 dist/api-list.module.0080b5cc2e6a0e0cb4e0.chunk.js
-rw-r--r-- 1 iminar primarygroup 3963 Mar 30 15:01 dist/code-example.module.a71be2c11f00a30159ae.chunk.js
-rw-r--r-- 1 iminar primarygroup 29367 Mar 30 15:01 dist/code-tabs.module.91c45e5c6e7bc37a7ae3.chunk.js
-rw-r--r-- 1 iminar primarygroup 18647 Mar 30 15:01 dist/common.ba5d418531a81244d32a.chunk.js
-rw-r--r-- 1 iminar primarygroup 6719 Mar 30 15:01 dist/contributor-list.module.3f67eb8916b4b5d9553b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1009 Mar 30 15:01 dist/current-location.module.5b1b839219a3afa4821c.chunk.js
-rw-r--r-- 1 iminar primarygroup 10037 Mar 30 15:01 dist/expandable-section.module.e990983253a804b8680b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1642 Mar 30 15:01 dist/file-not-found-search.module.3ebb2c728ee873e1124f.chunk.js
-rw-r--r-- 1 iminar primarygroup 1971 Mar 30 15:01 dist/inline.966da76300859bd75965.bundle.js
-rw-r--r-- 1 iminar primarygroup 5905 Mar 30 15:01 dist/live-example.module.db0fa04009ecb3863ec8.chunk.js
-rw-r--r-- 1 iminar primarygroup 567849 Mar 30 15:01 dist/main.b630be1eaedf8196652b.bundle.js
-rw-r--r-- 1 iminar primarygroup 40272 Mar 30 15:01 dist/polyfills.60722fb8dd6546cb465e.bundle.js
-rw-r--r-- 1 iminar primarygroup 14886 Mar 30 15:01 dist/prettify.04d149a0484032073703.chunk.js
-rw-r--r-- 1 iminar primarygroup 4840 Mar 30 15:01 dist/resource-list.module.7d9223ca5f7ae5ce9d48.chunk.js
-rw-r--r-- 1 iminar primarygroup 54001 Mar 30 15:01 dist/worker-basic.min.js
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
3df811767e
build(aio): upgrade to rxjs@6.0.0-beta.4 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
9c7805be2f
build(aio): pin aio to typescript ~2.7.2 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
George Kalpakas
6cb1adf105
ci(aio): add monitoring for angular.io ( #22483 )
...
This commit configures a periodic job to be run on CircleCI, performing several
checks against the actual apps deployed to production (https://angular.io ) and
staging (https://next.angular.io ).
Fixes #21942
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
a9e05ac82f
fix(aio): fix SW routing RegExp to allow redirecting `/api/animate` URLs ( #22483 )
...
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
120673a3ac
refactor(aio): move deployment config tests and helpers around ( #22483 )
...
This commit prepares the ground for adding different types of tests.
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
8c10df30d7
fix(aio): wait for the app to stabilize before registering the SW ( #22483 )
...
This commit also waits for the app to stabilize, before starting to
check for ServiceWorker updates. This avoids setting up a long timeout,
which would prevent the app from stabilizing and thus cause issues with
Protractor.
PR Close #22483
2018-03-30 15:26:50 -07:00
Judy Bogart
de0b13d41d
docs: update for hero service name change ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
07d33d4e5a
docs: fix operator name ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
9f7bd8f618
docs: update text around changed obs examples ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Teamop
7de13b60d6
style(aio): fix typo in the scrollbar ( #23064 )
...
PR Close #23064
2018-03-29 08:57:41 -07:00
Alex Rickabaugh
e1ea7ed019
docs: update examples for tree-shakeable providers ( #22961 )
...
PR Close #22961
2018-03-28 07:53:04 -07:00
Veres Lajos
0ebdb3d12f
style: typo fix amendments ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Veres Lajos
de90314304
style: typos fixed - https://github.com/vlajos/misspell-fixer ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Victor Berchet
4bd3a65764
fix(aio): mark the 'titlecase' pipe as pure ( #22959 )
...
PR Close #22959
2018-03-23 16:28:05 -04:00
Alberto Piras
16f021c319
docs(aio): fix TS warning error - filter expects a boolean function param ( #22954 )
...
PR Close #22954
2018-03-23 13:07:57 -04:00
Igor Minar
3a30f5d937
build(aio): remove rxjs-compat dependency from examples ( #22872 )
...
we should not longer need it.
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
0f88fc73db
build(aio): update examples to angular-in-memory-web-api@0.6.0 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
01d2dd2a3a
refactor(aio): switch to pipeable RxJS operators ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
da76db9601
build(aio): upgrade `rxjs` to `6.0.0-beta.1` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
91503e538e
test(aio): minor improvements ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
53227abe7b
build(aio): upgrade `rxjs` to `6.0.0-beta.0` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
768100516f
build(aio): upgrade `@angular/*` to `6.0.0-rc.0` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
328511be8e
build(aio): update to typescript@2.7.2 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
56e545735c
build(aio): update to @angular/core@6.0.0-beta.8 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
07e9969cb7
build(aio): update to @angular/cli@1.7.3 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Jinhyuk Kim
f461f43d72
docs: fix a typo in aot compiler guide ( #22876 )
...
PR Close #22876
2018-03-21 13:20:51 -07:00
Igor Minar
3cc5c2e4d0
build: update to rxjs@6.0.0-beta.0 ( #22887 )
...
PR Close #22887
2018-03-20 15:26:49 -07:00
Igor Minar
5f1be9b89b
ci: temporarily disable two styleguide example tests ( #22887 )
...
these tests started failing with 6.0.0-beta.0 upgrade because of a weird issue when used with rxjs v6 with rxjs-compat
PR Close #22887
2018-03-20 15:26:49 -07:00
Igor Minar
4648597d14
build(aio): temporarily pin elements to 6.0.0-beta.8 ( #22573 )
...
the next step will be to update all of aio to 6.0.0-rc.0
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
c445314239
ci: temporarily disable tests that depend on angular-in-memory-web-api ( #22573 )
...
angular-in-memory-web-api is not yet compatible with rxjs v6 and rxjs v6 backwards compatibility package is not yet ready to be used.
PR Close #22573
2018-03-19 21:51:51 -07:00
George Kalpakas
e5fcf650f8
build(aio): temporarily use RxJS from root `node_modules/` when using local packages ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
243c86cd04
ci: improve logging when running aio/examples e2e tests ( #22854 )
...
PR Close #22854
2018-03-18 14:03:26 -07:00
Andrew Seguin
fe21437232
feat(elements): fix payload size ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
cf3ff7d219
feat(elements): another polyfill solution ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
d72f44556d
feat(elements): rebase ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
167fdf745c
feat(elements): rename API to createCustomElement ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
87f60bccfd
feat(elements): injector create ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
46efd4b938
feat(elements): George's comments ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
19368085aa
feat(elements): provide type, not factory; remove config need ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
44f637a88b
feat(elements): fix test ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
863aff1a77
feat(elements): add polyfill for elements es5 shim ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
400460cc93
feat(aio): update payload size ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
7c9b411777
feat(aio): migrate embedded comp to elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
22b96b9690
feat(elements): add support for creating custom elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Victor Berchet
0ebd577db4
refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead ( #22783 )
...
BREAKING CHANGE:
The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).
This commit removes support for `<template>`. `<ng-template>` should be used
instead.
BEFORE:
<!-- html template -->
<template>some template content</template>
# tsconfig.json
{
# ...
"angularCompilerOptions": {
# ...
# This option is no more supported and will have no effect
"enableLegacyTemplate": [true|false]
}
}
AFTER:
<!-- html template -->
<ng-template>some template content</ng-template>
PR Close #22783
2018-03-15 14:52:22 -07:00
Judy Bogart
02e6ac2117
docs: incorporate suggestions and corrections from gkalpak ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Judy Bogart
04ca77e38e
docs(aio): update architecture section ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Pete Bacon Darwin
19e6b8dad5
build(aio): fix `addNotYetDocumentedProperty` processor ( #22770 )
...
It was running too late and so was being confused by the
description being split into `shortDescription` and `description`
properties.
Closes #22748
PR Close #22770
2018-03-15 11:37:31 -07:00
Pete Bacon Darwin
d509bd6849
build(aio): improve the API Pipe pages ( #22702 )
...
This change adds:
* an impure badge for Pipes that are marked as `pure: false`
* a pipe specific overview that shows the syntax for using a pipe in a template.
* an "input value" section describing the type of the value that the pipe expects.
* a "pipe params" section describing any additional params that a pipe expects.
PR Close #22702
2018-03-14 14:21:11 -07:00
Matias Niemelä
f5a98f41fe
fix(core): remove core animation import symbols ( #22692 )
...
This patch removes the deprecated support for animation
symbol imports from @angular/core.
BREAKING CHANGE: it is no longer possible to import
animation-related functions from @angular/core. All
animation symbols must now be imported from @angular/animations.
PR Close #22692
2018-03-14 12:23:51 -07:00
Suguru Inatomi
9df13add5d
docs(aio): add ng-japan 2018 to events ( #22750 )
...
ng-japan 2018 will be held at June 16 in Tokyo, Japan!
https://ngjapan.org/en.html
PR Close #22750
2018-03-14 10:59:55 -07:00
Pete Bacon Darwin
049757b237
fix(aio): constrain error logging to improve reporting ( #22713 )
...
The `Logger.error()` method now only accepts a single `Error` parameter
and passes this through to the error handler.
This allows the error handler to serialize the error more accurately.
The various places that use `Logger.error()` have been updated.
See #21943#issuecomment-370230047
PR Close #22713
2018-03-14 10:52:11 -07:00
Ward Bell
1f9734315d
docs: testing - highlight dispatchEvent ( #22726 )
...
PR Close #22726
2018-03-14 10:21:41 -07:00
Pete Bacon Darwin
6f0dad1710
build(aio): render doc-gen issues in overview dump ( #22675 )
...
Related to #22138
PR Close #22675
2018-03-14 10:20:30 -07:00
Pete Bacon Darwin
48636f3e85
build(aio): compute stability and deprecate `@stable` tag ( #22674 )
...
Closes #22635
PR Close #22674
2018-03-13 19:55:00 -07:00
Pete Bacon Darwin
cd58c0a6d9
build(aio): remove unwanted overview headings ( #22681 )
...
PR Close #22681
2018-03-12 11:23:47 -07:00
Pete Bacon Darwin
38fef1588d
build(aio): move "see also" block to export-base template ( #22681 )
...
This makes it easier for all the API docs to display "see also" links
in a consitent manner.
PR Close #22681
2018-03-12 11:23:46 -07:00
Alex Eagle
1e6cc42a01
test: migrate remaining public-api tests to Bazel ( #22639 )
...
We now create npm packages to cover all the public api assertions in tools/public_api_guard.
We no longer depend on ts-api-guardian from npm - it is now stale since the repository was archived.
There is no longer a gulp task to enforce or accept the public API, this is in CircleCI as part of running all bazel test targets.
PR Close #22639
2018-03-09 09:11:40 -08:00
Kapunahele Wong
2ca77d80ec
docs: refactor revert() and call to lifecylce hook, edit doc to changes ( #22094 )
...
PR Close #22094
2018-03-08 10:58:42 -08:00
Kapunahele Wong
065bcc5aad
docs: add HeroService to code tabs and fix headers ( #22373 )
...
PR Close #22373
2018-03-07 18:20:53 -08:00
yerkebulan
505ae752b6
docs(aio): update deprecated Http reference to HttpClientModule, remove Http reference because another context is used ( #21984 )
...
docs(aio): change HttpClientModule reference to HttpClient
docs(aio): capitalize Http to HTTP
docs(aio): fix typo mistake in 'universal' guide
docs(aio): gets rid of the parentheses and the "e.g." in 'universal' guide
PR Close #21984
2018-03-06 15:03:54 -08:00
Pete Bacon Darwin
b3d1761825
build(aio): compute and display short descriptions in methods ( #22583 )
...
Previously only export docs were displaying a short description.
Now methods in classes and interfaces also compute and render
the short description.
Closes #22500
PR Close #22583
2018-03-06 11:05:21 -08:00
Ward Bell
d0db9ded90
docs: fix cli-quickstart doc and specs ( #22338 )
...
* tests were broken
* incorrect instructions.
* didn't match current CLI template for new project
PR Close #22338
2018-03-06 09:41:53 -08:00
Pete Bacon Darwin
94bc277b1b
fix(aio): tidy up embedded ToC styling ( #22570 )
...
The spacing didn't work well when the screen was narrow.
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
8ea4c57174
fix(aio): reposition and shrink the API badges ( #22570 )
...
Closes #22130
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
53b0fe8144
feat(aio): allow template to position embedded ToC ( #22570 )
...
Previously the doc-viewer would insert an embedded `<aio-toc>` element
into the DOM directly after the H1 element. Now it will not do this
if there is already a such element in the doc contents.
This allows the content-author/template-developer to position the ToC
for specific cases.
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
58932c7f38
build(aio): indicate whether properties are read-only in API pages ( #22584 )
...
PR Close #22584
2018-03-05 10:15:37 -08:00
Pete Bacon Darwin
5bb9f64218
fixup! feat(aio): allow template to position embedded ToC ( #22565 )
...
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
405d97431f
fixup! feat(aio): allow template to position embedded ToC ( #22565 )
...
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
41064fcb36
fix(aio): reposition and simplify github links ( #22565 )
...
Closes #22379
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
b80fd6be58
build(aio): render whether API classes and members are abstract ( #22563 )
...
Closes #22537
PR Close #22563
2018-03-05 10:13:43 -08:00
SangKa.Z
3aea8fd5f3
docs(aio): fix table header ( #22553 )
...
PR Close #22553
2018-03-05 10:13:16 -08:00
Pete Bacon Darwin
b64139650c
build(aio): class API template once again extends export-base ( #22534 )
...
PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
1d2bdcb4d0
build(aio): render param descriptions for function exports ( #22534 )
...
Closes #22501
PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
12be311618
fix(aio): remove all links from toc titles ( #22533 )
...
The previous approach just removed the first `a` tag that
was found, but now that the header-link anchor is not at
the start of the heading, it could fail.
Closes #22493
PR Close #22533
2018-03-05 10:12:35 -08:00
Pete Bacon Darwin
0e311e3918
build(aio): improve accuracy of code auto-linking ( #22494 )
...
The new version of `dgeni-packages/typescript` no longer strips
out "namespaces" from types, which was part of the problem of
not autolinking correctly to `HttpEventType.Response`.
Another part of the problem was that we did not include `.`
characters when matching potential code blocks for auto-linking,
which precluded properties of enums from being linked.
Finally, members we not being given a `path` property, which is
needed to effectively autolink to them. This is now set in
the `simplifyMemberAnchors` processor.
Closes #21375
PR Close #22494
2018-03-01 08:11:19 -08:00
Pete Bacon Darwin
997b30a093
build(aio): move link disambiguation from `getLinkInfo` to `getDocFromAlias` ( #22494 )
...
The disambiguation needs to be done earlier so that the auto-link-code
post-processor can benefit from it.
PR Close #22494
2018-03-01 08:11:19 -08:00
Pete Bacon Darwin
94707fe795
build(aio): initialise `exampleMap` correctly ( #22502 )
...
The `exampleMap` needs to hold an hash object for each
of the `collectExamples.exampleFolders` paths.
Previously these hash objects were only created if there
was actually an example file the hash's respective
example folder. This could cause crashes during
`yarn docs-watch` (and so also `yarn sync-and-serve`)
if no examples were read in for a particular run of
the doc-gen.
PR Close #22502
2018-03-01 08:10:15 -08:00
Kapunahele Wong
c82cef8bc6
docs: fix dynamic component loader example ( #22181 )
...
closes #21903
PR Close #22181
2018-02-28 10:46:37 -08:00
Pete Bacon Darwin
7d65356ae3
build(aio): add `@usageNotes` tag def for API docs ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
11f30fc351
style(aio): add newline between test blocks ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00