Commit Graph

752 Commits

Author SHA1 Message Date
Deborah Kurata c9ea1e52c1 docs(attribute-directive): new chapter + dev-guide chapter shuffle
closes #437
2015-12-02 19:01:27 -08:00
Peter Bacon Darwin eb37614d68 chore(doc-gen): update modules to include API docs
The public exported modules have been reorganized
2015-12-01 20:43:20 -08:00
Peter Bacon Darwin 7fb34523ae chore(docs-app): add `code` directive to prevent unwanted compilation 2015-12-01 09:44:33 -08:00
Ward Bell e00b024e95 docs(intro): update databinding image as Felipe suggests
closes #428
2015-12-01 01:44:34 -08:00
Jay Traband 46ac6bdaa9 Fix for makeExample styling without linenumbers losing scrollbar + default handling of makeExamples with only one line
closes #427
2015-12-01 00:24:21 -08:00
Ward Bell 83fab41666 (docs) fix plunker for Intro; minor Forms tweaks
closes #426
2015-11-30 21:24:19 -08:00
Jay Traband b06f2dcec6 (fix) plunker generation fixes
closes #424
plnkr - change plnkr.config -> plnkr.json and change output paths and names
update jade plunkers to new 'resources/live-examples' path + minor cleanup
update gulpfile to run build-plunkers as part of build-docs.
2015-11-30 21:00:02 -08:00
Ward Bell f7b2913231 (docs) devguide forms improved by looking at DART version
closes #425
2015-11-30 20:52:19 -08:00
Brady Potaczek 347c79c514 docs: dependency-injection.jade
Fix absolute path to relative path
closes #419
2015-11-30 16:11:56 -08:00
Ward Bell 0d46bce291 (chore) devguide template-syntax - fix broken links
closes #422
2015-11-30 15:58:36 -08:00
Ward Bell c8be003781 (docs) devguide intro - fix typos and infelicities
closes #420
2015-11-30 14:55:54 -08:00
Ward Bell e6e8cca9ef (docs) DevGuide Introduction
incorporates Pascal & Felipe suggestions
includes running sample code for the architecture overview
closes #417
2015-11-30 12:54:16 -08:00
Christoph Burgdorf 4dffc41f3e docs(hierarchical-injectors): use real example code
closes #406

With this change the chapter doesn't use inline
code anymore but instead uses proper runnable
example code.
2015-11-25 20:04:00 -08:00
Pascal Precht 6be22a0835 docs(resources): adds resources by thoughtram to public/docs/js/latest/resources.jade
closes #158

These articles are kept constantly up-to-date
2015-11-25 19:59:51 -08:00
Earl St Sauver 007b4438a0 docs: Remove elvis operator from example where it didn't belong
closes #405

In the documentation, this section is discussing alternatives to
the elvis operator. This particular section is supposed to be
showing an alternative work around to the elvis operator, so
this error is especially confusing.
2015-11-25 19:48:06 -08:00
Ward Bell 758821c775 (docs) plunkers for template-syntax & pipes
closes #410
2015-11-25 17:54:28 -08:00
Jay Traband 4bbd9784ef dev-tooling: add plunker generation from _examples
closes #408, Dev Tooling 15
2015-11-25 12:23:14 -08:00
Ward Bell 643a5bbf63 (docs) template-syntax - fix - ng-switch should be <h3>
closes #404
2015-11-24 13:14:01 -08:00
Ward Bell 05caaf987e (docs) glossary - add alphabet links & "Lifecycle Hooks" 2015-11-24 11:56:42 -08:00
Oskari Okko Ojala 412d3b5e59 Fix: error "mkdir: src: No such file or directory" in OS/X and Linux.
Changes OS/X Linux command to `mkdir -p src/app`
closes #400
2015-11-23 17:12:55 -08:00
Earl St Sauver 206ce3373d docs: Change label of case to 'kebab' for attrs
closes #399

The docs refer to `this-style-of-casing` as snake case, but it's
actually "kebab case." Snake case looks `like_this_instead`.

https://en.wikipedia.org/wiki/Letter_case#Special_case_styles
2015-11-23 17:09:21 -08:00
Mithun Patel 4b4582cb17 Fix typos in Forms & DI chapters; add links in testing docs
closes #398
2015-11-23 17:03:06 -08:00
Mithun Patel 0ddd70a6e1 closes #395 2015-11-23 16:47:06 -08:00
johnapost 2843cf2d5d docs: fix dead links in toh-p1; closes #393 2015-11-23 16:39:42 -08:00
Josh Leeb-du Toit 740c2a3157 docs: remove repeated 'class'; closes #388
Remove repeated 'class' from component explanation to improve grammer
and readability of the documentation.
2015-11-23 16:33:14 -08:00
johnapost 880f72639f Pluralize 'field' and add missing 'the' in Quickstart
closes #387
2015-11-23 16:29:27 -08:00
Arliang 8a4861c26a (docs): toh - fix typo; closes #385 2015-11-23 16:24:04 -08:00
jennyraj e6e66e1d2c Typo fixed. Closes #384 2015-11-23 16:20:42 -08:00
jennyraj 5f9ad5552d Typo fixed. Closes #383 2015-11-23 16:18:01 -08:00
Philip Steinebrunner 54b3634923 docs(dependency-injection.jade): remove word duplicate
closes #382
2015-11-17 10:16:52 -08:00
Peter Bacon Darwin 248f4c91a5 refact(app): use recommended `controller as` syntax
Updated site controllers and directives to use controller as syntax

Closes #84
Closes #135
2015-11-17 09:52:12 +00:00
Tom Ingebretsen c46892afa9 docs(samples): add Dart version of forms example
closes #350
2015-11-16 13:12:34 -08:00
Tom Ingebretsen 28386efb50 docs(samples): add Dart version of pipes example
closes #365
2015-11-16 12:56:53 -08:00
Cory Bateman dbb065a7ed refact(app): use recommended `controller as` syntax
Updated site controllers and directives to use controller as syntax

Closes #84
Closes #135
2015-11-15 20:52:35 +00:00
Peter Bacon Darwin 0b2db81ac0 chore(gitignore): ignore the generated web app json files 2015-11-14 12:53:20 -08:00
Ward Bell a3042849c0 (docs) Tour of Heroes - part 1 & 2. Fix links and make them uniform.
closes #375 and #376
2015-11-14 00:28:59 -08:00
Sahar Jafari 389fb1aa79 hide the social icons for print
closes #210
2015-11-14 00:01:14 -08:00
Ward Bell e7a9a46994 (docs) template-syntax - to alpha46, noImplicitAny, demo enum binding
closes #374
2015-11-13 18:53:25 -08:00
Mark Rajcok 54573563a3 Add missing import of Injectable to DI guide
closes #373
2015-11-13 18:16:56 -08:00
Wassim Chegham 85195742bc docs(*): fix plunkr URL
closes #298
2015-11-13 17:58:06 -08:00
Topher Fangio e66aaa696e docs(harp): add bio for Topher Fangio
Closes #363
2015-11-13 16:46:57 +00:00
Ward Bell b82e229ade (docs) displaying-data: use npm, not cdn (oops) and upgraded to alpha46
Also no line numbers for single-line examples.
2015-11-12 15:25:42 -08:00
Tapas Jena 175a5e4d87 @View decorator removed to be consistent with other examples available in angular.io site 2015-11-12 12:46:45 -08:00
Wassim Chegham 8cccad42c3 docs(api): fix typos. remove extra 'the' 2015-11-12 12:38:09 -08:00
Kathy Walrath ed89c209a9 Merge pull request #362 from tomplusplus/alpha-45-Dart-update
Dart update to alpha.45
2015-11-12 10:29:56 -08:00
Tom Ingebretsen d827d785ff Updated Dart quickstart and guide examples to angular2 version alpha.45
Updated Dart quickstart and guide examples to angular2 version alpha.45
2015-11-11 14:24:30 -07:00
Peter Bacon Darwin 1372a78fed docs(guide/di): fix weird character that broke jade 2015-11-11 11:23:11 +00:00
Peter Bacon Darwin e86fde8dc9 chore(jade): upgrade to use `marked` filter
The `Transformers.markdown` (`:markdown`) filter is deprecated. This commit updates
the entire docs project to use the `jstransformer-marked` (`:marked') filter.
2015-11-10 18:37:53 +00:00
Peter Bacon Darwin 096e5f081b api-web-app: update `cheatsheet.json` from latest angular2 code 2015-11-10 11:37:06 +00:00
Peter Bacon Darwin 666fad1906 api-web-app: update `app-data.json` from latest angular2 code 2015-11-10 11:37:05 +00:00
Peter Bacon Darwin 131cdb7765 api-web-app: convert to using dynamically generated cheatsheet data
Closes #348
2015-11-10 11:37:05 +00:00
Peter Bacon Darwin 66a7edd8cb api-builder: add cheatsheet-package to generate cheatsheet data
Closes #348
2015-11-10 11:37:05 +00:00
Ward Bell bc7d3241c8 (docs) template-syntax fix typo
closes #354
2015-11-08 11:03:37 -08:00
Ward Bell faf0057d3a (docs) forms: fill gaps in the instructions that make this a complete sample (including app.ts) 2015-11-08 00:00:07 -08:00
Ward Bell 5be67b7212 (docs) toh - add animated gif of app in action 2015-11-07 23:54:46 -08:00
Leigh Zhu b7b33f8e29 Fixed ng-for typo && fix param in addTodo() 2015-11-07 23:42:12 -08:00
Ward Bell 551f35bed3 (docs) Remove all mentions of quickstart-old across examples and languages (PR 355) 2015-11-07 23:37:08 -08:00
mychaelgo 48fc5b931b docs: fix typo 2015-11-07 23:35:27 -08:00
Filipe Silva 7c84520c71 docs(quickstart-ts): add note about ES6 shim 2015-11-07 23:33:39 -08:00
Victor Berchet 5828f4de79 doc(template syntax): Short-circuiting is now supported
see https://github.com/angular/angular/pull/5146
2015-11-07 23:31:21 -08:00
Filipe Silva 7676a5c101 docs(styleguide): fix minor typos 2015-11-07 23:28:55 -08:00
Tim Ruffles 3801b11d14 [docs] Angular 2 isn't ES6, it's TypeScript 2015-11-07 23:11:46 -08:00
Ward Bell 33a3dba37e (docs) devguide pipes: add example code and display it 2015-11-07 23:04:49 -08:00
Shai Reznik 9b1f2f8239 docs(dependency-injection.jade): fix a typo 2015-11-07 22:59:07 -08:00
Ward Bell 2b4b028d73 Add animated gifs to demo the code 2015-11-07 22:47:19 -08:00
Peter Bacon Darwin 9a6fa4b4c5 js-api-docs: update `index.jade` use new dynamic API list data 2015-11-06 22:05:14 +00:00
Peter Bacon Darwin 8199aeffdc heading-code-scss: fix background color 2015-11-04 11:20:47 +00:00
Peter Bacon Darwin 83fbe75980 refact(api-builder): move into `tools` folder 2015-11-04 11:20:46 +00:00
Peter Bacon Darwin ce298009e6 refact(doc-shredder): move into `tools` folder 2015-11-04 10:47:05 +00:00
Peter Bacon Darwin a06b98ba75 refact(example-zipper): move into `tools` folder 2015-11-04 10:00:12 +00:00
Peter Bacon Darwin 26320160f9 api-templates: only show directive inputs/outputs if there are some 2015-11-03 23:39:11 +00:00
Peter Bacon Darwin b5744c813a api-index: generate index page API list dynamically
Dgeni now generates a JSON file that is loaded by the AppController into
the index page for the API docs.
2015-11-03 16:41:38 +00:00
Peter Bacon Darwin 62adb91544 api-templates: separate out selectors into a list 2015-11-03 14:43:51 +00:00
Peter Bacon Darwin 8ec5b2bb83 api-index: fix urls to directive API docs 2015-11-03 14:40:22 +00:00
Peter Bacon Darwin e0f5261d3b api-templates: extract and render directive info distinct from classes
Closes #221
2015-11-03 14:18:49 +00:00
Peter Bacon Darwin b176f42302 api-templates: display name and type of class-ish docs at top of content 2015-11-03 12:33:35 +00:00
Peter Bacon Darwin 0292deece1 api-templates: display members as simple formatted code
See https://github.com/angular/angular/issues/4258
2015-11-03 12:33:34 +00:00
Peter Bacon Darwin 3fedcc9525 api-templates: don't show annotations block in classes if there is an empty list
Previously the block would be hidden only if the annotations property was
falsy, now it is also hidden if the property is also an empty array
2015-11-03 12:33:34 +00:00
Peter Bacon Darwin ca5553e4eb api-templates: include type in heading of var-type docs 2015-11-03 12:33:34 +00:00
Peter Bacon Darwin d404a7d2cf docs-package: don't initialize the `readFilesProcessor`
The current setup for angular.io does not use the `readFilesProcessor`
so the `docs-package` doesn't need to configure it.

(For example, all the guide docs are written in straight Jade and are not
processed by dgeni).

In fact the `angular.io-package` explicitly disables this processor.

Given this, setting the basePath for the `readFilesProcessor` in the
`angular.io-package` is not really a hack, since we do need it for the
`writeFilesProcessor`.
2015-11-03 12:33:34 +00:00
Ward Bell c0e6ccc782 (docs) tutorial index fixes 2015-10-31 21:51:35 -07:00
Leandro Diniz 8aec99d4bd fix Displaying Data heroes name array 2015-10-31 21:48:35 -07:00
Simon Kuang d9b51cea0c fix spelling errors under case sensitive environment like linux 2015-10-31 21:47:43 -07:00
Jesús Rodríguez Rodríguez 57eb9245b9 Fix jasmine-core paths in jasmine-testing-101
If you want to use `jasmine-core` instead of `jasmine`, the paths are different.
2015-10-31 19:37:03 -07:00
Scott Hatcher 7165886a87 Remove unnecessary closing anchor tag. 2015-10-31 19:34:02 -07:00
Scott Hatcher c1b6e3e335 Update sentence verbiage. 2015-10-31 19:34:02 -07:00
Ward Bell c4416cfb2c (docs) User Input - refactored to its own example and support blur event 2015-10-31 19:30:21 -07:00
Ward Bell dd0d44eb93 (docs) devguide - update user-input jade to use template-syntax example code 2015-10-31 19:30:21 -07:00
Ward Bell acdc9b5f7b (docs) devguide add template-syntax example 2015-10-31 19:30:21 -07:00
Naomi Black 92563e612a docs(glossary): fix broken link 2015-10-31 19:29:02 -07:00
Ward Bell 9963a0e027 (docs) devguide glossary - suggestions in comments to PR 280 2015-10-31 19:25:58 -07:00
Ward Bell 4a00fbe21a (docs) Displaying Data: remove unnecessary region split in app.1.ts 2015-10-31 19:22:50 -07:00
Ward Bell f26c8a13a9 (docs)do not commit zip file in ../resources/zips 2015-10-31 19:22:05 -07:00
John Papa e47c040346 fixed image 2015-10-31 19:14:46 -07:00
John Papa 202ecb1a54 removed </a> mistake 2015-10-31 19:14:46 -07:00
Peter Bacon Darwin d270920fe4 chore(package.json): update to dgeni-packages 0.11.0
This version includes the start-end inline tags that will help use to be able
to target blocks of text to different sets of documentation.
2015-10-31 20:51:32 +00:00
Naomi Black d0b9d43377 correct typo in cheatsheet
closes #314
2015-10-27 20:37:14 -07:00
Ward Bell 080c86eab2 (docs) devguide-displaying-data ready for publication, based on _examples 2015-10-27 15:15:21 -07:00
Ward Bell 17ec689397 (docs) devguide-displaying-data: created new page and styled text, as a workaround in one sentence I placed spaces between double curlies {{ }} to render without breaking jade 2015-10-27 15:15:21 -07:00
Ward Bell 359904d0d0 (docs) devguide dependency injection: correct provider terminology in chapter and glossary 2015-10-27 15:11:47 -07:00