Commit Graph

2075 Commits

Author SHA1 Message Date
Rob Wormald 25c1f331d6 refactor(docs-infra): bump polyfills payload limit ()
PR Close 
2018-09-05 09:23:10 -07:00
Rob Wormald 59aab14394 refactor(docs-infra): simplify custom-element polyfill setup ()
PR Close 
2018-09-05 09:23:10 -07:00
Pete Bacon Darwin c1ae3c16e8 build(docs-infra): ensure root node_modules exists ()
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 

PR Close 
2018-09-05 09:22:46 -07:00
Stephen Fluin 2f1bc1aa1a docs: add pwa keyword to service worker page ()
PR Close 
2018-09-04 12:09:54 -07:00
Jonathan Pool bd0eb0d1d4 docs: correct misspellings and add missing punctuation in tutorial ()
PR Close 
2018-09-04 12:08:52 -07:00
Martin Sikora ccb4a396f0 test(docs-infra): test that the "suggest edit" buttons are visible where expected ()
PR Close 
2018-08-31 09:42:10 -07:00
Martin Sikora d539122466 refactor(docs-infra): refactor templates ()
PR Close 
2018-08-31 09:42:10 -07:00
Martin Sikora b89a7dd4a2 fix(docs-infra): show "suggest edits" only for /guide and /tutorial dirs ()
PR Close 
2018-08-31 09:42:10 -07:00
Martin Sikora 9533cc9809 feat(docs-infra): add "suggest edits" feature to all docs ()
PR Close 
2018-08-31 09:42:10 -07:00
Judy Bogart 2379ad1a4b docs: edit and organize di guide ()
PR Close 
2018-08-30 13:15:47 -04:00
Frederik Schlemmer 9ee29ecdd4 docs: clarification of hero selection in routing section ()
PR Close 
2018-08-28 22:16:18 -04:00
George Kalpakas b069514818 fix(docs-infra): temporary SW fix (for online mode) ()
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 
2018-08-28 13:33:48 -04:00
Pete Bacon Darwin b1902db0cb build(docs-infra): render all overloads if they are abstract ()
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 

PR Close 
2018-08-27 18:19:08 -04:00
Pete Bacon Darwin a081d207f8 build(docs-infra): remove "annotations" section from API pages ()
PR Close 
2018-08-27 18:18:41 -04:00
George Kalpakas f596930c8c fix(docs-infra): ignore server-side redirected URLs in the SW ()
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 
2018-08-27 16:30:43 -04:00
George Kalpakas b3c56f021f build(docs-infra): downgrade @angular-devkit/build-angular to 0.6.7 ()
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 
2018-08-27 16:30:43 -04:00
George Kalpakas 864c22fb79 build(docs-infra): update size limits ()
PR Close 
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 ()
PR Close 
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 ()
PR Close 
2018-08-27 16:30:43 -04:00
George Kalpakas c73ebe79b3 build(docs-infra): update size limits ()
PR Close 
2018-08-27 16:30:43 -04:00
George Kalpakas 110ab2230b build(docs-infra): upgrade @angular/material to 6.0.2 ()
PR Close 
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 ()
PR Close 
2018-08-27 16:30:43 -04:00
George Kalpakas 4dc5afb5c6 build(docs-infra): upgrade @angular/cli to 6.0.3 ()
PR Close 
2018-08-27 16:30:43 -04:00
George Kalpakas 8c2c6b5d1a build(docs-infra): remove unused dependencies ()
PR Close 
2018-08-27 16:30:42 -04:00
George Kalpakas f71cce7f9b build(docs-infra): remove the dependency on `rxjs-compat` ()
PR Close 
2018-08-27 16:30:42 -04:00
George Kalpakas 53c1efb50a build(docs-infra): enable ServiceWorker in cli config ()
PR Close 
2018-08-27 16:30:42 -04:00
George Kalpakas b6ccd9f7bd fix(docs-infra): correctly show icon for fetch error when offline ()
PR Close 
2018-08-27 16:30:42 -04:00
George Kalpakas 8b614d4e1b refactor(docs-infra): move concept icons to more appropriate location ()
PR Close 
2018-08-27 16:30:42 -04:00
George Kalpakas 7f905da335 refactor(docs-infra): remove unused images ()
PR Close 
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. ()
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 
2018-08-27 16:30:42 -04:00
George Kalpakas 66ffa360df test(docs-infra): correctly extract sitemap URLs ()
`%%DEPLOYMENT_HOST%%` has been assumed to be the host prefix for sitemap
URLs since bf29936af, but afaict this was never the case.

PR Close 
2018-08-27 16:30:42 -04:00
George Kalpakas 3d41739021 fix(aio): show aio-themed 404 page for unknown resources ()
Fixes 

PR Close 
2018-08-23 15:25:47 -04:00
Bert Verhelst 69b57b2dca docs: Improve docs for downgrading a service ()
PR Close 
2018-08-21 10:49:00 -07:00
Sergey Koshechkin b05d4a5007 docs: fix typo in service worker getting started guide ()
PR Close 
2018-08-20 11:09:52 -07:00
JinBeom Hong 469d5e0448 docs: fix typo in reactive forms guide ()
PR Close 
2018-08-20 11:08:32 -07:00
Judy Bogart d2be3d5775 docs: copy edit glossary ()
PR Close 
2018-08-17 14:33:51 -07:00
Ana María Martínez Gómez cc55d609ce docs: add HttpClientModule import code to services tutorial ()
To be able to copy and paste.

PR Close 
2018-08-16 13:51:18 -07:00
Brandon Roberts de03abbd34 docs: reactive forms guide copy edits ()
PR Close 
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 ()
PR Close 
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 ()
PR Close 
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin 6a2130117f build(docs-infra): clean up API package template ()
PR Close 
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin 4e45f2c481 build(docs-infra): include packages in API template breadcrumbs ()
PR Close 
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin 78f477652e build(docs-infra): change breadcrumb delimiter to `>` ()
PR Close 
2018-08-14 13:17:15 -07:00
annefernandez3 ecb5dc03f9 docs: add Accelebrate to resources ()
PR Close 
2018-08-14 11:58:04 -07:00
Justin Noel 3ac7070009 docs: fix typo in Architecture overview page ()
PR Close 
2018-08-13 21:38:22 -07:00
Ana María Martínez Gómez e0314b5d90 docs: add link to Yarn in README ()
Remove the code markdown. It is not code, it is a name.

PR Close 
2018-08-13 21:36:13 -07:00
Tomasz Kula c8c1aa7fc0 docs(aio): add async validation chapter ()
Closes 

PR Close 
2018-08-10 09:14:25 -07:00
Jonathan Sharpe 209cc7e1b0 docs: fix typo in testing guide (closes ) ()
PR Close 
2018-08-10 09:11:35 -07:00
Judy Bogart 8bbce3feff docs: copy edit architecture guide ()
PR Close 
2018-08-08 13:12:53 -07:00
maxv 6c359afce6 docs: make css multiline in styleguide for consistency ()
PR Close 
2018-08-08 13:12:34 -07:00
Christoffer Noring 638ff760a5 docs: add ngrx book to the docs ()
PR Close 
2018-08-08 13:11:45 -07:00
Igor Minar 74518c4b2e style: fix whitespace and indentation in the testing guide ()
PR Close 
2018-08-08 13:11:15 -07:00
JiaLi.Passion ebf508fcd0 docs: add docs for fakeAsync test with custom macroTask in aio ()
PR Close 
2018-08-08 13:11:15 -07:00
Loiane Groner ec6d6175d2 docs(aio): Angular course in Portuguese 2018-08-07 12:07:54 -07:00
Guillermo Facundo Colunga 7bf5a43385 docs: refining code of tutorial 7 routing ()
Removed the dead code from hero-detail.component.ts

Fixes 

PR Close 
2018-08-07 11:08:53 -07:00
Kristoffer Nording 2fe05abbc4 docs: update resources to include UI-jar ()
PR Close 
2018-08-07 11:07:38 -07:00
Christoffer Noring 02c15a2448 docs: update to 2nd edition of Learning Angular ()
PR Close 
2018-08-06 13:44:42 -07:00
René Ras 6861bc5b06 docs: clarify heroes example ()
PR Close 
2018-08-06 13:44:17 -07:00
Ro Savage b8887ddf16 docs: fix table in comparing observables guide ()
PR Close 
2018-08-06 13:41:15 -07:00
Vani 67ad59c245 docs: standardize spelling of tree-shakable ()
PR Close 
2018-08-06 13:40:15 -07:00
Dario Braun 397530ab24 docs: remove code in universal hero detail component ()
This reverts commit e9cc3dad8f39bc8dfabfb708a825f90fcd2ab697.

PR Close 
2018-08-06 13:39:23 -07:00
Trotyl c67f1bb38e docs: several fixes for NPM package guide ()
PR Close 
2018-08-06 11:32:30 -07:00
Lalith Polepeddi 97b5cb2e3b docs(aio): add Made with Angular ()
PR Close 
2018-08-06 09:50:14 -07:00
George Kalpakas dc0715142f test(docs-infra): log docs examples e2e spec paths to aid debugging ()
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 
2018-08-03 15:30:31 -07:00
Brandon Roberts 74bce18190 Revert "docs: refactor http module import for style guide app.module ()" ()
This reverts commit 88da8f3d52.

PR Close 
2018-08-02 09:20:12 -07:00
Frederik Schlemmer e60737f63c docs(docs-infra): adds note according to Symlink problem ()
docs: adds note according to Symlink problem

Closes 
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 
2018-08-02 08:33:24 -07:00
George Kalpakas 7b89711402 docs(elements): add section about custom element typings in `elements` guide ()
PR Close 
2018-08-02 08:32:59 -07:00
George Kalpakas f1223628a6 docs(elements): add link to full example in `elements` guide ()
PR Close 
2018-08-02 08:32:59 -07:00
George Kalpakas 1b4269ad85 docs(elements): remove unnecessary whitespace in `elements` guide ()
PR Close 
2018-08-02 08:32:59 -07:00
Pete Bacon Darwin a224df43af feat(docs-infra): support sending Google Analytics events ()
PR Close 
2018-08-01 17:04:19 -07:00
kristinavavrova 20b453008f docs: update reactiveconf 2018 in events ()
PR Close 
2018-08-01 16:15:18 -07:00
Sámal Rasmussen 06a1974a48 docs: Update the link to the Jasmine docs ()
Solves .

Also update the http part of the link to to https.

PR Close 
2018-08-01 16:12:43 -07:00
Alyssa Nicoll 5342aeaafd docs(aio): update Kendo UI description in resource.json ()
PR Close 
2018-08-01 10:59:16 -07:00
Stephon Harris 1dd2eaa7d2 docs: fix typos and missing word in tutorial ()
PR Close 
2018-08-01 10:56:31 -07:00
Kevin Yang 7a4fb44f8d docs(aio): add Kevin Yang to GDE resources ()
Add files via upload
PR Close 
2018-08-01 10:55:41 -07:00
Daniel 88da8f3d52 docs: refactor http module import for style guide app.module ()
PR Close 
2018-08-01 10:55:17 -07:00
Daniel a9ecf4b929 docs: refactor lazy loading modules example ()
PR Close 
2018-08-01 10:54:00 -07:00
Brandon Roberts 367841d237 docs: replace ReflectiveInjector samples with Injector samples ()
PR Close 
2018-08-01 10:52:32 -07:00
firrae 4976a58780 docs: update to account for CLI changes ()
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 
2018-08-01 10:51:05 -07:00
Vadym Yatsyuk 4cb1074850 docs(aio): add short description for entryComponents ()
PR Close 
2018-07-31 13:18:36 -07:00
Stefanie Fluin 4ee9db959a docs(docs-infra): fix topnav layout for smaller screens ()
PR Close 
2018-07-31 11:41:22 -07:00
Rajesh Duggal 3f20a2fb5a docs: fix link to "Override component providers" ()
Closes 

PR Close 
2018-07-30 21:53:21 -07:00
Kwinten Pisman 24789e9ad9 docs(aio): add StrongBrew to the trainer list ()
PR Close 
2018-07-30 16:48:17 -07:00
Daniel 4d5167ec83 docs: update bootstrapping and entry component guide to use httpclient ()
PR Close 
2018-07-30 16:00:19 -07:00
Jerry Gao efc6684cd3 docs: fix typo in dependency injection guide ()
PR Close 
2018-07-30 15:56:35 -07:00
Daniel 9a6d26e05b docs: refactor pipe example to use the HttpClient ()
PR Close 
2018-07-30 14:34:32 -07:00
Pete Bacon Darwin e8d4211d5c feat(docs-infra): allow notification bar to show arbitrary content ()
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
[](https://github.com/angular/angular/issues/24140#issuecomment-397480410)

PR Close 
2018-07-27 09:29:40 -07:00
Pete Bacon Darwin 6a4d66d432 style(docs-infra): remove unnecessary call to console.log() ()
PR Close 
2018-07-27 09:29:39 -07:00
Daniel a3cf61b7cf docs: refactor feature modules example ()
PR Close 
2018-07-27 09:28:12 -07:00
Frederik Schlemmer a1b185b723 docs: Change unnecessary step in ToH-Tutorial ()
PR Close 
2018-07-27 09:25:59 -07:00
Daniel cf81823b07 docs: refactor style guide example 03-06 ()
docs: refactor style guide example 03-06


docs: refactor style guide example 03-06


docs: refactor style guide example 03-06


PR Close 
2018-07-25 08:04:12 -07:00
Victor Berchet d4ac9698ba
Revert "docs: refactor style guide example 03-06 ()"
This reverts commit 65e18dc1bf.
2018-07-24 22:11:30 -07:00
Daniel c205516f0d docs: refactor ngmodules example ()
PR Close 
2018-07-24 21:03:38 -07:00
Daniel 777bd412b2 docs: replace angular/http with HttpClient ()
PR Close 
2018-07-24 20:54:44 -07:00
Daniel 1e79014fc4 docs: replace angular/http with HttpClient ()
PR Close 
2018-07-24 20:51:50 -07:00
Daniel Sogl d0c066a223 docs: replaced old angular/http example ()
PR Close 
2018-07-24 20:47:20 -07:00
Daniel 65e18dc1bf docs: refactor style guide example 03-06 ()
PR Close 
2018-07-24 20:46:07 -07:00
Stefanie Fluin d523630ea2 docs(aio): cleanup aalert, callout, subsection use and author style ()
PR Close 
2018-07-24 08:22:14 -07:00
Pete Bacon Darwin edef58f466 build(docs-infra): ensure all API headings are sentence cased ()
Closes 

PR Close 
2018-07-23 08:43:07 -07:00
Arun Kumar 7c89af34a9 docs: square odds example in rxjs guide ()
Added argument type to filter function of rxjs. Fixed the
return value of filtering of odd numbers

PR Close 
2018-07-23 08:41:58 -07:00
Mateusz Karkula bd576bb83f docs: fix multicasting example in observable guide ()
PR Close 
2018-07-23 08:40:45 -07:00
Maicon Wagner 168c2a645b docs: add Truly-UI to resources ()
PR Close 
2018-07-23 08:39:35 -07:00
Dario Braun 7729bb2bdc docs: fix instructions for switching directories ()
docs: fix instructions for switching directories


PR Close 
2018-07-23 08:38:10 -07:00
Kelly Marchewa 426324513d docs: update rxjs link to version 6 ()
PR Close 
2018-07-23 08:36:51 -07:00
Daniel 4d6f467fea docs: refactor style guide example 01-01 ()
docs: refactor style guide example 01-01


PR Close 
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 ()
PR Close 
2018-07-20 11:34:38 -07:00
Xapuu b8f740b253 docs: remove closing parenthesis from provides guide ()
PR Close 
2018-07-20 11:07:53 -07:00
George Kalpakas 3cd9645daa fix(docs-infra): fix table header layout in API pages ()
PR Close 
2018-07-20 10:48:42 -07:00
Marius Lichtblau 70b51a6255 docs: update i18n with requested changes ()
use more general project name in code example

PR Close 
2018-07-20 10:36:13 -07:00
Marius Lichtblau 7ebd8e59a8 docs: update i18n doc regarding aot compilation ()
Add missing lines to code example to allow using ng serve with custom i18n configurations.

PR Close 
2018-07-20 10:36:12 -07:00
George Kalpakas 1c533c913d build(docs-infra): add support for examples of type `elements` ()
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 
2018-07-20 10:34:47 -07:00
Jan De Wilde ead3f926cb docs: add e2e tests for `elements` example ()
PR Close 
2018-07-20 10:34:47 -07:00
Jan De Wilde 9be222f448 docs: fix `elements` example ()
PR Close 
2018-07-20 10:34:47 -07:00
George Kalpakas b137f09345 docs: refactor `elements` example ()
This makes the closing behavior more deterministic, which makes it
easier to be e2e-tested.

PR Close 
2018-07-20 10:34:47 -07:00
George Kalpakas 453693fd33 docs: clean up `elements` example (indentation, import order, etc) ()
PR Close 
2018-07-20 10:34:47 -07:00
Raphaël Jamet 5840a86f98 docs: Add notes on manual sanitization to security guide ()
Some users have remarked that we don't explain how to manually call
sanitization, so add a few lines on that.

PR Close 
2018-07-20 10:27:12 -07:00
Brandon Roberts 99a393e84f docs: add new Reactive Forms guide ()
PR Close 
2018-07-19 13:46:30 -04:00
Jamie Krug 23dc9a90b0 docs: fix typo in user input guide ()
PR Close 
2018-07-18 14:04:09 -04:00
Pete Bacon Darwin 74b250b146 feat(docs-infra): enable filtering by package on API list page ()
PR Close 
2018-07-13 19:45:55 -04:00
Pete Bacon Darwin d8c828c9b1 build(docs-infra): implement the 'package' API template ()
PR Close 
2018-07-13 19:45:54 -04:00
Dario Braun 82004c76ac docs: update component styles doc regarding relative URL ()
Update the documentation to match the CLI mechanics regarding relative URL in link tags.
docs: update info on stylesheet location for CLI


PR Close 
2018-07-12 16:44:00 -04:00
Alain Chautard 85d9c20b1d docs(aio): Add Angular Training to list of training companies ()
PR Close 
2018-07-12 16:39:56 -04:00
Arun Kumar 0d6b74dd87 docs: fix typo in component architecture guide ()
Change the sentence from 'this tells Angular how provide ...' to 'this tells Angular how to provide ...'. The current sentence does not make grammatical sense.

PR Close 
2018-07-12 14:31:27 -04:00
Daniel Sogl b7823e7087 docs: unified string chaining ()
PR Close 
2018-07-10 18:50:44 -07:00
Daniel Sogl 3f8ab80583 docs(aio): unified string chaining ()
PR Close 
2018-07-10 18:50:44 -07:00
Jamie Krug ffb9dc6cf9 docs: fix incorrect forms selector references ()
PR Close 
2018-07-10 18:50:17 -07:00
Jamie Krug 505b54b86b docs: fix typos referencing inline component styles ()
PR Close 
2018-07-10 18:48:29 -07:00
Judy Bogart 50fbed8e5f docs: correct project definition ()
PR Close 
2018-07-10 18:47:19 -07:00
George Kalpakas 03616bcb43 docs: fix typo in Universal guide ()
PR Close 
2018-07-10 11:12:45 -07:00
Judy Bogart 49df4ef454 docs: add tree-shakable providers ()
PR Close 
2018-07-10 11:12:07 -07:00
Judy Bogart e1146f3d06 docs: clarify wording in architecture overview ()
Closes 
Closes 

PR Close 
2018-07-10 11:12:07 -07:00
Daniel Sogl a167bca927 docs: unified console.log single string style ()
PR Close 
2018-07-10 11:11:29 -07:00
Daniel Sogl e3709f5d48 docs(aio): unified console.log single string style ()
PR Close 
2018-07-10 11:11:29 -07:00
George Kalpakas 250527ca68 feat(service-worker): add support for `?` in SW config globbing ()
The globbing is used in the following sections:
- `assetGroups` > `resources` > `files`/`versionedFiles`
- `assetGroups` > `resources` > `urls`
- `dataGroups` > `urls`
- `navigationUrls`

Query params are ignored for `files`/`versionedFiles` and
`navigationUrls`, but they are still taken into account for
`assetGroups`/`dataGroups` `urls`. To avoid a breaking change, `?` is
matched literally for these patterns.

PR Close 
2018-07-06 13:50:17 -07:00
Paul Spears 94076c934c docs: update Angular Boot Camp description ()
PR Close 
2018-07-06 13:49:56 -07:00
Daniel f936b8cbd2 docs: refactored ng-container code ()
PR Close 
2018-07-06 13:49:35 -07:00
George Kalpakas e01b539ee5 refactor: infer type for `it()` assertion functions ()
PR Close 
2018-07-06 13:48:02 -07:00
Judy Bogart 3e6a722ddb docs: add workspace and related cli terms ()
PR Close 
2018-07-06 10:13:39 -07:00
Will 568612349f docs(aio): added a link to Angular Zero online course (Traditional Chinese) ()
PR Close 
2018-07-06 10:11:01 -07:00
Kapunahele Wong b719905f9b docs: clarify faqs about services ()
PR Close 
2018-07-06 10:10:41 -07:00
ampGular 56a8533cf3 docs: add app.module to changed documents ()
PR Close 
2018-07-06 10:10:20 -07:00
paulmojicatech 7f3242affb docs: fix documention for attributes directive ()
fix:update documentation for attributes directive to fix error

PR Close 
2018-07-03 18:34:58 -04:00
Michael Prentice 948e2236c0 docs(aio): update contributors entry ()
PR Close 
2018-07-02 15:45:39 -07:00
Rob Wormald 3553977bd7 feat(core): add support for ShadowDOM v1 ()
add a new ViewEncapsulation.ShadowDom option that uses the v1 Shadow DOM API to provide style encapsulation.

PR Close 
2018-07-02 14:37:41 -07:00
Jonathan Sharpe 1ae3f87383 docs: update HTTP error test example again ()
This has somehow regressed since angular/angular#22844 was merged.

PR Close 
2018-07-02 14:37:18 -07:00
Conner Chyung 4e7a44c816 docs: fix typo in pipes guide ()
PR Close 
2018-07-02 14:36:55 -07:00
Arunkarthick S. R d1805d04d5 docs: fix docregion in attribute directives for highlight directive ()
Fixes 

PR Close 
2018-07-02 14:36:24 -07:00
Pete Bacon Darwin d876700c26 build(docs-infra): render short description of parameters in API docs ()
PR Close 
2018-06-28 15:03:14 -07:00
Brandon Roberts 3db9d57de3 fix(docs-infra): use clean package.json template when generating zips ()
Closes 

PR Close 
2018-06-28 15:01:00 -07:00
Brandon Roberts 66e50f28d2 docs: include ts-loader as shared example dependency ()
Closes 

PR Close 
2018-06-28 15:01:00 -07:00
FinnStutzenstein 676ec411b9 docs: consistent spacing in tutorial html files () ()
- Removed surrounding spaces in interpolation expressions following the styleguide
- Consistant spacing of two spaces in html

Fixes 

PR Close 
2018-06-28 17:56:19 -04:00
Kapunahele Wong 22758912a0 docs(aio): tech edits to upgrade-lazy () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Georgios Kalpakas 70156bc4ed docs(upgrade): add guide about `downgradeModule()` () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Georgios Kalpakas 24e0c3d43d docs: minor fixes in `docs-style-guide` () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Nico de Haen 8dec381145 docs: fix unit tests in toh-pt6 ()
Resolves 

PR Close 
2018-06-27 14:33:26 -07:00
Alan Agius 32da3e1602 docs: add explanation for `enableResourceInlining` ()
PR Close 
2018-06-27 14:31:53 -07:00
Tomasz Kula 5c0e681bf3 docs(aio): fix adding to template driven forms ()
PR Close 
2018-06-26 11:03:36 -07:00
Tomasz Kula 7d6e833a6f docs(aio): fix issues suggested by Brandon ()
PR Close 
2018-06-26 11:03:35 -07:00
Tomasz Kula 49e900d6fc docs(aio): fix issues suggested by Kara ()
PR Close 
2018-06-26 11:03:35 -07:00
Tomasz Kula 5feb9e1935 docs(aio): address pr review issues ()
PR Close 
2018-06-26 11:03:35 -07:00
Tomasz Kula 002a5afa98 docs(aio): add cross field validation example ()
PR Close 
2018-06-26 11:03:35 -07:00
Pete Bacon Darwin cf0968f98e build(docs-infra): support hiding constructors of injectable classes ()
Classes that are injectable often have constructors that should not be
called by the application developer. It is the responsibility of the
injector to instantiate the class and the constructor often contains
private implementation details that may need to change.

This commit removes constructors from the docs for API items that are
both:

a) Marked with an injectable decorator (e.g. Injectable, Directive,
Component, Pipe), and
b) Have no constructor description

This second rule allows the developer to override the removal if there
is something useful to say about the constructor.

Note that "normal" classes such as `angimations/HttpHeaders` do not have
their constructor removed, despite (at this time) having no description.

PR Close 
2018-06-26 10:58:11 -07:00
George Kalpakas 941d2cdaaf test(aio): fix upgrade-phonecat examples e2e tests ()
Closes 

PR Close 
2018-06-25 09:30:46 -07:00
yjaaidi fba3f10938 docs: add guide-angular.wishtack.io to education resources ()
PR Close 
2018-06-25 07:57:33 -07:00
Pete Bacon Darwin 8c51ce6f3b build(docs-infra): move overload short description above syntax ()
PR Close 
2018-06-25 07:56:36 -07:00
Ricardo Varanda fe8fe9ba9e docs: update Angular CLI option for sourcemaps ()
PR Close 
2018-06-25 07:53:26 -07:00
George Tzinos 637805a0c9 docs: update `lowercase` pipe example in "AngularJS to Angular" guide ()
PR Close 
2018-06-21 13:14:31 -07:00
George Kalpakas cb31381734 build(docs-infra): redirect removed webpack guide to `v5.angular.io` ()
The outdated webpack guide has been removed in , but people might
still try to access it (via direct links or search-engine results).

Instead of returning 404, we will now redirect `/guide/webpack` to the
archived version of the guide at `v5.angular.io/guide/webpack`.

PR Close 
2018-06-20 16:51:33 -07:00
Elana Olson b91254fc43 docs(aio): add elana olson to contributor.json file ()
Add new contributor, elana olson, to the contributors list.

PR Close 
2018-06-20 16:50:54 -07:00
Stefanie Fluin a26965812b feat(docs-infra): Add GitHub and Twitter external icon links to topnav toolbar ()
PR Close 
2018-06-20 16:50:15 -07:00
Brandon Roberts 794584e353 docs: Remove outdated Webpack guide and example ()
A supporting Webpack guide will be introduced as part of the guidance
for ejecting from the Angular CLI.

Closes 

PR Close 
2018-06-18 15:03:22 -07:00
Pete Bacon Darwin 45862d0812 build(docs-infra): ensure all headings are sentence cased ()
PR Close 
2018-06-15 09:13:45 -07:00
Pete Bacon Darwin 39af314e29 build(aio): add github links to API doc members ()
This change adds Github edit and view links to methods
and decorator options.

It is possible to add these to properties also but the
UI is rather tight as these are displayed in a table.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 8daadf360c build(aio): compute breadcrums for all API doc types ()
PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 859a3d5784 build(aio): fix decorator doc "inherited from" heading ()
We should not include the package path in the inherited
from heading for decorator API docs

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 66f6a48210 fix(aio): tidy up API doc styles ()
* Code anchors should inherit the font size from their container
* Table headings should align with content

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 8a4c577917 build(aio): fix broken doc-gen unit test ()
PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 2b15108f7e build(aio): remove invalid H3 usage notes heading ()
This heading is too high for the section because the
method name is a H3 but it cannot be a H4 because
usage notes may contain H4 headings.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin bc4f10ca20 build(aio): rearrange processors to ensure we catch all content errors ()
PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 77309e2ea4 build(aio): map H3 headings into H4 headings for certain templates ()
The sections such as methods and decorator options are already headed
by a H3 heading so we need to map the H3 headings in the API doc source
down to H4 headings.

This commit includes general heading mapping functionality accessible via
the `marked` Nunjucks filter.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin e371b226fa build(aio): rearrange decorator API doc template ()
The overview of the decorator options is now a table.
The detailed description of each option is now a full section.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin ccb19fea68 build(aio): remove unused `@linkDocs` alias for `@link` jsdoc tag ()
PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin e7b392bf3a build(aio): improve automatic linking of code items ()
This commit adds new link disambiguators that mean that more
code links can be generated automatically in a sensible way.

The best example is the use of properties within class, interface and
enum documentation.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 8977b9690e docs(aio): remove unused guide doc ()
This was erroneously committed into master, when it was really only
supposed to demo what the pages might look like.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin d4d8125b2d build(aio): refactor the decorator doc processing ()
PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 62443b04a0 build(aio): do not allow `@usageNotes` on properties ()
PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 3c1eb9413f build(aio): update to latest dgeni-packages@0.26.2 ()
This update allows us to autolink to methods and properties, which
means that we can change things like `{@link transition transition()}`
to just `transition()`.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 4168c946c6 build(aio): add content rule to prevent usageNotes in non-export API docs ()
This commit also factors out `API_CONTAINED_DOC_TYPES` to be used by
both `filterContainedDocs` and `addAllowedPropertiesRules`.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 293ec78069 build(aio): don't constrain `checkContentRules` to run before another processor ()
We don't really care when this processor runs as long as it happens
after the tags have been extracted.
By not constraining its `runBefore` property we can ensure that other
processors can be run before it.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 131d0d8e8a build(aio): do not try to auto-link to internal API items ()
This would cause dangling links since the target, being internal,
would not exist in the docs.

PR Close 
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin 5fb0b567ce build(aio): don't render `@Annotation` tags ()
Because we were "ignoring" these tags they were being
rendered as part of the previous tag.
What we really want to do is know about them, so that we
don't break the doc-gen but then ignore them when rendering.

PR Close 
2018-06-13 16:47:40 -07:00
Vani 503a524d27 docs: change capitalization for css hex color values ()
PR Close 
2018-06-13 13:31:30 -07:00
vovchik-manko 0bd2d7bac6 docs: add message property to compose-message component ()
PR Close 
2018-06-13 13:28:47 -07:00
Kirankumar Sripati c8e865ac8e docs: fix typo ()
PR Close 
2018-06-13 11:54:26 -07:00
Kapunahele Wong d9bf6e37ae docs: fix wording in 4-10 ()
PR Close 
2018-06-13 11:53:20 -07:00
Shaun Grady 153ba4dff3 docs(aio): Reorganize style guide sections on prefixing components/directives ()
Closes https://github.com/angular/angular/issues/22081

PR Close 
2018-06-13 11:20:42 -07:00
George Kalpakas 5e8bf2f88d build(docs-infra): ensure `dist/` directory is cleaned before running `tsc --watch` ()
PR Close 
2018-06-11 09:18:46 -07:00
George Kalpakas ea143e7498 build(docs-infra): upgrade preview server to latest `@types/shelljs` ()
PR Close 
2018-06-11 09:18:46 -07:00
Michał Gołębiowski-Owczarek 8be6892777 fix(docs-infra): use script nomodule to load IE polyfills, skip other polyfills ()
This commit includes two changes:
1. It changes the unreliable dynamic way of loading IE polyfills to use
   `<script nomodule>` instead - for IE it's equivalent to a regular script tag
   while modern browsers will ignore it.
2. It removes other polyfills for browsers not supporting `Object.assign` as
   this API is supported by Chrome 45+, Firefox 34+ and Safari 9+ i.e. it's been
   supported for some time.

Note that as of June 2018 Googlebot uses Chrome 41 to render sites to be
indexed. Chrome 41 doesn't support `Object.assign` but it also doesn't support
ES6 modules so it'll load polyfills meant for IE - which it should do anyway
as it doesn't support most of ES6.

Fixes 

PR Close 
2018-06-08 13:34:06 -07:00
Pete Bacon Darwin 9f877f4416 build(docs-infra): ensure stability is computed before the API list ()
Previously the API list was being generated before the stability had
been computed. This meant that the API list page showed no API docs
when filtering by `stable` stability status.

Closes 

PR Close 
2018-06-08 13:33:32 -07:00
Stephen Fluin 4664226b97 docs(aio): add mix and connect to front page campaigns ()
PR Close 
2018-06-08 13:31:28 -07:00
ketangote ce1543fcde docs(aio): Added resource link to Amexio Canvas Web Based IDE ()
PR Close 
2018-06-07 18:46:32 -04:00
Pete Bacon Darwin 700e55ce14 build(docs-infra): log warning rather than error if content errors are not fatal ()
PR Close 
2018-06-06 10:25:04 -07:00
Pete Bacon Darwin 68d37ef0c1 build(aio): ensure the correct decorator properties are merged ()
Previously only the `description` and `usageNotes` were being copied over
from the call-member of the decorator interface. Important properties such
as `shortDescription` were missed.

These are now added and the code has been refactored to make it simpler and
clearer to update which properties get copied as the requirements change.

PR Close 
2018-06-06 10:23:47 -07:00
Brandon Roberts 87b16710e7 docs(aio): Add null type to form validation example ()
Closes 

PR Close 
2018-06-05 17:32:36 -07:00
George Kalpakas 255463ed48 fix(aio): remove unnecessary scrollbar in `code-tabs` ()
PR Close 
2018-06-04 12:07:25 -07:00
George Kalpakas b4bbdb4ce2 fix(aio): add right-margin to `.home` link ()
PR Close 
2018-06-04 12:07:25 -07:00
Alan Agius 7623d74607 docs(aio): clean up frequent ng-modules ()
Closes 

PR Close 
2018-06-04 10:13:18 -07:00
Nathan Phillip Brink ccaa199366 docs(aio): remove an extraneous apostrophe ()
PR Close 
2018-06-04 10:11:28 -07:00
Kim Maida 49d5de68f6
docs(aio): Add GDE Kim Maida to contributors 2018-05-30 17:33:33 -07:00
alberto 5d6074eaff docs: fix typo ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Aditya Bhardwaj 9add50129d docs: fix typo ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Vani 4247176b6e docs: fix typo if FAQ section ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
seklyza 3b9c5c849c docs: fix WebStorm name ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Victor Berchet 27d811a7ce
Revert "docs: update docs to use HttpClientModule instead of HttpModule ()"
This reverts commit 3ed7fc6686.
2018-05-30 16:12:49 -07:00
Judy Bogart c25e6142d2 docs: remove unfinished observables file ()
PR Close 
2018-05-30 14:44:28 -07:00
Kyle Liu 7c39216083 docs(aio): fix typo for @NgModuledecorator to @NgModule decorator ()
closes 

PR Close 
2018-05-30 11:24:12 -07:00
Aditya Bhardwaj 223882aeb6 docs: fix typo ()
closes 

PR Close 
2018-05-30 11:24:11 -07:00
Aaron Gussman 3ed7fc6686 docs: update docs to use HttpClientModule instead of HttpModule ()
Updated most examples to use HttpClientModule instead of deprecated HttpModule

fix 

PR Close 
2018-05-30 10:03:14 -07:00
gjdev 7c1bd7170e docs(aio): add blox material library to resources ()
PR Close 
2018-05-30 10:02:32 -07:00
cexbrayat 41cd8f3efb refactor(core): use Partial<T> for MetadataOverride ()
Allows to write:

const fixture = TestBed
      .overridePipe(DisplayNamePipe, { set: { pure: false } })
      .createComponent(MenuComponent);

when you only want to set the `pure` metadata,
instead of currently:

const fixture = TestBed
      .overridePipe(DisplayNamePipe, { set: { name: 'displayName', pure: false } })
      .createComponent(MenuComponent);

which forces you to redefine the name of the pipe even if it is useless.

Fixes 

PR Close 
2018-05-29 18:40:05 -04:00
jenniferfell 00c4751f37 docs: update lts and labs practices ()
PR Close 
2018-05-29 18:01:31 -04:00
George Kalpakas c2e131119b refactor(aio): rename method (loadContainingCustomElements --> loadContainedCustomElements) ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas 7866684f2b fix(aio): avoid loading the ToC component until it is necessary ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas 6e05ae02a2 fix(aio): show embedded ToC ()
On narrow screens (where there is not enough room on the right to show
the floating ToC), an embedded ToC is shown (via an `<aio-toc embedded>`
element in the document). Since ToC was not a custom element, the
component was not instantiated for the embedded element.

This commit fixes it by making `aio-toc` a custom element and loading it
manually for the floating ToC (if necessary).

PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas 431a42a238 feat(aio): add component for lazy-loading custom element ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas 7a9c987e56 refactor(aio): order custom elements by selector ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas ae86cb3be0 fix(aio): do not load custom elements again while already loading ()
PR Close 
2018-05-29 18:00:33 -04:00
George Kalpakas a6f34be9f5 build(aio): update payload size limits ()
PR Close 
2018-05-29 18:00:33 -04:00
Danny Rademacher d74078fb88 docs(http): correct spelling error ()
Correct a spelling error. I changed HttpParms to HttpParams
PR Close 
2018-05-29 16:55:06 -04:00
Pete Bacon Darwin ddd6124802 feat(aio): display code-tabs in a Material Design "card" ()
This helps to connect the "content" of the tab to its label.

Closes 

PR Close 
2018-05-29 16:52:06 -04:00
Pete Bacon Darwin 96a0e131bf feat(aio): render hover status on code-tabs ()
The Material Design spec states that there should be a change
of background when hovering over a tab label.

See https://material.io/design/components/tabs.html#states

Related to 

PR Close 
2018-05-29 16:52:06 -04:00
Juri 7657535718 docs(aio): fix link to correct bio image ()
PR Close 
2018-05-29 16:27:49 -04:00
Mashhood Rastgar 3de80fc7fb docs(aio): Added Mashhood as GDE in contributors ()
PR Close 
2018-05-29 16:20:05 -04:00
Tiago Temporin 83bb5d1922 docs(aio): add material community components ()
PR Close 
2018-05-25 13:45:40 -04:00
George Kalpakas 3e39fef274 refactor(aio): improve logging output in `update-preview-server.sh` ()
PR Close 
2018-05-25 13:44:44 -04:00
Juri 36cc72ee5b docs(aio): add Juri Strumpflohner to GDE resources ()
PR Close 
2018-05-25 13:43:50 -04:00
Stephen Fluin 186118e684 docs(aio): remove outdated rangle link ()
PR Close 
2018-05-25 13:41:59 -04:00
thebyteman fb906a87e8 docs(aio): fix typo ()
PR Close 
2018-05-22 16:35:17 -04:00