34 Commits

Author SHA1 Message Date
Patrice Chalin
a6478bcc9d docs(attribute-directives): minor updates incl. e2e fix (#3330)
- Prose: copyedits, including fix to misnamed directive class
(`MyHighlightDirective` --> `HighlightDirective`).
- E2E update to avoid warning of multiple matching elements.
- Code: remove obsolete template region.
- Remove obsolete Jade blocks (no longer required by Dart).
- Replace old Jade syntax with plain markdown.
- Remove a few unnecessary `:marked`.
2017-03-07 10:23:18 -08:00
Kapunahele Wong
dfd072f40e docs(attribute-directives): copy tweaks (#3284) 2017-02-20 18:05:10 -08:00
Kapunahele Wong
894ff63d36 docs(testing): tech edits (#3269) 2017-02-20 15:29:42 -08:00
DumpOfTheVar
223854fcd1 docs(attribute-directives): fix typo (#3193)
Change `Import` to `Input` which is used in the example
```
import { Directive, ElementRef, HostListener, Input } from '@angular/core';
```
2017-02-08 22:02:18 +01:00
Ward Bell
f24b830c8a docs(template-syntax/structural-directives): refresh both guides for style, accuracy, understanding (#3110)
Move details of structural directives from template-syntax to structural-directives guide
Add <ng-container> to structural-directives
Fix samples in both guides
Touch up glossary
Better conformance to google doc guidelines: we->you
closes #2303, #2885
2017-02-06 19:06:13 -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
c58317b885 docs(attribute-directives): remove "the the" 2016-12-19 20:22:38 -08:00
Ward Bell
dee9bd1f84 docs(attribute-directives): clarify @Input and aliasing (#3007) 2016-12-19 17:12:42 -08:00
Kapunahele Wong
4a536732bc docs(renderer): remove renderer (#2925) 2016-12-02 16:54:27 -08:00
Ward Bell
ec2e6cb2c7 [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:36:16 -08:00
Ward Bell
a7525721c0 Revert "[WIP] docs(quickstart): QuickStart reboot (#2762)"
This reverts commit 8ccc33e6ffacd7a0acdfc49aab2e6fdecf627fa9.
2016-11-21 17:29:00 -08:00
Ward Bell
8ccc33e6ff [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:13:21 -08:00
Kapunahele Wong
f49633a62c docs(attribute directives): copy edits squashed (#2508) 2016-10-13 15:42:23 -07:00
Jesús Rodríguez
9f0ff2e2a9 docs(attribute-directives): add Renderer to style elements
closes #2164
2016-08-24 23:47:41 -07:00
Peter Bacon Darwin
d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48: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
Patrice Chalin
e5b11d456c docs(guide/attribute-directives): follow-up to #1654 (#1765)
- Updated Dart code to match TS.
- Ran dartfmt.
- Enabled e2e tests; suites passed:
  - public/docs/_examples/attribute-directives/dart
  - public/docs/_examples/attribute-directives/ts
- Prose copyedits.
2016-06-28 13:15:51 -07:00
Foxandxss
074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02: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
Patrice Chalin
1c0218bc79 docs(dev guide): attribute-directives - move html excerpt to .html file (#1313)
Jade can’t parse inlined Angular adorned HTML properly, so it is best
to put such source in a file and include with `makeExample`.
2016-05-06 18:18:48 +01:00
Patrice Chalin
e958be24bf docs(dev guide): attribute-directives - updated dart/ts code and new dart prose
Mainly copyedits and prep for extension

+ example code cleanup & bug fix
+ fix bug in default color initialization
2016-05-06 15:42:01 +01:00
Foxandxss
596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Torgeir Helgevold
c1f2c397ff docs: add DI cookbook 2016-04-05 10:15:18 -07:00
Foxandxss
6ca1ac2c45 docs: instrucs for "download-and-go" development with quickstart source repo 2016-03-14 12:44:25 -07:00
Foxandxss
b300d7b116 docs: add quickstart repository where needed 2016-03-14 09:11:50 -07:00
Josh Otis
746a6649b2 chore: new flat left navigation panel (all language tracks) 2016-03-03 04:51:52 -08:00
Ward Bell
6e11cf6a1e docs(attribute directives/TS/Dart): remove Renderer; improve text
closes #757
2016-01-27 14:49:16 -08:00
Kion Stephen
7269d3481d docs(attribute-directives): small fixes.
closes #618
2016-01-03 15:39:17 -08:00
Ward Bell
f4acc0ccbc docs(tutorial): Part 3 improvements + input explanation
Updated Attribute Directives chapter with appendix on input properties
closes #576
2015-12-17 02:12:58 -08:00
John Oxley
912ed52f25 docs: Fixed minor typos in attribute-directives and user-input
closes #556

* user-input.jade
2015-12-16 18:42:48 -08:00
Filipe Silva
92f1690b73 docs(Structural Directives): new dev guide chapter
closes #499
2015-12-14 10:08:32 -08:00
Ward Bell
47d12c896f docs(attribute-directives): code shuffle & alpha52 update
closes #473
2015-12-12 09:29:17 -08:00
Ward Bell
4d1571254b docs(attribute-binding): bind to 2nd property, default-color 2015-12-03 12:44:26 -08:00
Deborah Kurata
c9ea1e52c1 docs(attribute-directive): new chapter + dev-guide chapter shuffle
closes #437
2015-12-02 19:01:27 -08:00