Commit Graph

443 Commits

Author SHA1 Message Date
Ben Nadel c9d405062d docs(cb-set-document-title): new "Set Title" cookbook chapter
closes #1069
2016-04-23 14:56:56 -07:00
Zhicheng Wang b86aa26da9 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/_includes/_main-nav.jade
#	public/_includes/_version-dropdown.jade
#	public/docs/_includes/_side-nav.jade
2016-04-23 15:13:58 +08:00
alexwolfe 165f6933a6 Fixed shifting content on page load
Fixed shifting content when going from page to page in docs.
2016-04-22 15:49:10 -07:00
Eric Jimenez 9787a9ffb8 docs(static methods): fix style of static methods in api doc. anchoring works now 2016-04-22 17:13:05 -04:00
Eric Jimenez baf84a48e8 docs(static methods): fix style of static methods in api doc. anchoring works now 2016-04-22 17:03:34 -04:00
Eric Jimenez b130056613 docs(sidenav): Restylize sidenav 2016-04-22 14:56:43 -04:00
Eric Jimenez c932eec801 docs(code color fix): restored old color for code in parts that are not the api doc, use the same styling for all links in entire site 2016-04-21 12:03:12 -04:00
Zhicheng Wang 41d9204727 Merge branch 'master' of github.com:angular/angular.io
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-21 22:48:35 +08:00
Eric Jimenez 3dd114d0df docs(class overview): list instance and static members with in-page hyperlinks. Also link constructor when present. Focus member on click. Badges look better in viewports of 600px or less 2016-04-20 13:14:18 -07:00
Zhicheng Wang b007e835db Merge branch 'master' of github.com:angular/angular.io
# Conflicts:
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-04-20 20:09:50 +08:00
dfsq a1678e5801 Align initial dropdown styles with .md-button styles.
Closes #963
2016-04-19 21:50:53 -07:00
Eric Jimenez c934fb704f docs(badges): add badges in hero to identify doc type to viewer, and stability. Stylize var.template for new api style docs. Add stable, experimental, docsNotRequired tagdef in dgeni 2016-04-19 20:49:48 -07:00
Zhicheng Wang c8041a0bf2 Merge branch 'master' of github.com:angular/angular.io
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-19 23:15:18 +08:00
Eric Jimenez 995229a44c override column layout in extra small screens, fixes issue with overlapping text in api docs with safari mobile. 2016-04-18 17:38:55 -07:00
Eric Jimenez cb0a4a7fe0 remove only the last white space in class export, not all 2016-04-18 15:33:24 -07:00
Zhicheng Wang b1b4d1f2ce merge from origin 2016-04-16 21:47:30 +08:00
Eric Jimenez 5ea7738ad3 change class and directive template. 2016-04-16 03:17:47 -07:00
Zhicheng Wang 5f56e08434 merge from origin/master 2016-04-14 13:49:09 +08:00
Ward Bell 353abff084 docs(server-communication): fix http after testing chapter discoveries 2016-04-13 14:02:48 -07:00
Zhicheng Wang 84e96391ca 完成了导航菜单
完成了部分公共页面
完成了部分教程
2016-04-13 08:53:17 +08:00
Foxandxss 2b35ddf1c3 chore(bio): add Jesus' bio
closes #992
2016-04-11 21:47:04 -07:00
Ward Bell eae36f1040 chore: resize Deborah K's photo to 240 x 208 2016-04-11 21:19:32 -07:00
Filipe Silva 803414ae80 docs(testing): update testing to use toh-5
closes #1003
2016-04-05 10:39:19 -07:00
Torgeir Helgevold c1f2c397ff docs: add DI cookbook 2016-04-05 10:15:18 -07:00
Deborah Kurata 28c5dbdbf4 chore(bio): add Deborah's bio
closes #1024
2016-04-02 14:11:03 -07:00
Ward Bell 17765a31ba docs(toh): add missing nav path to diagram per #1041 2016-04-02 13:55:14 -07:00
joeeames 5b27178083 docs(pipes) clarify impure pipes; explain missing filter/orderBy pipes
adds flying-heroes example and its test
adds random-pipe example
2016-03-23 00:02:04 -07:00
Mohammed Zama Khan 32fce431f0 chore: fix image width problem on mobile (iPhone) devices w/ CSS - img {max-width:100%}
closes #985, #801
2016-03-19 12:08:09 -07:00
Aliaksandr Astashenkau fce3e37530 Stop page flickering on API search page.
Show/hide sections and items instead of filtering and reapplying section/items array, so instead of hiding everything and rerendeing filtered (causes flickering), show/hide items that match/doesn't match.

Closes #965
2016-03-18 19:29:36 -07:00
Torgeir Helgevold dc00a9fb1a docs(cb-dynamic-form): Converted divs to labels in form 2016-03-17 20:43:39 -07:00
Naomi Black 4bc8ffaf58 chore(image-size): fix the size of topheri and ward's bio images 2016-03-16 21:52:08 -07:00
Naomi Black 87a7dfe035 chore(bios): remove inactive team members 2016-03-16 21:23:52 -07:00
Torgeir Helgevold db7fba867c docs(cb-dynamic-form): new cookbook on dyn form gen with NgFormModel 2016-03-16 04:14:31 -07:00
Filipe Silva b5ea1d8f68 docs(lifecycle-hooks): add hook sections, revise sample, add DoCheck & tests 2016-03-16 01:52:11 -07:00
Tero Parviainen fb5532510c chore(bio): add Tero's bio
closes #959
2016-03-14 12:49:11 -07:00
Foxandxss 6ca1ac2c45 docs: instrucs for "download-and-go" development with quickstart source repo 2016-03-14 12:44:25 -07:00
Aliaksandr Astashenkau d1b69f946d Add ngModelOptions debounce to API search input.
closes #947
2016-03-11 17:26:22 -08:00
Filipe Silva e42341c9e7 chore(bio): add Filipe's bio
closes #949
2016-03-11 11:33:33 -08:00
Naomi Black 3f89c79a57 api(css): fix the three-column wrap 2016-03-09 13:49:41 -08:00
Peter Bacon Darwin fb0577d742 style(code-example): remove unwanted comment
Thanks to @chliebel for pointing this out.

Closes #906
2016-03-09 09:01:33 +00:00
Ward Bell 2cfa6f3eef chore: fix copy-button / aside overlap #744 2016-03-08 19:38:55 -08:00
Kevin Kelly 81770aee6b fix(directives): set copy directive z-index 1
closes #769
2016-03-08 15:20:22 -08:00
Hans Larsen 891faa79c8 chore(bio): Adding Hans' bio. 2016-03-07 15:50:15 -08:00
Ward Bell 513e919be5 docs(comp comm cookbook): add #localvar alternative for parent calling child
also fixes glossary decorator-flag bug
2016-03-07 14:12:48 -08:00
Josh Otis 746a6649b2 chore: new flat left navigation panel (all language tracks) 2016-03-03 04:51:52 -08:00
Ben Cooper 7ac460003d Added reddit logo (240px) 2016-03-02 15:38:28 -08:00
Naomi Black aac7b43ba0 banner(angularattack): add homepage promo for angular attack 2016-03-02 14:54:15 -08:00
Naomi Black d52c72a73a chore(news): update posts and add twitter feed 2016-02-29 22:51:57 -08:00
Ward Bell c3ce451637 docs(router): replace princess w/ procrastination; update images 2016-02-28 17:59:57 -08:00
Ward Bell 12500ebc29 docs(router): fix plunker preview image; move plunker link to top 2016-02-28 13:55:37 -08:00
Ward Bell d59b05adde docs(quickstart): quickstart revised with verbose mode toggle button 2016-02-28 13:10:15 -08:00
Novak Istvan daae4f1429 docs(cookbook/component-communication): first of the cookbook series
closes #824
2016-02-21 23:19:40 -08:00
Ward Bell 157d6d48cc docs(template syntax): improvements based on review feedback Feb 16
closes #851
2016-02-19 00:38:17 -08:00
Chuck Jazdzewski f07ca644a6 chore(bios): Added ChuckJ's bio 2016-02-19 00:33:17 -08:00
Kathy Walrath 4d9daf3493 docs(dependency-injection): copy edit the TypeScript version
Also fix print style

closes #826
2016-02-18 14:59:30 -08:00
Ward Bell ee5a4e131a docs(template-syntax): add TOC, NgSwitch, and NgForTrackBy - TS/Dart 2016-02-16 11:03:02 -08:00
John Papa 1365d82527 docs(tutorial): add part 5-routing 2016-02-08 11:01:29 -08:00
Robert Messerle 73dad5d53d fixes spacing on Angular logo 2016-02-01 12:28:23 -08:00
Naomi Black bcd6463dc0 chore(css): trim the banner and hero height 2016-02-01 12:28:23 -08:00
Ward Bell e258e0f346 docs(template-syntax): minor tweaks to improve text
closes #775
2016-01-28 19:09:09 -08:00
Kathy Walrath dd0d822cbc docs(guide/template-syntax): copy edit TypeScript version
Also update some samples. This PR replaces #734 & #756.
2016-01-28 18:31:01 -08:00
Robert Messerle 67ffe7948b fixes positioning on main nav buttons 2016-01-28 08:29:37 -08:00
Christoph Burgdorf 77db0755c8 docs(guide/server-communication): adds http chapter
closes #662
2016-01-25 23:28:36 -08:00
Maxim Salnikov ed08504fd4 Mobile view fixed
Fixed bottom margin for news card and abstract/author collision in mobile view
2016-01-22 18:57:22 -08:00
Nathan Walker 6be9523c2a docs(landing): media query for mobile to fix formatting with flex style 2016-01-22 18:49:50 -08:00
Peter Bacon Darwin cd78ee0223 docs(_code.scss): ensure code wraps correctly
Closes #726
2016-01-22 10:46:55 +00:00
Peter Bacon Darwin af2e8001e5 feat(app): add and use `copy-button` and `copy-container` directives
Closes #728 and issue #720

This change let's users click on a button to automatically copy a code
block to the clipboard to make it easier to follow the guides and tutorials.
2016-01-21 22:38:19 -08:00
Kathy Walrath cca9d5a1c5 docs(user-guide): update Dart text to match new TS text
also update the Dart sample a bit

closes #677
2016-01-19 10:20:17 -08:00
Kathy Walrath 1fc7df82b5 docs: Fix print styles
closes #665
2016-01-17 21:09:55 -08:00
Kara Erickson ff5f21fc74 chore(bios): add kara's bio and pic 2016-01-14 00:12:32 -08:00
Naomi Black 920b442734 chore(news): update news content 2016-01-13 12:32:34 -08:00
Teresa 7441f16f85 Added placeholder content to News page 2016-01-13 11:02:34 -08:00
Teresa 752465c57d Added content to Support page 2016-01-13 11:02:34 -08:00
Naomi Black d22706b202 chore(doc-gen): use @ for symbol on annotations 2016-01-10 21:25:59 -08:00
Peter Bacon Darwin c94ad87dd4 chore(doc-gen): add createDecoratorDocs processor
The createDecoratorDocs processor identifies docs of exports that actually
represent decorators and get useful information for them.

This commit also set up the rest of the generation to display these new
decorator docs with their own template and updates the API list so that
we can filter the docs by decorator docType.
2016-01-10 21:16:47 -08:00
Nadi 9f80a27bad #610: style: fix border radius for code snippets without a header 2016-01-10 21:15:49 -08:00
Teresa 9895595869 Added print styles, hide sidebar in print view 2016-01-08 17:51:43 -08:00
Tero Parviainen 441a6bd698 docs(upgrade) extend upgrade guide with UpgradeAdapter and preparation coverage
closes #629

Also make minor improvements into the PhoneCat tutorial
2016-01-03 15:50:22 -08:00
Ward Bell af458737be docs(router): add query params milestone
Additional fixes suggested by recent issues.
closes #637
2016-01-03 15:25:10 -08:00
Martin Probst 34122f4d92 feat: update to a more recent profile picture for Martin Probst. 2015-12-30 12:08:36 +01:00
John Papa f4c69b6ad0 docs(tutorial): update css and related fixes
closes #603
2015-12-23 09:36:16 -08:00
Naomi Black 34b6529a0d chore(graphics): new images for the guides 2015-12-21 06:28:47 -08:00
Ward Bell 199bf26b0f docs: glossary and arch fixes; misko influenced
closes #551
2015-12-15 21:23:17 -08:00
Naomi Black 3351f0758b chore(images): hide images that need update, add new ones 2015-12-15 19:44:59 -08:00
Robert Messerle 93adcbdf67 adds `all` button to api preview filter 2015-12-15 14:43:33 -08:00
Robert Messerle 1c301160d0 fixes filetree styles to support directories as the last item 2015-12-15 11:47:31 -08:00
Robert Messerle 64f63167de adds retina display support for hero background
updates logo to include 2.0 beta text
updates hero background image
2015-12-15 11:40:02 -08:00
Ward Bell 0c1d7ca3cb docs(router): new chapter
Ward and Jeremy
Todo: EXCLUDE Old router doc for reference while re-writing
2015-12-15 11:35:11 -08:00
Peter Bacon Darwin 452e7e7729 chore(doc-gen): automatically update environment and version on the cheatsheet
Closes #515
2015-12-15 09:51:52 -08:00
Robert Messerle f93bc28b62 adds non-ascii file tree view 2015-12-15 02:10:02 -08:00
Robert Messerle c84febaa7a adds max-width to content areas 2015-12-15 01:02:41 -08:00
Robert Messerle f95ab4707c adds contrast to code highlighting colors 2015-12-15 01:02:41 -08:00
Robert Messerle d52d828bb6 adds `ng-cloak` across site
switches to minified version of angular
2015-12-15 01:02:41 -08:00
Robert Messerle 068771228a removes first demo
changes text from `how we roll` to `up next`
changes font size for code blocks from `15px` to `13px`
changes links from `edit on plunker` to `try in plunker`
re-orders tabs in code samples
2015-12-14 22:57:53 -08:00
Peter Bacon Darwin 445e17a4a7 feat(api-list): sync filters with URL query
This allows us to recover the filtering state when navigating back and
forth between the API list and individual API pages.

Closes #490
Closes #497
Closes #507
2015-12-14 22:00:12 -08:00
Robert Messerle cc6f9ee33f Adds more contrast to code block headers 2015-12-14 21:09:17 -08:00
Robert Messerle e8644676ae Corrects the vertical alignment of the Feedback button in `main-nav` 2015-12-14 21:09:17 -08:00
John Papa ab5390a51e docs(tutorial): combines all 4 sections + revisions/updates to a.53, hides 3&4
closes #488

ToH History (oldest-to-latest):
----------------------------
created code example/snippets files for use with +makeExample, replace usage of  "pre.prettyprint.lang-bash" with this:  code-example(format="." language="bash").
fixed spelling errors in examples file path used by +makeExample
changed usage of "code-example" to "+makeExample"
adding code example/snippets files used in toh 1
fixed example file paths, replaced "pre.prettyprint.lang-bash" with "code-example. "
(docs) toh-pt3 initial state
created code examples for display in jade, starting conversion of Google doc and trying +makeExample rendering
all text copied from doc to jade, still some styling and formatting to perform
completed conversion and styling, moved toh3 example files to "tutorial" folder under _examples
created specific code example files for chapter toh 3 and re-pathed references in +makeExample
minor edit
docs) toh combined - initial combined commit
updated ToH for a.52
tons of changes, including de-kebab-ing, removed src folder, updated tsconfig too
fixing snippets using incorrect ending input tag
using inline html and css for the app.component.
ToH Part 1 Code: updated the imports, removed obsolete directive delcarations
ToH Code Part 1: updated to use imports, interface. will hit others soon
toh part 1: ngModel fix
toh part1: removed obsolete story that referred to how we used to have to import and declare all directives we used. yay!
ToH Part 1: updated to use `boot.ts` and `app.component.ts`. this affected the partials, snippets, and the story.
toh part 1: using `npm run go`
toh parts 1 -4: modified all places to use `npm run go`
toh part 1: refactor for jade
toh part 1: fixing the code samples
toh part 2: seeping through the story
toh part 2: fixing snippets.
toh part 2: replaced ngClass with class.selected
toh part 2: removed whitespace
toh part 2: added final state to the code
toh: fixing paths
toh part 4: fixing src/app path to app
toh part 3: fixing folder path
toh part 2: fixed typo
toh part 2: typo on ngModel
toh part 2: added ngif
toh part 2: removed old hero property. moved the details lower, where we need it
toh index: updated hero list image to show consistent styling as the other images here
QS spelling error (targes -> targets)
tweeks: space and ngIF
2015-12-14 19:57:55 -08:00
Peter Bacon Darwin afcf31d34d feat(api-list): also filter by module title
Closes #433
2015-12-14 18:10:19 -08:00
Teresa 57be3718b4 Fixing one last code block style 2015-12-14 17:41:08 -08:00
Teresa 1c43276562 Updated code block styles 2015-12-14 17:41:08 -08:00
Filipe Silva 92f1690b73 docs(Structural Directives): new dev guide chapter
closes #499
2015-12-14 10:08:32 -08:00
Filipe Silva 92574937f3 docs(forms): add js guide
closes #500
2015-12-14 10:04:59 -08:00
Peter Bacon Darwin a6ca213866 fix(app): ensure headings are visible when navigating to in-page anchors
Closes #477
2015-12-14 10:15:19 +00:00
Ward Bell 31051d29f0 docs(user input): sample shuffle, revisions. alpha.53
closes #492
2015-12-13 18:53:25 -08:00
Ward Bell b2b4d3b8c9 docs(pipes): sample shuffle, refactor, alpha.53
closes #487
2015-12-13 00:57:14 -08:00
Ward Bell 393987bdf5 docs: split intro into separate chapters, shuffle code, update to alph52
closes #483
A major refactoring of the intro chapters includes text revision
and the addition of "module" as an 8th "basic building block".
Incorporates John Papa feedback.
2015-12-12 09:46:07 -08:00
Ward Bell 4084a725fd docs(forms): code shuffle, text, & alpha52 updates
closes #478
2015-12-12 09:39:01 -08:00
Ward Bell d33a381a6c docs(displaying-data): code shuffle & alpha52 update
closes #474
2015-12-12 09:31:25 -08:00
Peter Bacon Darwin 05a272a116 refact(docs-app): move filtered API list into a directive
Each API index page now displays data from an `api-list.json` file found
locally to that page. This lets us have different API lists for TS, JS
and Dart.
2015-12-10 21:35:02 -08:00
Peter Bacon Darwin b298b9c1af refactor(docs-app): move `bold` directive out of the app controller file 2015-12-10 21:35:02 -08:00
Naomi Black f7b6d83422 docs(dgeni): add in missing barrel files
closes #465
2015-12-09 14:49:35 -08:00
Naomi Black ee5da936da feature(feedback): add feedback API call to the site 2015-12-09 13:05:45 -08:00
Peter Bacon Darwin 8459a4dd5c chore(doc-gen): allow dart cheatsheet to be generated 2015-12-08 17:31:53 -08:00
Naomi Black 27d5a3b0a8 chore(social): remove social icons from site 2015-12-08 17:08:06 -08:00
Ward Bell c33ee37144 docs(template-syntax): drive jade from sample
closes #456
2015-12-08 10:08:06 -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
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 f7b2913231 (docs) devguide forms improved by looking at DART version
closes #425
2015-11-30 20:52:19 -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
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
Sahar Jafari 389fb1aa79 hide the social icons for print
closes #210
2015-11-14 00:01:14 -08:00
Topher Fangio e66aaa696e docs(harp): add bio for Topher Fangio
Closes #363
2015-11-13 16:46:57 +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 5be67b7212 (docs) toh - add animated gif of app in action 2015-11-07 23:54:46 -08:00
Ward Bell 33a3dba37e (docs) devguide pipes: add example code and display it 2015-11-07 23:04:49 -08:00
Ward Bell 2b4b028d73 Add animated gifs to demo the code 2015-11-07 22:47:19 -08:00
Peter Bacon Darwin 8199aeffdc heading-code-scss: fix background color 2015-11-04 11:20:47 +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 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
Ward Bell c0e6ccc782 (docs) tutorial index fixes 2015-10-31 21:51:35 -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 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
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 963f67ea07 (docs) forms - code maintained by _examples
Includes template-syntax.jade clarification on attributes v properties
2015-10-27 15:11:25 -07:00
Ward Bell f10a2e906a (docs) Forms new page and images 2015-10-27 15:11:25 -07:00
Ward Bell 021819d1c1 (docs) DI - updated injector-tree image
See issue on commit:d2706ca
2015-10-27 14:52:10 -07:00
Naomi Black 448da4655a Code and gulp integration for task to zip folders based on zipconfig.json files. 2015-10-27 09:40:50 -07:00
Jay Traband 9500a123f5 Work on zipping folders based on zipconfig.json files. Also involves refactoring of doc-shredder. 2015-10-27 09:35:37 -07:00