George Kalpakas
76b755e292
build(docs-infra): upgrade lighthouse to 5.1.0 ( #31414 )
...
PR Close #31414
2019-07-11 17:13:47 -04:00
George Kalpakas
6f50aad5c4
build(docs-infra): upgrade cli command docs sources to 8fe3aa3c2 ( #31485 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in [commit range](9edecc522...8fe3aa3c2
):
**Modified**
- help/add.json
- help/build.json
- help/update.json
##
PR Close #31485
2019-07-11 17:12:59 -04:00
Kapunahele Wong
7c62a8f9ca
docs: remove heroes reference in i18n example ( #31515 )
...
Closes #31514
PR Close #31515
2019-07-11 15:07:55 -04:00
Stefanie Fluin
a55c6df07b
feat(docs-infra): add prominent archive mode banner styling ( #31245 )
...
Fixes #25968
PR Close #31245
2019-07-11 13:00:11 -04:00
Stefanie Fluin
d33204956f
fix(docs-infra): fix code hover style in TOC ( #31173 )
...
Fixes #31170
PR Close #31173
2019-07-11 12:57:32 -04:00
Tzvi Melamed
66d6b53fb1
fix(docs-infra): fix get started button rendering ( #31470 )
...
Fixes #31454
PR Close #31470
2019-07-11 12:56:29 -04:00
George Kalpakas
e85fa5d4ff
fix(docs-infra): fix layout of `file-not-found` page ( #31390 )
...
The `.sidenav-content` element, [which is also][1] the `#file-not-found`
element, [already has][2] the necessary padding. Especially the top
padding is important to ensure the element is not obscured by the
top-bar.
[1]: https://github.com/angular/angular/blob/1d3e22766/aio/src/app/app.component.html#L51
[2]: https://github.com/angular/angular/blob/1d3e22766/aio/src/styles/1-layouts/_content-layout.scss#L10
PR Close #31390
2019-07-11 12:15:34 -04:00
George Kalpakas
0c00c94f34
test(docs-infra): clean up global listeners after `ScrollService` tests ( #31390 )
...
The `ScrollService` sets up some global `window` listeners.
Previously, these listeners were never unregistered. This was not a
problem in the real app, because the `ScrollService` instance exists for
the lifetime of a user session. In tests, however, where the `window`
instance is among all tests, the listeners would survive the
`ScrollService` tests. This, in addition to the fact that we used a mock
`ViewportScroller` which did not return the expected type from
`getScrollPosition()`, caused errors to be thrown in unrelated tests
(i.e. whenever a scroll event was emitted on `window`). See [here][1]
for an example failure.
This commit fixes it by adding an `ngOnDestroy()` method that
unregisters the listeners and ensuring it is called after each
`ScrollService` test.
[1]: https://circleci.com/gh/angular/angular/381649
PR Close #31390
2019-07-11 12:15:34 -04:00
George Kalpakas
9b29ca95a2
fix(docs-infra): show (and style correctly) the 'No results found' message ( #31390 )
...
PR Close #31390
2019-07-11 12:15:34 -04:00
George Kalpakas
479d926b4b
fix(docs-infra): improve `search-results` layout on smaller screens ( #31390 )
...
Previously, the `search-results` layout was switch from horizontal to
vertical at 480px. Yes, since some search queries can yield more than 5
`.search-area`s, even 600px are too narrow to accomodate a horizontal
layout.
This commit changes the breakpoint at which the layout switches to
vertical from 480px to 600px.
PR Close #31390
2019-07-11 12:15:34 -04:00
George Kalpakas
b9195289a5
fix(docs-infra): remove redundant `search-results` styles ( #31390 )
...
Previously, `.search-area` had a default style of `display: flex`, but
it was overriden to `display: block` in media queries for
`max-width: 480px` and `min-width: 600px`. As a result, it only had
`display: flex` between 481px and 599px.
Since no flex layout features are necessary inside `.search-area`, this
commit changes the style to always be `display: block` (i.e. the default
for `div` elements).
PR Close #31390
2019-07-11 12:15:34 -04:00
George Kalpakas
75b6b0e1ba
refactor(docs-infra): clean up `aio-search-results` styles ( #31390 )
...
PR Close #31390
2019-07-11 12:15:34 -04:00
George Kalpakas
2d4f507b61
style(docs-infra): make indentation in `_search-results.scss` consistent with other `.scss` files ( #31390 )
...
PR Close #31390
2019-07-11 12:15:34 -04:00
Rudolf Olah
3246a8553c
build(docs-infra): engine "yarn" versions can now be up to 1.16.0 ( #31482 )
...
PR Close #31482
2019-07-11 12:14:33 -04:00
Snehal Baghel
7ea6073534
docs: add angular-in-depth to community curations ( #31212 )
...
PR Close #31212
2019-07-11 11:43:34 -04:00
Kapunahele Wong
fe1793844d
docs: fix typo in Template Syntax headers ( #31474 )
...
Fixes #31467
PR Close #31474
2019-07-11 11:40:40 -04:00
Kapunahele Wong
68940f05d8
docs: add Renderer to deprecations doc ( #31419 )
...
PR Close #31419
2019-07-11 01:36:31 -04:00
George Kalpakas
36d3062a42
ci(docs-infra): increase waiting time to reduce flakiness on CI ( #31408 )
...
Example failure: https://circleci.com/gh/angular/angular/381763
PR Close #31408
2019-07-09 09:35:54 -07:00
Kapunahele Wong
9a2d1fab84
docs: add correct default cli ngModule ( #31166 )
...
PR Close #31166
2019-07-08 10:25:57 -07:00
Judy Bogart
8052de07e2
docs: update polyfill support doc ( #31262 )
...
PR Close #31262
2019-07-08 10:22:01 -07:00
Alan
4b05ebc804
docs: fix formatting in workspace config and add helpful info for universal ( #31399 )
...
PR Close #31399
2019-07-08 09:37:08 -07:00
Judy Bogart
9e34670b25
docs: add accessibility guide ( #30851 )
...
PR Close #30851
2019-07-02 11:39:24 -07:00
Judy Bogart
5039faff8d
docs: add doc for complex config values ( #31010 )
...
PR Close #31010
2019-07-02 11:34:58 -07:00
Kapunahele Wong
44c6534f3c
docs: fix typo in Template Syntax ( #31298 )
...
Fixes #31282
PR Close #31298
2019-07-02 11:30:50 -07:00
Michael Prentice
09970d52e8
docs(core): in template syntax guide, make SVG example more clear ( #31356 )
...
add e2e test for SVG template example
fix template syntax example app
- linting errors
- runtime exceptions
- template type errors
- deprecated type casting
- deprecated currency pipe example
Relates to #30559
PR Close #31356
2019-07-02 11:30:15 -07:00
Judy Bogart
fde016bc38
docs: fix typo in deployment page ( #31369 )
...
PR Close #31369
2019-07-02 11:29:11 -07:00
Pete Bacon Darwin
1db3ac457c
build(docs-infra): update dgeni-packages dependency ( #31368 )
...
The new version 0.27.5 now has the `post-process-html` package, so we
don't need it in angular/angular any more.
PR Close #31368
2019-07-02 11:28:23 -07:00
Philippe Martin
0d6fd134d4
docs(core): update link to external i18n doc ( #31353 )
...
PR Close #31353
2019-07-01 10:08:53 -07:00
artem-galas
bbb27b5517
docs: change order of Angular Elements article ( #30521 )
...
PR Close #30268
PR Close #30521
2019-06-28 12:22:45 -07:00
George Kalpakas
f57e77eeb4
build(docs-infra): upgrade cli command docs sources to 9edecc522 ( #31331 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in [commit range](e819d9b77...9edecc522
):
**Modified**
- help/build.json
- help/doc.json
##
PR Close #31331
2019-06-28 09:27:13 -07:00
Brandon
2b5d52fbdc
docs: add tests for lazy loading angularjs example ( #30622 )
...
PR Close #30622
2019-06-28 09:26:49 -07:00
Santosh Yadav
c6b29f4c6d
docs: added svg example ( #30559 )
...
Fixes #30441
PR Close #30559
2019-06-27 15:56:26 -07:00
George Kalpakas
261dc04d8e
fix(docs-infra): detect docregions on more file types (`pug`, `svg`, `yml`) ( #30559 )
...
PR Close #30559
2019-06-27 15:56:26 -07:00
Stepan Suvorov
f96a81a818
docs: fix example misprints ( #31284 )
...
PR Close #31284
2019-06-27 15:53:25 -07:00
Alan
6c0cca093a
docs: couple of small UI fixes throughout some documents ( #31155 )
...
PR Close #31155
2019-06-27 09:51:28 -07:00
George Kalpakas
d7b4172678
build(docs-infra): upgrade cli command docs sources to e819d9b77 ( #31307 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in [commit range](01a7186bb...e819d9b77
):
**Modified**
- help/generate.json
##
PR Close #31307
2019-06-27 09:50:20 -07:00
George Kalpakas
a8f3b317f1
build(docs-infra): upgrade cli command docs sources to 01a7186bb ( #31281 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in [commit range](a7d4472eb...01a7186bb
):
**Modified**
- help/doc.json
- help/test.json
##
PR Close #31281
2019-06-26 08:17:16 -07:00
Romain Freydiger
1e7e065423
docs: correct indention for code example in deployment guide ( #31255 )
...
PR Close #31255
2019-06-25 14:44:34 -07:00
Schlemmer
98685e6f85
docs: change note about cli ( #31216 )
...
PR Close #31216
2019-06-25 11:58:06 -07:00
Schlemmer
61f2353467
docs: add note about cli commands ( #31216 )
...
PR Close #31216
2019-06-25 11:58:06 -07:00
Kapunahele Wong
a1d436e6a4
docs: fix formatting ( #31120 )
...
PR Close #31120
2019-06-25 10:28:50 -07:00
Kapunahele Wong
02d98ed823
docs: fix testing example ( #31120 )
...
PR Close #31120
2019-06-25 10:28:50 -07:00
George Kalpakas
00ecfc7f9a
fix(docs-infra): separate vendor-specific CSS selectors ( #31252 )
...
In #31118 , some vendor-specific selectors were combined in one rule-set.
As pointed out in [this comment][1], this would result in the whole
rule-set being ignored by all browsers, since one invalid/unrecognized
selector invalidates the declaration block.
This commit fixes it by defining a separate rule-set per selector. The
list of vendor-specific selectors is also adjusted to better target the
currently supported browsers.
[1]: https://github.com/angular/angular/pull/31118/files#r296923652
PR Close #31252
2019-06-25 10:25:31 -07:00
George Kalpakas
6ff3970ec7
style(docs-infra): clean up some styles ( #31252 )
...
PR Close #31252
2019-06-25 10:25:31 -07:00
Stefanie Fluin
f7e9659c4d
fix(docs-infra): return full width highlight to sidenav ( #31246 )
...
PR Close #31246
2019-06-24 20:17:27 -07:00
Stefanie Fluin
65974154e2
feat(docs-infra): change typography font sizes to be rem based ( #31118 )
...
PR Close #31118
2019-06-21 14:22:20 -07:00
Umair Sarfraz
9c06af2dfc
docs: update node minimum version ( #31192 )
...
Docs for for Travis CI setup suggest using node version 8 when the minimum should be 10. This commit updates the documentation by specifying the minimum required version as 10.
Fixes https://github.com/angular/angular/issues/31185
PR Close #31192
2019-06-21 12:02:38 -07:00
Kapunahele Wong
83f0304cfc
docs: clarify wording in Template Syntax ( #31119 )
...
PR Close #31119
2019-06-21 10:23:38 -07:00
George Kalpakas
b1664425a9
build(docs-infra): upgrade cli command docs sources to a7d4472eb ( #31184 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in [commit range](ab6f36229...a7d4472eb
):
**Modified**
- help/generate.json
##
PR Close #31184
2019-06-21 10:15:20 -07:00
Alan
ecd7f6ecdc
docs: fix javascript module link ( #31181 )
...
PR Close #31181
2019-06-21 10:14:39 -07:00