Commit Graph

53 Commits

Author SHA1 Message Date
Jesús Rodríguez f7c89d07b1 chore: remove dart remains (#3468) 2017-03-30 16:13:42 -07:00
Pete Bacon Darwin 93d3db1fd4 docs(*): blank lines before lists are good (#3474) 2017-03-30 14:41:23 -07:00
Patrice Chalin 2fbca288c2 docs(server-comm): copyedits (#3373)
- Minor prose copyedits.
- Renamed `HeroService.addHero()` to `create()`, so as to match the ToH
sample.
2017-03-14 10:48:21 -07:00
Kapunahele Wong 4dbd920d46 docs(http-client): edit copy and true TOC to doc shape (#3360) 2017-03-09 12:54:14 -08:00
Filipe Silva 1101f07ef2 refactor: add src folder (#3171)
* boilerplate, gulpfile, quickstart

* move ts files up to cookbooks

* move rest of ts files

* fix tsconfig, default build task, json file

* fix js examples

* fix webpack example

* remove a2docs.css references

* fix aot examples

* fix webpack run task

* fix cb-i18n

* fix upgrade examples

* fix unit tests

* fix comment in deployment index

* removed unused typings.json

* fix plunkers

* fix js example paths

* fix ts quickstart/setup prose

* add src folder note to setup

* broadly replace app/ -> src/app/

* broadly replace main.ts

* broadly replaced index.html

* broadly replace tsconfig

* replace systemjs

* fix filetrees

* Minor prose fixes to aot, i18n cookbooks

* remove char harp was complaining about

* update new reactive forms example

* fix quickstart jade error

* fix mistakes uncovered by CI

* fix bad filename errors

* edit style guide 04-06 rule to use src

* add changelog

* Incorporate Jesus's feedback

* fix snippet headers in toh1/2

* chore: tweak changelog and setup text
2017-02-02 19:38:17 +01:00
Ward Bell aa6f503331 docs: remove rxjs-extensions in favor of explict imports (#3075)
Triggered by #2620 which it closes.
2017-01-05 01:12:06 -08:00
Ward Bell 7af64a4f35 docs(http): use a class for default `RequestOptions` override (#2982)
John Papa pointed out that this makes user testing easier if you care about headers in those tests.
2016-12-14 20:35:29 -08:00
Ward Bell 9a3cbd611f docs(http): show how to override default `RequestOptions` like headers (#2978) 2016-12-14 13:30:25 -08:00
Ward Bell 9cf71d4b00 docs(http/toh-6): improve references to in-mem-web-api (#2964) 2016-12-13 02:18:07 -08:00
Patrice Chalin 79375cab3e docs(server-comm): fix path to heroes.json for Dart (#2837) 2016-11-20 21:35:00 +00:00
Patrice Chalin 061e50fa06 docs: adjust page heading levels (#2813)
* docs: adjust page heading levels

Only the page TOC should be at heading level 1. All other headings
should start at level 2. This commit also removes duplicate headings,
in continuation of #2796.

(This fix is necessary to support an auto-TOC feature.)
2016-11-16 10:02:31 -08:00
Ward Bell ea7dff4d89 docs(security): improve xsrf description and add it to http chapter as well (#2652) 2016-10-24 02:57:19 -07:00
Ward Bell c28b003a3c docs(HTTP Client): edit copy to conform to G-doc guidelines. (#2630) 2016-10-19 23:17:50 -07:00
Mark Pieszak fdc1b0490c docs(server-communication): grammar fix (#2626) 2016-10-18 15:49:35 +02:00
Ward Bell 6e17d33475 chore: update samples to "angular-in-memory-web-api" (#2472)
chore: update samples to "angular-in-memory-web-api"
2016-09-25 15:24:13 -07:00
Benjamin Dopplinger d858ed379a docs(server-communication): fix "app/app.module.ts" typo
closes #2283
2016-09-13 20:52:26 -07:00
Jonathan Persson f2b1bbaba9 Remove a superfluous `.` in HTTP client docs 😄 (#2313) 2016-09-13 16:13:44 -07:00
Shai Reznik 3c9ff061c6 docs(server-communication): fix small typo (#2312) 2016-09-13 15:58:39 -07:00
Patrice Chalin 59f6ebe849 docs(*): misc fixes to prose in support of jade2ng (#2266)
Fixes to prose “syntax”. Anomalies detected by jade2ng.
Also updated the main _utils-fn.jade in support of jade2ng as well.
2016-09-06 10:28:24 -07:00
Trotyl Yu 128915d6c3 docs(server-communication): Fetch API does not belong to ECMAScript
closes #2107
Fetch API is a Web API, has its own specification. ECMAScript is the specification of the JavaScript language, nothing to do with Web API.
2016-08-24 23:39:36 -07:00
Ward Bell 2c8a7982e7 docs: use InMemoryWebApiModule everywhere
closes #2137
2016-08-19 04:26:36 -07:00
Peter Bacon Darwin d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Patrice Chalin 98e5d4af77 docs(all): link cleanup - broken and outdated
closes #1841
Fixes all broken links except genuine errors (see #1840), have been
resolved as of 2016-07-06
(https://github.com/angular/angular/commit/2708ce6a17667a2369c83bcf244c9
366b058d4c9).

Fixes #1574
2016-07-11 21:50:07 -07:00
Patrice Chalin b0e0d94b5c docs: revert Jade to markdown
closes #1818
Previously, the markdown of some chapters was converted to Jade markup
to support the conditional exclusion of TS prose parts in Dart
chapters. This commit reverts some of that back to clean markdown,
thanks to a few custom directives.
2016-07-05 23:03:30 -07:00
Stephen Fox e766f666bd docs(http): Small typo fix in sentence reference to items: Observable
Ward tacked on router: ngDestroy -> ngOnDestroy
closes #1690
2016-07-05 20:55:03 -07:00
Patrice Chalin b049c1bcf4 chore(guide/server-communication): fix indentation in Jade 2016-06-28 12:52:47 -07:00
Foxandxss c2c6096bec docs(server-communication): fix anchor link
closes #1537
2016-05-28 09:38:26 -07:00
NFM 5a91b5442b docs(server-communication): Modify file name 'rxjs-operators'
Modify file name 'add-rxjs-operators.ts' to 'rxjs-operators.ts', according to real file name.
Ref: https://angular.io/resources/live-examples/server-communication/ts/plnkr.html
2016-05-20 22:52:44 -07:00
Patrice Chalin da48db3c77 docs(server-communication): cleanup, mainly for Dart (#1455)
- Dart code: fix issues raised by @thso during review.
- Dart code: remove "show x" clauses from imports.
- Dart add docsync config file.
- Prose: make consistent use of _Http variables; otherwise use "HTTP".
- Prose: add links to the demos list.

* _heroesUrl as static const
2016-05-20 17:14:37 -07:00
Patrice Chalin 6d2d52c588 docs(dart): cleanup 'live example' links (#1449)
This fixes various issues such as:
- missing space in Dart version between the live demo and demo source
links.
- Live example link directing to Plunker for Dart.

The main mixins (`liveExampleLink`*) used to support the generation of
links now assume reasonable default values for their arguments, and in
most cases the defaults are used.

* Dart example links: use http vs https

As agree to with @kwalrath.
2016-05-20 16:18:58 -07:00
Ward Bell 29511831cd docs(server-communication): heavily refactored (TS & Dart) 2016-05-19 02:48:43 -07:00
Ward Bell 594079970c docs(http): remove status 200 guard and add RxJS operators individually 2016-05-17 01:45:52 -07:00
Patrice Chalin c1440e7eff [review-pending] docs(dev guide): server-communication - new prose
New Dart prose, update Dart and Ts code

+ guide/server-communication/ts: update to docs and example code
+ guide/server-communication/dart: new prose, update example code
+ ignore all npm-debug.logs
+ make Jade ul li TOC elements more compact.
2016-05-13 21:32:54 +01:00
Foxandxss 039f54d9e2 docs(server-communication): fix broken example 2016-05-10 20:10:18 -07:00
Foxandxss 596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
Filipe Silva ebc022e475 docs: update prose for the `let` change to ngFor 2016-04-28 18:37:45 -07:00
Ward Bell 353abff084 docs(server-communication): fix http after testing chapter discoveries 2016-04-13 14:02:48 -07:00
Filipe Silva b5ea1d8f68 docs(lifecycle-hooks): add hook sections, revise sample, add DoCheck & tests 2016-03-16 01:52:11 -07:00
Josh Otis 746a6649b2 chore: new flat left navigation panel (all language tracks) 2016-03-03 04:51:52 -08:00
Andreas Wissel 99caf75d3d docs(http): fix typos, clarify endpoints and in-mem web api usage
closes #850

'until you've observables a chance' -> 'until you give observables a chance'
'method adds the the search box value' -> 'method adds the search box value'

Ward piggy backed the other updates.
2016-02-19 00:25:42 -08:00
Steve Schrab be5c3d96e4 docs: fix "work"->"word" typo in server-communication.jade
closes #841
2016-02-16 08:30:52 -08:00
Ward Bell 3d992384c3 chore(devguide/ts): to beta.6 + typings + related doc updates 2016-02-12 00:56:22 -08:00
John Papa 1365d82527 docs(tutorial): add part 5-routing 2016-02-08 11:01:29 -08:00
Ward Bell 16704e9063 docs(http): from Observable.create to Subject, per Rob W 2016-02-03 23:45:27 -08:00
Ward Bell 8960b6729f docs(http): refine observables story
closes #799
2016-02-02 15:04:48 -08:00
Ward Bell d8f8da2628 docs(http): heavily revise jsonp discussion 2016-02-02 02:27:52 -08:00
Ward Bell f2051d9cf6 docs(http): discuss headers for POST 2016-02-01 19:52:14 -08:00
Ward Bell 2976789794 docs(http): TOC at top of chapter
closes #796
2016-02-01 17:44:09 -08:00
Ward Bell b2b025aab7 docs(server): add `do` to peek at results in console 2016-02-01 16:57:31 -08:00