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