Commit Graph

105 Commits

Author SHA1 Message Date
Jesús Rodríguez 5b30c684d3 chore: fix plunkers for IE11 (#3095) 2017-01-13 20:56:42 -08:00
Paul Gschwendtner 28d742ffce fix(about): dialog should not show twitter if empty
* The bio directive accidentally shows the Twitter link in the dialog, even if it's undefined.

* Fix deprecation warning of Angular Material, where `md-dialog-actions` should be used instead of the class.
2016-12-22 20:07:32 -08:00
Patrice Chalin 4a0c3d79b7 docs(api/cheatsheet): show ng version + lang in page header (#2918) 2016-12-01 19:47:58 +00:00
Ward Bell cff978aee6 chore(plunker): open in embedded-style by default (#2884)
Added "flat-style" attribute option if you prefer to force a plunker into the original, flat editor style
2016-11-28 21:23:01 -08:00
Ward Bell e0e2e40217 chore: add default title and embedded-style options to <live-example> (#2882)
Adds default title (tooltip) of the example text unless overiden with "title" attribute
The "embedded-style" attribute causes link to open in new tab in the embedded style.
Use for samples that have a confusingly large number of files.
The "embedded" attribute option remains and displays _inline_ in the _same_ tab.
2016-11-27 13:48:20 -08:00
Eric Jimenez 2a3dbe53f4 replace clearfix with a wrapping flexbox (#2819) 2016-11-17 09:37:14 -08:00
Filipe Silva 31e0101020 fix(live-example): correctly match example name (#2815)
Currently, when visiting a page with a relative link e.g. https://angular.io/docs/ts/latest/guide/testing.html#!#top, `NgIoUtil.getExampleName` fails to match the example name. 

This results on `live-example` directives on that page missing the example name in the link: instead of linking to https://angular.io/resources/live-examples/testing/ts/plnkr.html it will link to https://angular.io/resources/live-examples//ts/plnkr.html (notice the missing `testing` and the double slashes).
2016-11-16 17:51:06 +00:00
Patrice Chalin 85062c47ca chore(util.js): getExampleName - support optional .html suffix 2016-11-14 04:56:12 -08:00
Alex Wolfe a44c5ea685 removed navigation when only once announcement is present 2016-10-14 22:46:18 -07:00
Patrice Chalin ab4f0774d5 docs(api): fix Dart API reference page (#2569)
Dart API reference page is blank following the merge of #2566. This
minor fix adjustes to the new API filter criteria.

For Dart we don’t show the statuses since none of the API entries are
tagged with a status.
2016-10-07 16:33:27 -07:00
Alex Wolfe 49f11f7dc0 label update 2016-10-07 13:44:39 -07:00
Alex Wolfe 2eec71cebb more cleanup 2016-10-07 13:44:39 -07:00
Alex Wolfe 165c73b1dd removed unused vars 2016-10-07 13:44:39 -07:00
Alex Wolfe 5096dd8e37 Refactor of api filter page to include statues, types, queries 2016-10-07 13:44:39 -07:00
Alex Wolfe b88b25a21c update symbold for type alias 2016-10-07 13:44:39 -07:00
Alex Wolfe a0dbeee18a banner(scrolling): add scrolling to the banner 2016-09-16 15:58:20 -07:00
Alex Wolfe f4c4aee706 initial commit for rotating announcement banner 2016-09-16 15:58:20 -07:00
Alex Wolfe 65db6b9268 design(style): Restyle changes from Alex 2016-09-14 17:18:55 -07:00
Peter Bacon Darwin a2089c5b4f api-builder: render pipes with specialised template 2016-09-09 14:44:46 -07:00
Ward Bell e25a1111e0 docs(ngmodule): add plunker images (#2209) 2016-08-27 00:45:25 -07:00
Jesús Rodríguez 6962f03f30 chore: add _self target to embedded plunkers (#2201) 2016-08-26 10:09:35 -07:00
Jesús Rodríguez 5b8df3494a chore: add embedded plunkers functionality (#2194) 2016-08-25 10:44:22 -07:00
Jesús Rodríguez 40a9b49800 chore: fix live-example for multiple plunkers
closes #2167
2016-08-24 23:36:20 -07:00
Ward Bell aef8aa94aa docs(ngmodule): add chapter 2016-08-09 12:31:52 -07:00
Brandon Roberts b93fb12fea chore(examples): Updated live example links to use helper directive
closes #2005
2016-08-05 16:41:45 -07:00
Eric Jimenez 1e194b1960 change arrow style function to regular function 2016-07-28 13:43:53 -07:00
Eric Jimenez 8c1bbbf318 chore: alphabetize entries in resources page. Add margin under frontpage banner 2016-07-19 09:52:25 -07:00
Patrice Chalin 1bef20abc4 docs(api/dart): add support for generation and display (#1888)
Fixes #1880.
Supersedes #1593.
2016-07-15 14:10:12 -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
Eric Jimenez 868abbe5c7 new style with new schema 2016-06-30 12:36:14 -04:00
Eric Jimenez 4a5f074061 add placeholder text when no description is found 2016-06-30 12:28:39 -04:00
Eric Jimenez 42e8c4a10c feat(filter stable): filter by stability stable 2016-06-20 14:26:34 -04:00
Eric Jimenez 5a0a0160ce feat(firebase): feed resources page using firebase. Check for approved entries of the resources page 2016-05-16 22:43:32 -04:00
Eric Jimenez 21272435a3 feat(badging): Enum only matches enums, as opposed to Const and Enums. Const matches const, var, and let 2016-05-16 22:41:43 -04:00
Eric Jimenez 024b680e68 fix(copy btn): remove overflow from button. Refactor styles out of inlines within directive 2016-05-12 17:49:33 -07: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
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