Pete Bacon Darwin
aefa06f7df
docs(core): update security guide sanitize example ( #26777 )
...
The sanitizer now removes the content of script tags as well as the tag itself.
PR Close #26777
2018-10-26 12:31:49 -04:00
Pete Bacon Darwin
d878f3df93
test(core): fix security example e2e test ( #26777 )
...
The changes in d5cbcef0ea
caused this test to fail.
PR Close #26777
2018-10-26 12:31:49 -04:00
George Kalpakas
d725ab5142
ci(docs-infra): reduce verbosity of `yarn build` on CI ( #26746 )
...
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
f1a860fbf7
ci(docs-infra): fix deployment to Firebase ( #26746 )
...
Previously, `firebase-tools@3.x` was used and the deployment from
CircleCI failed with `Unexpected error` (HTTP code: 410).
This commit ensures that we use a recent version of `firebase-tools` for
deploying to Firebase. It also ensures that we use the locally installed
`firebase-tools` (not sure where it came from before 😁 ).
PR Close #26746
2018-10-25 21:17:52 -04:00
George Kalpakas
141f9b2386
build(docs-infra): upgrade cli command docs sources to 4faa81e25 ( #26741 )
...
PR Close #26741
2018-10-25 21:10:21 -04:00
George Kalpakas
0cc9842bf6
test(upgrade): make e2e tests for upgrade docs examples less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
George Kalpakas
54ea10288e
test(elements): make e2e tests for elements docs examples even less flaky ( #26726 )
...
PR Close #26726
2018-10-24 19:49:14 -04:00
Pete Bacon Darwin
13a803d4f7
build(docs-infra): fix parameter type rendering ( #26688 )
...
Closes #24355
PR Close #26688
2018-10-24 19:48:10 -04:00
George Kalpakas
ce6948fc1b
ci(docs-infra): remove jobs from Travis config ( #26377 )
...
PR Close #26377
2018-10-23 14:35:38 -07:00
George Kalpakas
38d626a3fa
ci(docs-infra): move deployment to CircleCI ( #26377 )
...
PR Close #26377
2018-10-23 14:35:38 -07:00
George Kalpakas
3b24e0edb6
build: use CI-provider independent variable names ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
b647608c96
test(elements): make e2e tests for elements docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
31c462ae3f
test(animations): make e2e tests for animations docs examples less flaky ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
George Kalpakas
da39fd70d2
test(docs-infra): improve logging output in `test-pwa-score[-localhost]` ( #26377 )
...
PR Close #26377
2018-10-23 14:35:37 -07:00
jenniferfell
26e8032bd0
docs: update npm packages to be accurate for v7 ( #26422 )
...
PR Close #26422
2018-10-23 08:58:43 -07:00
nazanin1369
84af7b065d
docs(service-worker): Specify format of datagroups.cacheConfig.timeout ( #26469 )
...
Fixes #26454
PR Close #26469
2018-10-23 08:58:17 -07:00
jenniferfell
cca89ec36e
docs: reorganize events to highlight recent events before older events and move mix to past ( #26551 )
...
PR Close #26551
2018-10-23 08:56:52 -07:00
Brian Love
e4c7f369f2
docs: add Brian Love to GDE resources ( #26594 )
...
PR Close #26594
2018-10-23 08:54:41 -07:00
jenniferfell
34c6ce6b08
docs: update release info now that v7 is released ( #26660 )
...
PR Close #26660
2018-10-23 08:51:48 -07:00
Pete Bacon Darwin
4bd9f53e8f
feat(docs-infra): rename tagdef: `@experimental` to `@publicApi` ( #26595 )
...
PR Close #26595
2018-10-19 14:35:52 -07:00
Pete Bacon Darwin
2a78dcbd5a
feat(docs-infra): remove stable & experimental from status selector ( #26595 )
...
PR Close #26595
2018-10-19 14:35:52 -07:00
jenniferfell
1700bd6f08
docs: fix release info navigation ( #26558 )
...
PR Close #26558
2018-10-19 11:30:39 -07:00
Igor Minar
b89bc37170
fix(docs-infra): correct the version of @angular-devkit/build-angular ( #26555 )
...
This dependency has not been correctly updated and I had to update it manually.
I think the issue is related to https://github.com/angular/angular-cli/issues/12624 which was fixed between CLI RCs and final.
PR Close #26555
2018-10-19 11:30:11 -07:00
Igor Minar
39df4dbde7
feat(docs-infra): update to @angular/* v7 ( #26555 )
...
PR Close #26555
2018-10-19 11:30:11 -07:00
Katerina Skroumpelou
716d887e51
docs: add Katerina Skroumpelou to GDE resources ( #26547 )
...
PR Close #26547
2018-10-19 11:29:13 -07:00
Pete Bacon Darwin
4c0ad5238e
build(docs-infra): display github links in CLI API docs ( #26515 )
...
This commit includes the following changes:
* CLI version information is read from the CLI package from which
we read the help files.
* CLI API pages now contain GH links
* line numbers are not shown in GH links, if the doc does not
have a truthy `startingLine` value. This allows us to remove
hard coded checks for `guide` pages
* content pages and CLI api docs no longer have a `startingLine`
* the hard-coded `packages` path segment has been removed from
the templates; instead we now only use the `realProjectRelativePath`.
* the `realProjectRelativePath` has been updated accordingly for API
and CLI API docs.
PR Close #26515
2018-10-19 11:12:54 -07:00
Pete Bacon Darwin
9e8903ada1
build(docs-infra): show github edit link on CLI overview ( #26515 )
...
PR Close #26515
2018-10-19 11:12:53 -07:00
Brandon Roberts
aa55d88408
docs: forms overview copy edit ( #26450 )
...
PR Close #26450
2018-10-19 11:08:47 -07:00
Nikhil Sharma
07fc4c2464
docs(service-worker): updated browser support for Service Worker ( #26408 )
...
PR Close #26408
2018-10-19 11:08:00 -07:00
Pete Bacon Darwin
b9bd95b3b2
build(docs-infra): break long CLI options onto two lines ( #26272 )
...
PR Close #26272
2018-10-19 11:07:30 -07:00
Pete Bacon Darwin
3f89aeb80a
build(docs-infra): update CLI option rendering ( #26272 )
...
PR Close #26272
2018-10-19 11:07:30 -07:00
Pete Bacon Darwin
6c530d3a85
build(docs-infra): render CLI arguments consistently ( #26272 )
...
In the command syntax, arguments are rendered as
`var`s enclosed in angle brackets. So this is now repeated
in the arguments table too.
PR Close #26272
2018-10-19 11:07:30 -07:00
Igor Minar
bbf96db2f2
feat(docs-infra): add v6 to the aio version picker
2018-10-18 12:38:29 -07:00
Alan
7634c1cb31
docs: fix links to browserlist ( #26531 )
...
PR Close #26531
2018-10-18 12:00:38 -07:00
Rob Phoenix
95914a0fbf
docs: update http to https where possible ( #26509 )
...
PR Close #26509
2018-10-18 11:57:57 -07:00
Rob Phoenix
9c50891d6e
docs: update links to Karma homepage ( #26509 )
...
PR Close #26509
2018-10-18 11:57:57 -07:00
null-reference
624433c51d
docs: removing errant double-quote ( #26483 )
...
PR Close #26483
2018-10-18 11:57:27 -07:00
lovelangy
09cc458bfc
docs: type fix ( #26386 )
...
according to the source code and the doc https://angular.io/api/forms/NgModel#inherited-from-formsngcontrol-1 , the method name should be "viewToModelUpdate" instead of "viewToModel"
PR Close #26386
2018-10-18 11:56:51 -07:00
George Kalpakas
d9d226087c
build(docs-infra): allow `""` as empty region in `{@example}` tags ( #26514 )
...
PR Close #26514
2018-10-18 09:54:17 -07:00
George Kalpakas
7bad1d356d
build(docs-infra): only render code example content in one place ( #26514 )
...
PR Close #26514
2018-10-18 09:54:17 -07:00
George Kalpakas
0add00a743
build(docs-infra): throw error if using `title` on code snippets ( #26514 )
...
Since #26396 , the `title` property is ignored and `header` should be
used instead for specifying a code snippet's header.
This commit ensures that we don't accidentally set `title` have it be
silently ignored.
PR Close #26514
2018-10-18 09:54:17 -07:00
Alan Agius
d557f1d9de
build(docs-infra): update git ref for cli command docs ( #26545 )
...
This is to get the latest changes done in https://github.com/angular/angular-cli/pull/12634
PR Close #26545
2018-10-18 09:54:00 -07:00
Siddharth Ajmera
665627e254
fix(aio): add relative to app level routes section ( #26504 )
...
Added word *relative* to the **Routes at the app level** section description. This was not specified before. The routes in the *lazy-loading-ngmodules/src/app/app-routing.module.ts* also had `loadChildren` values starting with `app/...`.
The code for `app-routing.module.ts` is already fixed in [this commit](67ad9468d3
)
PR Close #26504
2018-10-17 13:11:42 -07:00
Alan Agius
65b209359a
build(docs-infra): update git ref for cli command docs ( #26497 )
...
Update for version 7 release
PR Close #26497
2018-10-17 11:24:19 -07:00
Rob Phoenix
3a65c9ad4e
docs: Update link to angular-cli repo ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan
77e58c6179
docs: update contributing page ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan
23d625172a
docs: update continuous integration story ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan
c3643615fc
docs: replace `alert-is-helpful` with `alert is-helpful` ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan
638aaecc7d
docs: add missing backticks ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan Agius
5a79decba4
docs: remove for example code ( #26519 )
...
PR Close #26519
2018-10-17 11:23:50 -07:00
Judy Bogart
225162aa6c
docs: edit file structure guide ( #26256 )
...
PR Close #26256
2018-10-17 11:08:37 -07:00
jenniferfell
beebf7fe14
docs: change links to cli wiki to link to new aio docs ( #26489 )
...
PR Close #26489
2018-10-17 11:06:34 -07:00
jenniferfell
0ef1f7ef0d
docs: change links to cli wiki to link to new aio docs files m to z ( #26492 )
...
PR Close #26492
2018-10-17 11:06:07 -07:00
William Marques
fc6dad40ac
fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips ( #26396 )
...
Closes #26174
PR Close #26396
2018-10-17 11:05:29 -07:00
Pete Bacon Darwin
ecd473bbce
fix(docs-infra): don't hide contributor links on devices that cannot hover ( #26410 )
...
Fixes #16690
PR Close #26410
2018-10-17 11:04:35 -07:00
Vladimir Erygin
3fa876c5e7
fix(docs-infra): fix top menu logo position ( #26473 )
...
Fixes #26468
PR Close #26473
2018-10-17 11:03:23 -07:00
Pete Bacon Darwin
516515d9e3
build(docs-infra): do not add extra space after links in tables ( #26505 )
...
Closes #26487
PR Close #26505
2018-10-17 11:02:56 -07:00
George Wilde
948f507ba0
docs(forms): change headings ( #25900 )
...
Update heading level so it will appear in the TOC.
PR Close #25900
2018-10-16 20:39:45 -07:00
George Wilde
81a8ee1ddb
docs(forms): change headings ( #25900 )
...
Remove "Form" sub-heading & move intro to template-driven form heading.
PR Close #25900
2018-10-16 20:39:45 -07:00
George Wilde
5e58da14f0
docs(forms): change headings ( #25900 )
...
Change the headings of the template-driven forms guide page.
This makes the first heading consistent with other guide pages and the menu label reducing confusion to users browsing the guide.
PR Close #25900
2018-10-16 20:39:45 -07:00
jenniferfell
81c9720acb
docs: fix links to setup and cli docs ( #26463 )
...
PR Close #26463
2018-10-16 14:14:19 -07:00
Vani
ea2cfbbd2e
docs: remove setup for local dev and anatomy of setup docs from nav ( #26380 )
...
PR Close #26380
2018-10-16 14:14:00 -07:00
Judy Bogart
41de0e0d98
docs: overview for cli reference section ( #26043 )
...
PR Close #26043
2018-10-16 14:11:26 -07:00
Vani
f6a2dbf4f5
docs: updated text to match the Getting started guide ( #26421 )
...
PR Close #26421
2018-10-16 14:11:12 -07:00
George Kalpakas
327c614799
test(docs-infra): improve logging output in `test-pwa-score[-localhost]` ( #26459 )
...
PR Close #26459
2018-10-15 15:23:36 -07:00
George Kalpakas
1aa8cfbf74
build(docs-infra): upgrade lighthouse to 3.2.1 ( #26459 )
...
PR Close #26459
2018-10-15 15:23:36 -07:00
George Kalpakas
95d0626a1e
ci(docs-infra): reduce flakyness ( #26459 )
...
PR Close #26459
2018-10-15 15:23:36 -07:00
Judy Bogart
5183bbffbe
docs: update process for cli tool and restructure doc ( #25752 )
...
PR Close #25752
2018-10-15 11:22:18 -07:00
null-reference
9afc9a7464
docs: minor wording correction. "use" to "user". ( #26452 )
...
PR Close #26452
2018-10-15 11:19:46 -07:00
jenniferfell
b2db32b715
docs: getting started updated for accuracy and style ( #26093 )
...
PR Close #26093
2018-10-12 14:16:02 -07:00
George Kalpakas
9e32dc7c95
build: upgrade `@types/jasminewd2` to 2.0.4 ( #26139 )
...
This commit also removes the extra jasminewd2 typings, since the changes
have been merged in the official typings with
DefinitelyTyped/DefinitelyTyped#28957.
PR Close #26139
2018-10-12 14:11:11 -07:00
jenniferfell
a19b690338
docs: move cli commands above api in nav ( #26405 )
...
PR Close #26405
2018-10-12 14:09:39 -07:00
George Kalpakas
bab5b68910
fix(docs-infra): prevent unnecessary SideNav scrollbar ( #26416 )
...
Fixes #21508
PR Close #26416
2018-10-12 14:09:09 -07:00
jenniferfell
3daeadd235
docs: visual studio removed from nav and updated to refer to getting started instead of quickstart repo ( #26376 )
...
PR Close #26376
2018-10-12 14:08:11 -07:00
Pete Bacon Darwin
ea20ae63d0
build(docs-infra): only show name in 'inherited from' section ( #26387 )
...
Closes #26181
PR Close #26387
2018-10-12 09:13:02 -07:00
Pete Bacon Darwin
7777a99fe5
fix(docs-infra): highlight current CLI command in navigation menu ( #26388 )
...
Previously CLI was being treated like the API page, where the top level item
had to be highlighted for any command page. But now the CLI commands all
have their own navigation item, which can be selected, so there is no need
to special case CLI paths any more.
Closes #26373
PR Close #26388
2018-10-12 09:02:11 -07:00
George Kalpakas
7fbeb04b7c
build(docs-infra): upgrade @angular/material to 7.0.0-rc.1 ( #26394 )
...
PR Close #26394
2018-10-12 08:55:15 -07:00
George Kalpakas
42ee50fc22
build(docs-infra): upgrade @angular/* to 7.0.0-rc.1 ( #26394 )
...
PR Close #26394
2018-10-12 08:55:15 -07:00
George Kalpakas
163b7c94a9
build(docs-infra): upgrade @angular/cli to 7.0.0-rc.2 ( #26394 )
...
PR Close #26394
2018-10-12 08:55:15 -07:00
jenniferfell
99736750fc
docs: add angularmix to events page ( #26374 )
...
PR Close #26374
2018-10-11 14:16:02 -07:00
Simone Bigozzi
062fe5c2cf
docs: fix transpiles link in dependency injection ( #26250 )
...
fixed a double bracket that broke the link
PR Close #26250
2018-10-11 14:11:45 -07:00
jenniferfell
bd186c7ef9
docs: move angularjs and add performance to nav ( #26375 )
...
PR Close #26375
2018-10-11 14:10:41 -07:00
jenniferfell
1657c997cd
docs: fix tbd link and minor edits ( #26404 )
...
PR Close #26404
2018-10-11 14:10:01 -07:00
George Kalpakas
e0e2038718
build(docs-infra): pin git ref for cli command docs ( #26391 )
...
The JSON files from which cli command docs for angular.io are generated
is broken on master (e.g. angular/cli-builds@e0ec86757 ), which cause foc
generation (and CI) to fail.
Pinning the git ref where we pull cli sources from to a version that is
known to be working (until we figure out what the best approach is)
PR Close #26391
2018-10-11 12:57:49 -07:00
George Kalpakas
67608a907e
build(docs-infra): make the git ref for cli command docs configurable ( #26391 )
...
PR Close #26391
2018-10-11 12:57:49 -07:00
Brandon Roberts
d1b7bb52e7
docs: add note for including polyfills for StackBlitz examples ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
1312693f88
docs: add core-js polyfills for StackBlitz support ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
72ff9c880c
docs: sync boilerplate configuration with Angular CLI RC2 ( #25892 )
...
Revers Jasmine version back to ~2.99.1
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
3060b3e29b
docs: bump Jasmine version, fix build scripts ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
ee28b64d74
docs: add webpack-cli back in shared example dependencies ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
1246ba53c7
docs: cleanup universal boilerplate scripts ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
c29ff722a0
docs: add testing styles back to boilerplate configuration ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
67ad9468d3
docs: fix broken lazy loading examples with Angular CLI RC upgrade ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
f922808b8d
docs: update to latest Angular RC, CLI RC, and Jasmine releases ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
67435d456c
Revert "docs: add testing styles in index.html, remove additional configuration" ( #25892 )
...
This reverts commit 621d82a44c9d46f69f3296b302984f5949b8dee8.
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
fbfce79b93
docs: add testing styles in index.html, remove additional configuration ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
2a14dfa4ba
docs: update shared example dependencies to Angular 7 and CLI 7 ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Wei Lun
8e71ad6027
docs: typo on function name for handleError() ( #26261 )
...
changed function name `errorHandle()` to `handleError()`
PR Close #26261
2018-10-09 16:54:15 -07:00
Ashish Patel
25289664ea
docs: fix sentence in attribute directives guide ( #26266 )
...
PR Close #26266
2018-10-09 16:53:42 -07:00
George Kalpakas
9320ec0f43
build(docs-infra): upgrade Angular to 7.0.0-rc.0 and TypeScript to 3.1.1 ( #26202 )
...
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
5dd225cb43
build(docs-infra): upgrade webpack-cli to 3.1.2 ( #26202 )
...
This is necessary to avoid webpack/webpack#8082, when installing
dependencies without taking the lockfile into account (e.g. with
`yarn aio-use-local` - locally or on CI).
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
10e414f617
test(docs-infra): fix tests ( #26202 )
...
PR Close #26202
2018-10-08 13:43:31 -07:00
siddhant
0bdea1f69c
docs: update docs to reflect the changes in RxJS 6 ( #26238 )
...
PR Close #26238
2018-10-08 13:43:12 -07:00
George Kalpakas
decc0b840d
ci(docs-infra): re-use env variable ( #26138 )
...
PR Close #26138
2018-10-08 12:01:02 -07:00
JiaLi.Passion
ccceff5ecc
docs: add fakeAsync test new feature document ( #23117 )
...
PR Close #23117
2018-10-05 15:43:37 -07:00
Frederik Schlemmer
6c6bc95ac0
docs: Rename 'QuickStart' into 'Getting Started' ( #25762 )
...
Delete symlink
docs: Undo unwanted changes
docs: Rename 'QuickStart' into 'Getting Started'
Revert symlink commit
PR Close #25762
2018-10-05 15:43:16 -07:00
George Kalpakas
3a5cb1cb11
fix(docs-infra): fix positioning of message for disabled JavaScript ( #26198 )
...
PR Close #26198
2018-10-05 15:39:23 -07:00
George Kalpakas
ab6f055479
ci(docs-infra): show custom 404 page on preview server (for consistency) ( #26199 )
...
PR Close #26199
2018-10-05 15:39:02 -07:00
Atuuh
3683c6a188
docs: fix wording ( #26207 )
...
fix wording to sound better
PR Close #26207
2018-10-05 14:19:08 -07:00
thanhpd
4006c9b6e6
docs: fix spelling errors ( #26213 )
...
PR Close #26213
2018-10-05 14:18:19 -07:00
Kirankumar Sripati
245b85f72a
docs: typo fixes ( #26247 )
...
PR Close #26247
2018-10-05 14:00:20 -07:00
Charles Lyding
3cce4afa0d
build(docs-infra): update fsevents to 1.2.4 to support node 10 ( #26218 )
...
PR Close #26218
2018-10-05 13:45:36 -07:00
Suguru Inatomi
35936864bc
docs: add Suguru Inatomi to GDE resources ( #26219 )
...
PR Close #26219
2018-10-04 10:10:52 -07:00
Pete Bacon Darwin
a2878b0b1d
fix(docs-infra): remove unnecessary margin on short descriptions ( #25768 )
...
(This was added in 405d97431f
but it is
not clear the reasoning. It looks better to remove it now.)
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
5977b72e9c
build(docs-infra): fix formatting of entry point export table ( #25768 )
...
Now that `list-table` cells are `pre` formatterd we must be careful
of what whitespace appears in text nodes.
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
7373da9b11
build(docs-infra): simplify property syntax rendering ( #25768 )
...
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
783a682a7d
build(docs-infra): remove unused property table heading ( #25768 )
...
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
d22418d417
build(docs-infra): add short description "See more" link ( #25768 )
...
If there is additional (non-short) description then add in a
link to the short description to take the reader there.
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
4b1fd98093
build(docs-infra): pluralize NgModule(s) heading as appropriate ( #25768 )
...
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
935ef13096
build(docs-infra): improve directive selector rendering ( #25768 )
...
`:not(...)` blocks are now rendered as italic, while the
rest of the selector is bold.
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
f4b60588fb
build(docs-infra): move directive macros into memberHelpers.html ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
15dadb92ef
build(docs-infra): include directives etc in class descendants lists ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
ce06a75ebf
build(docs-infra): display inherited members on directives ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
9889276b15
build(docs-infra): directive inputs and outputs ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
d0f7eadc09
build(docs-infra): rename example template variable in directive pages ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
4b132c9848
build(docs-infra): remove class overview from directive pages ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
46729c76a0
build(docs-infra): improve directive selector rendering ( #25768 )
...
If the documentation contains a `@selectors` tag then the content of that
is used to describe the selectors of a directive.
Otherwise the selector string is split and each selector is listed as
a list item in an unordered list.
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
f22deb2e2d
build(docs-infra): improve directive API doc templates ( #25768 )
...
Closes #22790
Closes #25530
PR Close #25768
2018-10-01 09:36:32 -07:00
George Kalpakas
57de9fc41a
build(docs-infra): upgrade @angular/cli to 6.2.3 ( #26145 )
...
PR Close #26145
2018-10-01 09:35:49 -07:00
George Kalpakas
31034f5146
build(docs-infra): upgrade @angular/* to 7.0.0-beta.7 ( #26145 )
...
PR Close #26145
2018-10-01 09:35:48 -07:00
George Kalpakas
c5899f4cd4
build(docs-infra): update payload size limits to reflect current status ( #26145 )
...
PR Close #26145
2018-10-01 09:35:48 -07:00
Jordan Whitfield
794c3595d4
docs: fix a typo in the Universal guide ( #25853 )
...
line 39: `highly-interactive` is the pre-qualifier of `Angular application`, which is the subject so the comma is not necessary (I think). I think this will make it easier for non-native speakers.
PR Close #25853
2018-09-28 09:36:09 -07:00
Judy Bogart
f455518d80
docs: integrate cli doc from wiki into main doc ( #25776 )
...
PR Close #25776
2018-09-27 15:33:47 -07:00
Ben Lesh
ffc6e199bf
build: RxJS updated to 6.3 ( #26087 )
...
PR Close #26087
2018-09-26 17:01:15 -07:00
George Kalpakas
a01acec7fe
fix(docs-infra): use correct parameters for paginated requests to GitHub ( #25671 )
...
As it turns out, in GitHub API paginated requests, page numbering is
1-based. (https://developer.github.com/v3/#pagination )
Starting at page 0 (which returns the first page), results in making the
same request twice and logging incorrect numbers (since the first 100
items are listed twice).
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
021f4344b1
fix(docs-infra): fix preview server periodic clean-up ( #25671 )
...
Includes the following fixes:
- Fix cron entry format for clean-up script.
Crontabs in `/etc` should not have a user field. No idea why it used
to work before, but it started giving errors recently:
`/bin/sh: root: not found`.
- Set required env variable in clean-up script. (Broken in cc6f36a9d.)
This was producing the following error:
`ERROR: Missing required environment variable 'AIO_CIRCLE_CI_TOKEN'!`
- Use the correct path for downloads to be removed. (Broken in cc6f36a9d.)
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
f113b49909
test(docs-infra): remove unnecessary test helpers ( #25671 )
...
`supertest.Request` extends `Promise` and can be used directly without
"promisifying".
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
d8d276c245
docs(docs-infra): update preview server docs to account for recent changes ( #25671 )
...
Mostly (but not exclusively) a follow-up to #23576 .
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
e42bd012f9
ci(docs-infra): test PR previews on CI ( #25671 )
...
The deployment of PR previews is triggered by the notification webhook
of the `aio_preview` CircleCI job (which creates and stores the build
artifacts).
This commit adds a new job (`test_aio_preview`), which waits for the
preview to be deployed (for PRs that do have a preview) and then runs
some tests against it (currently only PWA tests).
Fixes #23818
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
6d6b0ff1ad
feat(docs-infra): add API endpoint for checking if PR can have preview ( #25671 )
...
There several reasons why PRs cannot have (public) previews:
- The PR did not affect any relevant files (e.g. non-spec files in
`aio/` or `packages/`).
- The PR cannot be automatically verified as "trusted" (based on its
author or labels).
Note:
The endpoint does not check whether there currently is a (public)
preview for the specified PR; only whether there can be one.
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
f378454c92
fix(docs-infra): correctly check PR files on preview server ( #25671 )
...
According to the docs, the response of GitHub's [PR files API][1]
_"includes a maximum of 300 files"_. This means that if a PR contains
more files, it is possible that not all files are retrieved (which
could, for example, give a false negative for the "significant files
touched" check - not likely but possible).
This commit fixes it by using paginated requests to retrieve all changed
files.
[1]: https://developer.github.com/v3/pulls/#list-pull-requests-files
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
c8c8436e58
test(docs-infra): fix test for preview server's `GithubPullRequests` ( #25671 )
...
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
b31c8b6063
test(docs-infra): fix test for preview server's `BuildCleaner` completing prematurely ( #25671 )
...
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
897261efdc
test(docs-infra): fix preview server unit tests on Windows ( #25671 )
...
Some tests where comparing actual with expected paths, without taking
into account that paths will be different on Windows.
This commit uses `path.resolve()` to convert expected paths to their
OS-specific form.
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
35d70ff265
test(docs-infra): add support for source-maps in preview server tests ( #25671 )
...
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
fc0a7959a4
refactor(docs-infra): use mockable logger ( #25671 )
...
Related discussion:
https://github.com/angular/angular/pull/23576#discussion_r187925949 .
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
182c08bee1
refactor(docs-infra): fix method name (getPrfromBranch --> getPrFromBranch) ( #25671 )
...
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
e2bc0ad6c2
build(docs-infra): upgrade preview server dependencies ( #25671 )
...
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
73333ee3e5
build(docs-infra): replace `concurrently` with `npm-run-all` for preview server dev ( #25671 )
...
`npm-run-all` works just as well, but is better at handling termination on Windows.
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
c819859598
build(docs-infra): do not exit preview server `dev` script when `build` fails ( #25671 )
...
PR Close #25671
2018-09-26 15:26:19 -07:00
George Kalpakas
79aefa7659
build(docs-infra): avoid race condition in `aio-builds-setup/` npm scripts ( #25671 )
...
Previously, due to multiple scripts re-building during `yarn dev`
initialization, there could be race conditions that led to errors.
This commit fixes it by ensuring `yarn build` is run once (before
the main `yarn dev` script).
PR Close #25671
2018-09-26 15:26:19 -07:00
arjunyel
e1990a5a80
docs: firefox web components info ( #26118 )
...
PR Close #26118
2018-09-26 15:25:44 -07:00
Pete Bacon Darwin
f29b218060
feat(docs-infra): generate Angular CLI command reference ( #25363 )
...
PR Close #25363
2018-09-26 11:24:02 -07:00
Pete Bacon Darwin
39a67548ac
build(docs-infra): add option to run only the doc-gen ( #25363 )
...
This can save time when iterating by not
regenerating the zips and embedded examples.
PR Close #25363
2018-09-26 11:24:02 -07:00
Brandon Roberts
bc88f318f6
docs: update routing integration section based on feedback ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
a5b7008c8e
docs: add section on router integration ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
0aafbac99b
docs: clean up providedIn: 'root' syntax for router examples ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
ac5aa8f46d
docs: router guide review feedback changes ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
1fb3c4ffee
docs: Update router guide to use Angular CLI ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
3c8aa0b301
docs: Refresh content on routable animations for router guide ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
d19108531c
docs: cleanup minor changes for forms overview ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
354d1944bb
docs: remove unused properties from forms overview example ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
eaccd03ed7
docs: fix typos from review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
343df337f4
docs: update with forms overview review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
9b14483824
docs: more overview feedback changes ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
bd42caf1c7
docs: update nav descriptions based on feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
7db8111973
docs: add updated reactive forms data flow image ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
74fef157e6
docs: updates from review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
9661bed3ba
docs: add updated forms overview images ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
95168e4de0
docs: integrate forms diagrams into overview ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
13c3e241c8
docs: add final thoughts to forms overview ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
8d098d389a
docs: incorporated forms overview review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
79a2567aa3
docs: forms overview review changes ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
5649acd03f
docs: add forms overview example for snippets ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
ebd01e8e79
docs: more form overview edits ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
e08955b557
docs: incorporated forms overview feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
04dfca41f4
docs(forms): add package overview for forms ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
129f69c3bc
docs: add forms overview guide ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Vani
c7e2930f25
docs: fix issues related to tutorial. ( #24445 )
...
PR Close #24445
2018-09-25 18:45:19 -07:00
Max Belsky
cf095d982d
docs: fix a typo ( #26074 )
...
PR Close #26074
2018-09-24 13:48:24 -07:00
George Wilde
bc02e19831
docs: correct path reference in upgrade guide ( #26072 )
...
The incorrect path is referenced, this is confusing to users following the "Upgrading from AngularJS" guide.
PR Close #26072
2018-09-24 09:13:24 -07:00
sajeetharan
47eb2122c0
docs: fix Sajee info in contributors ( #26063 )
...
PR Close #26063
2018-09-24 09:12:45 -07:00
Pete Bacon Darwin
b8422b41bb
build(docs-infra): fail doc-gen if a content rule fails ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
8ac4dd6447
build(docs-infra): allow usage notes on decorator option properties ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
3808416479
build(docs-infra): remove legacy jsdoc tag processing ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
cee7448efc
build(docs-infra): add @nocollapse tag-def to prevent warning ( #26039 )
...
See https://github.com/angular/angular/blob/master/packages/compiler-cli/src/transformers/nocollapse_hack.ts
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
7f1cace2a2
build(docs-infra): sort NgModule exports by id ( #26051 )
...
PR Close #26051
2018-09-21 17:00:03 -07:00
Pete Bacon Darwin
56c86c7e79
build(docs-infra): sort package exports by id ( #26051 )
...
Closes #26046
PR Close #26051
2018-09-21 17:00:03 -07:00
Pete Bacon Darwin
a880686081
fix(docs-infra): ensure that only search is removed from URL on click ( #26056 )
...
When we have navigated to the site via a URL that contains a search
query param, the site shows the search results.
We want to remove that query param from the URL when the search
results are closed, but the current implementation is also removing
other query params unnecessarily.
Now only the search param is removed when the search results are
closed.
See https://github.com/angular/angular/pull/25479/files#r219497804
for more context.
PR Close #26056
2018-09-21 10:29:24 -07:00
Pete Bacon Darwin
026b60cd70
build(docs-infra): expose deprecated status on items more clearly ( #25750 )
...
PR Close #25750
2018-09-21 10:26:48 -07:00
Pete Bacon Darwin
cea2e0477c
fix(docs-infra): render security risk labels ( #25750 )
...
PR Close #25750
2018-09-21 10:26:48 -07:00
Pete Bacon Darwin
96f9f03d25
build(docs-infra): improve search quality ( #25750 )
...
PR Close #25750
2018-09-21 10:26:48 -07:00
Pete Bacon Darwin
9931bd7576
build(docs-infra): do not include license comment in first API doc ( #26050 )
...
The default dgeni config is to concatenate leading comments in front of API items.
In the case that you have an API item that starts a file with no import statements,
the license comment at the top of the file was being added to the front of the
API item's comment. SInce the license comment includes the `@license` tag
and the API item's comment did not start with `@description` the content of
the API item's comment was being put inside the `@license` tag, and no
description was being extracted from the API item's comment.
This commit updates to a version of dgeni-packages that has a switch to turn off
this concatenation, and then also configures this switch.
Closes #26045
PR Close #26050
2018-09-21 10:25:41 -07:00
sajeetharan
48094835bf
docs: add Sajee to contributors ( #26028 )
...
PR Close #26028
2018-09-21 10:24:15 -07:00
George Kalpakas
48e73c1558
ci: only run `aio_preview` job on PR builds ( #26030 )
...
There can be no preview on non-PR builds, so there is no point in
running the job.
PR Close #26030
2018-09-20 09:32:44 -07:00
Judy Bogart
41ac58ab7d
docs: copy-edit ( #25732 )
...
PR Close #25732
2018-09-19 18:22:45 -07:00
Judy Bogart
f37cf52b4c
docs: integrate material from cli wiki ( #25732 )
...
PR Close #25732
2018-09-19 18:22:45 -07:00
Pete Bacon Darwin
b94436d86c
build(docs-infra): process and render ngmodule exports ( #25734 )
...
All directives and pipes must now be tagged with one ore more
public NgModule, from which they are exported.
If an item is exported transitively via a re-exported internal NgModule
then it may be that the item appears to be exported from more than
one public NgModule. For example, there are shared directives that
are exported in this way from `FormsModule` and `ReactiveFormsModule`.
The doc-gen will error and fail if a directive or pipe is not tagged correctly.
NgModule pages now list all the directives and pipes that are exported from it.
Directive and Pipe pages now list any NgModule from which they are exported.
Packages also now list any NgModules that are contained - previously they were
missed.
PR Close #25734
2018-09-19 16:18:24 -07:00
Pete Bacon Darwin
bc5cb8153e
build(docs-infra): separate NgModules from Classes in API docs ( #25734 )
...
PR Close #25734
2018-09-19 16:18:24 -07:00
Pete Bacon Darwin
34b848ad51
build(docs-infra): remove unused info-bar API template ( #25734 )
...
PR Close #25734
2018-09-19 16:18:24 -07:00
Alan Agius
d7e5bbf2d0
feat(compiler-cli): add support to extend `angularCompilerOptions` ( #22717 )
...
`TypeScript` only supports merging and extending of `compilerOptions`. This is an implementation to support extending and inheriting of `angularCompilerOptions` from multiple files.
Closes : #22684
PR Close #22717
2018-09-19 16:17:28 -07:00
George Kalpakas
df5999a739
fix(docs-infra): configure Firebase to strip off the `.html` extension ( #25999 )
...
Firebase used to do it automatically (with `cleanUrls: true`), but it
stopped doing it unless the resulting URL corresponds to an existing
file (which is not always the case in angular.io; e.g. the resulting URL
might be matched by a new redirect rule).
This change in Firebase hosting behavior resulted in some URLs not being
correctly redirected (e.g. URLs to the archived v2 site, or `.html`
suffixed URLs from 3rd-party sites).
This commit fixes it, by configuring Firebase hosting to strip off the
`.html` extension and redirect (if no other redirect rule matched).
PR Close #25999
2018-09-19 16:08:06 -07:00
Sergej
8f0fcc3f71
feat(docs-infra): Add opensearch description ( #25479 )
...
Enables Chrome users to search angular.io and its subdomains from the browsers navigation bar.
Not sure if compatible with Firefox yet.
The queried term in the URL is removed after closing the search-results.
PR Close #25479
2018-09-19 15:31:49 -07:00
Vani
f91b0455c0
docs(animations): updated animation docs ( #24206 )
...
PR Close #24206
2018-09-19 10:37:31 -07:00
Kapunahele Wong
e8bab1349f
docs: delete extra sentence ( #25984 )
...
PR Close #25984
2018-09-19 09:42:12 -07:00
songjunting
8f81dba367
docs: fix typo in bootstrapping guide ( #25939 )
...
Fixes #25938
PR Close #25939
2018-09-14 16:38:18 -07:00
Kapunahele Wong
a09c3923db
docs: delete old comments from example ( #25931 )
...
PR Close #25931
2018-09-13 15:33:33 -07:00
Alan Agius
379e8c5e19
docs: add `disableTypeScriptVersionCheck` documentation ( #25537 )
...
PR Close #25537
2018-09-11 12:25:55 -07:00
Plamena Radneva
ed266daf2c
docs(aio): add ng-sq-ui to resources ( #25874 )
...
PR Close #25874
2018-09-10 10:31:11 -07:00
Vani
89af5291de
docs: move compiler options to last section of the page ( #22353 )
...
PR Close #22353
2018-09-10 10:30:00 -07:00
Liad Idan
d6cd041cbd
docs(service-worker): update http-server command ( #25845 )
...
PR Close #25845
2018-09-06 14:59:51 -07:00
George Kalpakas
694b8ae779
build(docs-infra): ensure any stale generated content is deleted ( #25841 )
...
Since `aio/src/generated/` is git-ignored, it is easy for stale content
(e.g. removed images, examples, zips, etc.) to remain there on local
clones and then get copied into the `dist/` directory.
This commit ensures `aio/src/generated/` is cleaned up before generating
the new content.
PR Close #25841
2018-09-06 14:59:29 -07:00
George Kalpakas
152de20774
fix(docs-infra): re-enable SW offline mode ( #25826 )
...
This basically reverts #25692 , since Firebase has fixed the issue with
`/index.html` redirection on their side.
PR Close #25826
2018-09-06 14:59:08 -07:00
Alex Eagle
34ec9244a6
build: update to Node 10 ( #25822 )
...
PR Close #25822
2018-09-06 14:58:30 -07:00
Frederik Schlemmer
1bc6f64eb5
docs: update event page ( #25799 )
...
docs: change reactiveconf event location
PR Close #25799
2018-09-05 11:37:02 -07:00
Maicon Wagner
397b047eff
docs: fix showcase address truly-ui ( #25757 )
...
PR Close #25757
2018-09-05 11:36:39 -07:00
George Kalpakas
13b8399d0c
test(docs-infra): fix double-slash in URL of `aio_monitoring` test ( #25641 )
...
As part of the tests run in the CircleCI `aio_monitoring` job, we need
to retrieve `sitemap.xml` from the site under test. Previously, the URL
used to retrieve that contained a double-slash (`//`). At some point,
Firebase (which is used for hosting the site) stopped normalizing
double-slashes to a single slash, causing the test to fail.
This commit fixes the problem by ensuring that the constructed URLs do
not contain double-slashes.
PR Close #25641
2018-09-05 09:37:55 -07:00
Pete Bacon Darwin
234661b3d6
feat(docs-infra): disable "status" selector in API list when displaying only packages ( #25718 )
...
Closes #25708
PR Close #25718
2018-09-05 09:28:28 -07:00
Pete Bacon Darwin
4a04ab8823
build(docs-infra): do not render internals in package API pages ( #25723 )
...
Closes #24493
PR Close #25723
2018-09-05 09:28:05 -07:00
Rob Wormald
25c1f331d6
refactor(docs-infra): bump polyfills payload limit ( #25806 )
...
PR Close #25806
2018-09-05 09:23:10 -07:00
Rob Wormald
59aab14394
refactor(docs-infra): simplify custom-element polyfill setup ( #25806 )
...
PR Close #25806
2018-09-05 09:23:10 -07:00
Pete Bacon Darwin
c1ae3c16e8
build(docs-infra): ensure root node_modules exists ( #25811 )
...
Now that the doc-gen parses the imports of TS source
files we need to ensure that the root node_modules
exists. Otherwise running `yarn docs` produces an
obscure error:
```
Error: No SourceFile found with path node_modules/@types/jasmine/index.d.ts
```
Closes #25759
PR Close #25811
2018-09-05 09:22:46 -07:00
Stephen Fluin
2f1bc1aa1a
docs: add pwa keyword to service worker page ( #25725 )
...
PR Close #25725
2018-09-04 12:09:54 -07:00
Jonathan Pool
bd0eb0d1d4
docs: correct misspellings and add missing punctuation in tutorial ( #25676 )
...
PR Close #25676
2018-09-04 12:08:52 -07:00
Martin Sikora
ccb4a396f0
test(docs-infra): test that the "suggest edit" buttons are visible where expected ( #24378 )
...
PR Close #24378
2018-08-31 09:42:10 -07:00
Martin Sikora
d539122466
refactor(docs-infra): refactor templates ( #24378 )
...
PR Close #24378
2018-08-31 09:42:10 -07:00
Martin Sikora
b89a7dd4a2
fix(docs-infra): show "suggest edits" only for /guide and /tutorial dirs ( #24378 )
...
PR Close #24378
2018-08-31 09:42:10 -07:00
Martin Sikora
9533cc9809
feat(docs-infra): add "suggest edits" feature to all docs ( #24378 )
...
PR Close #24378
2018-08-31 09:42:10 -07:00
Judy Bogart
2379ad1a4b
docs: edit and organize di guide ( #21915 )
...
PR Close #21915
2018-08-30 13:15:47 -04:00
Frederik Schlemmer
9ee29ecdd4
docs: clarification of hero selection in routing section ( #25634 )
...
PR Close #25634
2018-08-28 22:16:18 -04:00
George Kalpakas
b069514818
fix(docs-infra): temporary SW fix (for online mode) ( #25692 )
...
Due to unknown reasons, Firebase seems to return a 301 response for
`/index.html`, but without a `Location` header. According to the spec,
the browser will not follow the redirect, considering the response as
failed, instead.
This commit temporarily removes `index.html` from hashed resources and
changes `index` to `/` in `ngsw-config.json`, until we figure out an
appropriate long-term solution.
PR Close #25692
2018-08-28 13:33:48 -04:00
Pete Bacon Darwin
b1902db0cb
build(docs-infra): render all overloads if they are abstract ( #25670 )
...
In an overloaded method, the overload with the function body is the
actual method doc, and this doc is not included in the list of "additional"
overloads.
Moreover, the logic (all in dgeni-packages) is that if none of the items
has a body then we use the first overload as the actual method doc.
In the case of abstract methods, none of the methods have a body. So we
have a situation where the overloads collection does not contain the first
abstract method, even though it is not the "implementation" of the method.
Therefore we need to still render it.
Closes #25610
PR Close #25670
2018-08-27 18:19:08 -04:00
Pete Bacon Darwin
a081d207f8
build(docs-infra): remove "annotations" section from API pages ( #25677 )
...
PR Close #25677
2018-08-27 18:18:41 -04:00
George Kalpakas
f596930c8c
fix(docs-infra): ignore server-side redirected URLs in the SW ( #19795 )
...
This allows URLs to be passed through to the server (where they are
properly redirected), instead of serving `index.html` from the SW.
Known issue:
`/docs/` will be passed through to the server. `/docs` (without the
trailing slash) will be correctly treated as a navigation URL and
handled by the SW.
We don't link to `/docs/` from within the app, but if there are external
links to `/docs/` they will require a round-trip to the server and will
not work in offline mode.
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
b3c56f021f
build(docs-infra): downgrade @angular-devkit/build-angular to 0.6.7 ( #19795 )
...
The is a bug in versions 0.6.8+ that breaks when trying to use Jasmine's
mock clock.
Related to angular/angular-cli#11626.
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
864c22fb79
build(docs-infra): update size limits ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
4d83a0a789
build(docs-infra): upgrade @angular/* to 6.1.0-rc.3 and rxjs to 6.2.2 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
2569fd4d75
build(docs-infra): upgrade @angular/cli to 6.1.0-rc.3 and @angular-devkit/build-angular to 0.7.0-rc.3 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
c73ebe79b3
build(docs-infra): update size limits ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
110ab2230b
build(docs-infra): upgrade @angular/material to 6.0.2 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
4a61cb3fab
build(docs-infra): upgrade @angular/* to 6.0.2 and rxjs to 6.1.0 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
4dc5afb5c6
build(docs-infra): upgrade @angular/cli to 6.0.3 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
8c2c6b5d1a
build(docs-infra): remove unused dependencies ( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
f71cce7f9b
build(docs-infra): remove the dependency on `rxjs-compat` ( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
53c1efb50a
build(docs-infra): enable ServiceWorker in cli config ( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
b6ccd9f7bd
fix(docs-infra): correctly show icon for fetch error when offline ( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
8b614d4e1b
refactor(docs-infra): move concept icons to more appropriate location ( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
7f905da335
refactor(docs-infra): remove unused images ( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
Alex Rickabaugh
be24f9f0cb
feat(docs-infra): Convert AIO to use the new Service Worker 5.0.0. ( #19795 )
...
AIO is currently using a beta version of @angular/service-worker.
Since that was implemented, the SW has been rewritten and released
as part of Angular 5.0.0. This commit updates AIO to use the latest
implementation, with an appropriate configuration file that caches
the various AIO assets in useful ways.
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
66ffa360df
test(docs-infra): correctly extract sitemap URLs ( #19795 )
...
`%%DEPLOYMENT_HOST%%` has been assumed to be the host prefix for sitemap
URLs since bf29936af
, but afaict this was never the case.
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
3d41739021
fix(aio): show aio-themed 404 page for unknown resources ( #23188 )
...
Fixes #23179
PR Close #23188
2018-08-23 15:25:47 -04:00
Bert Verhelst
69b57b2dca
docs: Improve docs for downgrading a service ( #19371 )
...
PR Close #19371
2018-08-21 10:49:00 -07:00
Sergey Koshechkin
b05d4a5007
docs: fix typo in service worker getting started guide ( #25512 )
...
PR Close #25512
2018-08-20 11:09:52 -07:00
JinBeom Hong
469d5e0448
docs: fix typo in reactive forms guide ( #25543 )
...
PR Close #25543
2018-08-20 11:08:32 -07:00
Judy Bogart
d2be3d5775
docs: copy edit glossary ( #25468 )
...
PR Close #25468
2018-08-17 14:33:51 -07:00
Ana María Martínez Gómez
cc55d609ce
docs: add HttpClientModule import code to services tutorial ( #24854 )
...
To be able to copy and paste.
PR Close #24854
2018-08-16 13:51:18 -07:00
Brandon Roberts
de03abbd34
docs: reactive forms guide copy edits ( #25417 )
...
PR Close #25417
2018-08-16 13:50:51 -07:00
Greg Magolan
abcc430310
build(aio): update dgeni-packages to 0.26.3 to fix reference types issue ( #25491 )
...
PR Close #25491
2018-08-16 13:46:43 -07:00
Pete Bacon Darwin
92c8752d0a
docs(docs-infra): the `build.sh` script was renamed to `create-image.sh`
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
68bfe686d8
ci(docs-infra): rename 'upload-server' to 'preview-server'
...
The server no longer has files uploaded to it. Instead it is more
accurate to refer to it as dealing with "previews" of PRs.
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
d604ef7cf0
ci(docs-infra): add explicit return types to methods
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
36c4c8daa9
ci(docs-infra): improve preview-server logging
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
cc6f36a9d7
ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI
...
Previously, Travis pushed the build artitfacts to the preview server.
This required us to use JWT to secure the POST request from Travis, to
ensure we couldn't receive malicious builds.
JWT has been deprecated and we are moving our builds to CircleCI.
This commit rewrites the TypeScript part of the preview server that
handles converting build artifact into hosted previews of the docs.
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
643766637e
ci(docs-infra): factor out the aio-builds-setup environment variables
2018-08-16 10:26:12 +01:00
Pete Bacon Darwin
3b8b7f4087
ci(docs-infra): add helper scripts for running TDD in Docker
2018-08-16 10:26:12 +01:00
Pete Bacon Darwin
9b820555a3
docs(docs-infra): update the preview server documentation
2018-08-16 10:26:12 +01:00
Pete Bacon Darwin
364459c576
ci(docs-infra): move AIO preview deployment to CircleCI
...
Now instead of pushing the AIO build artifacts to the preview server
from inside a Travis job, the artifacts are built and hosted on the
CircleCI infrastructure. The preview server will then pull these
down after being triggered by a CircleCI build webhook.
2018-08-16 10:26:11 +01:00
Pete Bacon Darwin
8347bb0d2d
ci(docs-infra): update upload-server to run on node.js v10
2018-08-16 10:21:24 +01:00
Pete Bacon Darwin
c13901f4c8
build(docs-infra): remove stability labels from API docs ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin
6a2130117f
build(docs-infra): clean up API package template ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin
4e45f2c481
build(docs-infra): include packages in API template breadcrumbs ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin
78f477652e
build(docs-infra): change breadcrumb delimiter to `>` ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
annefernandez3
ecb5dc03f9
docs: add Accelebrate to resources ( #23204 )
...
PR Close #23204
2018-08-14 11:58:04 -07:00
Justin Noel
3ac7070009
docs: fix typo in Architecture overview page ( #25438 )
...
PR Close #25438
2018-08-13 21:38:22 -07:00
Ana María Martínez Gómez
e0314b5d90
docs: add link to Yarn in README ( #24856 )
...
Remove the code markdown. It is not code, it is a name.
PR Close #24856
2018-08-13 21:36:13 -07:00
Tomasz Kula
c8c1aa7fc0
docs(aio): add async validation chapter ( #25189 )
...
Closes #22881
PR Close #25189
2018-08-10 09:14:25 -07:00
Jonathan Sharpe
209cc7e1b0
docs: fix typo in testing guide ( closes #25400 ) ( #25418 )
...
PR Close #25418
2018-08-10 09:11:35 -07:00
Judy Bogart
8bbce3feff
docs: copy edit architecture guide ( #25328 )
...
PR Close #25328
2018-08-08 13:12:53 -07:00
maxv
6c359afce6
docs: make css multiline in styleguide for consistency ( #25300 )
...
PR Close #25300
2018-08-08 13:12:34 -07:00
Christoffer Noring
638ff760a5
docs: add ngrx book to the docs ( #23389 )
...
PR Close #23389
2018-08-08 13:11:45 -07:00
Igor Minar
74518c4b2e
style: fix whitespace and indentation in the testing guide ( #21669 )
...
PR Close #21669
2018-08-08 13:11:15 -07:00
JiaLi.Passion
ebf508fcd0
docs: add docs for fakeAsync test with custom macroTask in aio ( #21669 )
...
PR Close #21669
2018-08-08 13:11:15 -07:00
Loiane Groner
ec6d6175d2
docs(aio): Angular course in Portuguese #21836
2018-08-07 12:07:54 -07:00
Guillermo Facundo Colunga
7bf5a43385
docs: refining code of tutorial 7 routing ( #22151 )
...
Removed the dead code from hero-detail.component.ts
Fixes #21908
PR Close #22151
2018-08-07 11:08:53 -07:00
Kristoffer Nording
2fe05abbc4
docs: update resources to include UI-jar ( #21200 )
...
PR Close #21200
2018-08-07 11:07:38 -07:00
Christoffer Noring
02c15a2448
docs: update to 2nd edition of Learning Angular ( #20934 )
...
PR Close #20934
2018-08-06 13:44:42 -07:00
René Ras
6861bc5b06
docs: clarify heroes example ( #21216 )
...
PR Close #21216
2018-08-06 13:44:17 -07:00
Ro Savage
b8887ddf16
docs: fix table in comparing observables guide ( #22485 )
...
PR Close #22485
2018-08-06 13:41:15 -07:00
Vani
67ad59c245
docs: standardize spelling of tree-shakable ( #24057 )
...
PR Close #24057
2018-08-06 13:40:15 -07:00
Dario Braun
397530ab24
docs: remove code in universal hero detail component ( #25215 )
...
This reverts commit e9cc3dad8f39bc8dfabfb708a825f90fcd2ab697.
PR Close #25215
2018-08-06 13:39:23 -07:00
Trotyl
c67f1bb38e
docs: several fixes for NPM package guide ( #20186 )
...
PR Close #20186
2018-08-06 11:32:30 -07:00
Lalith Polepeddi
97b5cb2e3b
docs(aio): add Made with Angular ( #21297 )
...
PR Close #21297
2018-08-06 09:50:14 -07:00
George Kalpakas
dc0715142f
test(docs-infra): log docs examples e2e spec paths to aid debugging ( #25293 )
...
It seems that occasionally the sharding of docs examples e2e tests gets
messed up resulting in some tests not being run. This can cause CI to be
green on a PR, when they shouldn't (because the failing tests didn't run
at all).
It is unclear under what circumstances this happens, so printing the
paths of found e2e specs will help debug the issue when it comes up
again.
PR Close #25293
2018-08-03 15:30:31 -07:00
Brandon Roberts
74bce18190
Revert "docs: refactor http module import for style guide app.module ( #25001 )" ( #25263 )
...
This reverts commit 88da8f3d52
.
PR Close #25263
2018-08-02 09:20:12 -07:00
Frederik Schlemmer
e60737f63c
docs(docs-infra): adds note according to Symlink problem ( #24714 )
...
docs: adds note according to Symlink problem
Closes #24709
docs(docs-infra): adds section "Developing on Windows"
Merge remote-tracking branch 'origin/aioREADME' into aioREADME
docs(docs-infra): adds information about admin rights
docs(docs-infra): adds hint
docs(docs-infra): Change to link
PR Close #24714
2018-08-02 08:33:24 -07:00
George Kalpakas
7b89711402
docs(elements): add section about custom element typings in `elements` guide ( #25219 )
...
PR Close #25219
2018-08-02 08:32:59 -07:00
George Kalpakas
f1223628a6
docs(elements): add link to full example in `elements` guide ( #25219 )
...
PR Close #25219
2018-08-02 08:32:59 -07:00
George Kalpakas
1b4269ad85
docs(elements): remove unnecessary whitespace in `elements` guide ( #25219 )
...
PR Close #25219
2018-08-02 08:32:59 -07:00
Pete Bacon Darwin
a224df43af
feat(docs-infra): support sending Google Analytics events ( #25042 )
...
PR Close #25042
2018-08-01 17:04:19 -07:00
kristinavavrova
20b453008f
docs: update reactiveconf 2018 in events ( #24739 )
...
PR Close #24739
2018-08-01 16:15:18 -07:00
Sámal Rasmussen
06a1974a48
docs: Update the link to the Jasmine docs ( #25175 )
...
Solves #24462 .
Also update the http part of the link to to https.
PR Close #25175
2018-08-01 16:12:43 -07:00
Alyssa Nicoll
5342aeaafd
docs(aio): update Kendo UI description in resource.json ( #24845 )
...
PR Close #24845
2018-08-01 10:59:16 -07:00
Stephon Harris
1dd2eaa7d2
docs: fix typos and missing word in tutorial ( #20764 )
...
PR Close #20764
2018-08-01 10:56:31 -07:00
Kevin Yang
7a4fb44f8d
docs(aio): add Kevin Yang to GDE resources ( #24791 )
...
Add files via upload
PR Close #24791
2018-08-01 10:55:41 -07:00
Daniel
88da8f3d52
docs: refactor http module import for style guide app.module ( #25001 )
...
PR Close #25001
2018-08-01 10:55:17 -07:00
Daniel
a9ecf4b929
docs: refactor lazy loading modules example ( #25071 )
...
PR Close #25071
2018-08-01 10:54:00 -07:00
Brandon Roberts
367841d237
docs: replace ReflectiveInjector samples with Injector samples ( #25162 )
...
PR Close #25162
2018-08-01 10:52:32 -07:00
firrae
4976a58780
docs: update to account for CLI changes ( #25223 )
...
This should help clarify the use of providedIn and correct the documentation where it was showing the use of a now depreciated CLI command flag.
I am openly looking for feedback on this change to figure out the best wording.
PR Close #25223
2018-08-01 10:51:05 -07:00
Vadym Yatsyuk
4cb1074850
docs(aio): add short description for entryComponents ( #21360 )
...
PR Close #21360
2018-07-31 13:18:36 -07:00
Stefanie Fluin
4ee9db959a
docs(docs-infra): fix topnav layout for smaller screens ( #25181 )
...
PR Close #25181
2018-07-31 11:41:22 -07:00
Rajesh Duggal
3f20a2fb5a
docs: fix link to "Override component providers" ( #24967 )
...
Closes #24966
PR Close #24967
2018-07-30 21:53:21 -07:00
Kwinten Pisman
24789e9ad9
docs(aio): add StrongBrew to the trainer list ( #24891 )
...
PR Close #24891
2018-07-30 16:48:17 -07:00
Daniel
4d5167ec83
docs: update bootstrapping and entry component guide to use httpclient ( #25178 )
...
PR Close #25178
2018-07-30 16:00:19 -07:00
Jerry Gao
efc6684cd3
docs: fix typo in dependency injection guide ( #24972 )
...
PR Close #24972
2018-07-30 15:56:35 -07:00
Daniel
9a6d26e05b
docs: refactor pipe example to use the HttpClient ( #22741 )
...
PR Close #22741
2018-07-30 14:34:32 -07:00
Pete Bacon Darwin
e8d4211d5c
feat(docs-infra): allow notification bar to show arbitrary content ( #25020 )
...
This change generalises the notification bar rendering to allow
more complex content to be displayed.
Now you must provide the full HTML of the notification message
when using `<aio-notification>`.
Also you can control whether clicking the content triggers the
notification to close or not.
This will support the new notification specified in "Other Items : 3" of
[#24140 ](https://github.com/angular/angular/issues/24140#issuecomment-397480410 )
PR Close #25020
2018-07-27 09:29:40 -07:00
Pete Bacon Darwin
6a4d66d432
style(docs-infra): remove unnecessary call to console.log() ( #25020 )
...
PR Close #25020
2018-07-27 09:29:39 -07:00
Daniel
a3cf61b7cf
docs: refactor feature modules example ( #25069 )
...
PR Close #25069
2018-07-27 09:28:12 -07:00
Frederik Schlemmer
a1b185b723
docs: Change unnecessary step in ToH-Tutorial ( #25059 )
...
PR Close #25059
2018-07-27 09:25:59 -07:00
Daniel
cf81823b07
docs: refactor style guide example 03-06 ( #24996 )
...
docs: refactor style guide example 03-06
docs: refactor style guide example 03-06
docs: refactor style guide example 03-06
PR Close #24996
2018-07-25 08:04:12 -07:00
Victor Berchet
d4ac9698ba
Revert "docs: refactor style guide example 03-06 ( #24996 )"
...
This reverts commit 65e18dc1bf
.
2018-07-24 22:11:30 -07:00
Daniel
c205516f0d
docs: refactor ngmodules example ( #25072 )
...
PR Close #25072
2018-07-24 21:03:38 -07:00
Daniel
777bd412b2
docs: replace angular/http with HttpClient ( #25068 )
...
PR Close #25068
2018-07-24 20:54:44 -07:00
Daniel
1e79014fc4
docs: replace angular/http with HttpClient ( #25066 )
...
PR Close #25066
2018-07-24 20:51:50 -07:00
Daniel Sogl
d0c066a223
docs: replaced old angular/http example ( #25065 )
...
PR Close #25065
2018-07-24 20:47:20 -07:00
Daniel
65e18dc1bf
docs: refactor style guide example 03-06 ( #24996 )
...
PR Close #24996
2018-07-24 20:46:07 -07:00
Stefanie Fluin
d523630ea2
docs(aio): cleanup aalert, callout, subsection use and author style ( #24986 )
...
PR Close #24986
2018-07-24 08:22:14 -07:00
Pete Bacon Darwin
edef58f466
build(docs-infra): ensure all API headings are sentence cased ( #24949 )
...
Closes #24880
PR Close #24949
2018-07-23 08:43:07 -07:00
Arun Kumar
7c89af34a9
docs: square odds example in rxjs guide ( #24947 )
...
Added argument type to filter function of rxjs. Fixed the
return value of filtering of odd numbers
PR Close #24947
2018-07-23 08:41:58 -07:00
Mateusz Karkula
bd576bb83f
docs: fix multicasting example in observable guide ( #24911 )
...
PR Close #24911
2018-07-23 08:40:45 -07:00
Maicon Wagner
168c2a645b
docs: add Truly-UI to resources ( #24615 )
...
PR Close #24615
2018-07-23 08:39:35 -07:00
Dario Braun
7729bb2bdc
docs: fix instructions for switching directories ( #24439 )
...
docs: fix instructions for switching directories
PR Close #24439
2018-07-23 08:38:10 -07:00
Kelly Marchewa
426324513d
docs: update rxjs link to version 6 ( #24269 )
...
PR Close #24269
2018-07-23 08:36:51 -07:00
Daniel
4d6f467fea
docs: refactor style guide example 01-01 ( #22738 )
...
docs: refactor style guide example 01-01
PR Close #22738
2018-07-23 08:35:37 -07:00
Judy Bogart
f1ab394218
docs: add api doc to commonly queried elements
2018-07-20 12:39:10 -07:00
Judy Bogart
bb58138579
docs: fix bad link ( #24825 )
...
PR Close #24825
2018-07-20 11:34:38 -07:00
Xapuu
b8f740b253
docs: remove closing parenthesis from provides guide ( #24935 )
...
PR Close #24935
2018-07-20 11:07:53 -07:00
George Kalpakas
3cd9645daa
fix(docs-infra): fix table header layout in API pages ( #24919 )
...
PR Close #24919
2018-07-20 10:48:42 -07:00
Marius Lichtblau
70b51a6255
docs: update i18n with requested changes ( #24875 )
...
use more general project name in code example
PR Close #24875
2018-07-20 10:36:13 -07:00
Marius Lichtblau
7ebd8e59a8
docs: update i18n doc regarding aot compilation ( #24875 )
...
Add missing lines to code example to allow using ng serve with custom i18n configurations.
PR Close #24875
2018-07-20 10:36:12 -07:00
George Kalpakas
1c533c913d
build(docs-infra): add support for examples of type `elements` ( #24840 )
...
Examples using `@angular/elements` need to transpile to es2015 for
Custom Elements to work (on browsers that natively support them).
Alternatively, a polyfill would need to be loaded. For now, changing the
transpilation target to es2015 is the simplest solution.
PR Close #24840
2018-07-20 10:34:47 -07:00
Jan De Wilde
ead3f926cb
docs: add e2e tests for `elements` example ( #24840 )
...
PR Close #24840
2018-07-20 10:34:47 -07:00
Jan De Wilde
9be222f448
docs: fix `elements` example ( #24840 )
...
PR Close #24840
2018-07-20 10:34:47 -07:00
George Kalpakas
b137f09345
docs: refactor `elements` example ( #24840 )
...
This makes the closing behavior more deterministic, which makes it
easier to be e2e-tested.
PR Close #24840
2018-07-20 10:34:47 -07:00
George Kalpakas
453693fd33
docs: clean up `elements` example (indentation, import order, etc) ( #24840 )
...
PR Close #24840
2018-07-20 10:34:47 -07:00
Raphaël Jamet
5840a86f98
docs: Add notes on manual sanitization to security guide ( #24176 )
...
Some users have remarked that we don't explain how to manually call
sanitization, so add a few lines on that.
PR Close #24176
2018-07-20 10:27:12 -07:00
Brandon Roberts
99a393e84f
docs: add new Reactive Forms guide ( #24578 )
...
PR Close #24578
2018-07-19 13:46:30 -04:00
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