Commit Graph

69 Commits

Author SHA1 Message Date
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
Aliaksandr Astashenkau d1b69f946d Add ngModelOptions debounce to API search input.
closes #947
2016-03-11 17:26:22 -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
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
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
Robert Messerle 93adcbdf67 adds `all` button to api preview filter 2015-12-15 14:43:33 -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
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
Peter Bacon Darwin afcf31d34d feat(api-list): also filter by module title
Closes #433
2015-12-14 18:10:19 -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
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
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
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
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
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
Naomi Black d0b9d43377 correct typo in cheatsheet
closes #314
2015-10-27 20:37:14 -07:00
Naomi Black 0dc3d2018e chore(api-list): another typo in the json 2015-10-19 22:51:27 +01:00
Naomi Black 92e6c0c015 chore(api): fix bad class type on AppViewManager 2015-10-19 15:26:29 +01:00
Naomi Black b32e57baa7 docs(api defs): fix API definition typo 2015-10-19 14:49:32 +01:00
Robert Messerle 95b1efc3c7 wip: adding cheatsheet 2015-10-18 22:19:52 +01:00
Naomi Black cdec7d1605 api(map): fixing links in the filtered list, removing left nav 2015-10-15 23:57:15 -07:00
Naomi Black f0bdd09ccb api(map): update list of api entries per alpha-44 2015-10-15 22:54:17 -07:00
Robert Messerle 580b5b198b adds filterable API list 2015-10-15 16:13:45 -07:00
Jacob Müller 45d136e327 fix(index): display code example corretly
This commit fixes the displaying of the „name“ template variable (see
screenshot below) in the code example on the front page.

https://goo.gl/qcLf5X
2015-07-01 16:07:41 -07:00
Jacob Müller 1315b75787 fix(bio): fix dialog bug #132
See [this][https://github.com/angular/material/issues/1531] for more detailed information.
2015-06-07 14:23:30 +02:00
Alex Wolfe b707aed54b merge with master and updates to code box directives 2015-05-19 06:33:09 -07:00
Alex Wolfe 799a16c5c5 update to code examples 2015-05-18 06:41:26 -07:00
Alex Wolfe a85af9e15e Update bio card directive, code cleanup 2015-05-05 09:56:18 -07:00
Alex Wolfe 0d27464c7a linenums 2015-05-03 20:29:54 -07:00
Alex Wolfe 4210541f24 use one layout, update logic, add prettify to api code tags 2015-05-03 20:28:21 -07:00
Alex Wolfe 3b08583342 spacing 2015-05-03 19:10:10 -07:00
Alex Wolfe a5f3214e97 Code examples, now escape html, full directives 2015-05-03 19:09:25 -07:00
Alex Wolfe b9386de4f3 code tabs, and code example directive 2015-05-02 15:34:16 -07:00
Alex Wolfe 6475fb7e51 bio directive 2015-05-01 07:40:25 -07:00
Alex Wolfe d4086a71bb merge with master 2015-05-01 06:51:21 -07:00
Alex Wolfe 47e25571fd updated site file 2015-05-01 06:49:07 -07:00
Alex Wolfe feabd268fc restructure directories 2015-05-01 06:48:52 -07:00
Alex Wolfe 5f2fb1b5a4 updated apis docs with proper formatting 2015-05-01 06:37:29 -07:00
Alex Wolfe 2611457df7 small update to nav 2015-04-28 14:57:15 -07:00