smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 1 | <?cs # THIS CREATES A LIST OF ALL PACKAGES AND NAMES IT packages.html ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2 | <?cs include:"macros.cs" ?> |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 3 | <?cs include:"doctype.cs" ?> |
Scott Main | e05e6f9 | 2013-01-29 13:34:17 -0800 | [diff] [blame] | 4 | <html<?cs if:devsite ?> devsite<?cs /if ?>> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5 | <?cs include:"head_tag.cs" ?> |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 6 | <?cs include:"body_tag.cs" ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 7 | <?cs include:"header.cs" ?> |
| 8 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 9 | <h1><?cs var:page.title ?></h1> |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 10 | <p>These are the API packages. |
| 11 | See all <a href="classes.html">API classes</a>.</p> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 12 | |
| 13 | <?cs set:count = #1 ?> |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 14 | <table> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 15 | <?cs each:pkg = docs.packages ?> |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 16 | <tr class="api apilevel-<?cs var:pkg.since ?>" > |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 17 | <td class="jd-linkcol"><?cs call:package_link(pkg) ?></td> |
| 18 | <td class="jd-descrcol" width="100%"><?cs call:tag_list(pkg.shortDescr) ?></td> |
| 19 | </tr> |
| 20 | <?cs set:count = count + #1 ?> |
| 21 | <?cs /each ?> |
| 22 | </table> |
| 23 | |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 24 | <?cs if:devsite ?> |
| 25 | <div class="data-reference-resources-wrapper"> |
| 26 | <?cs if:subcount(class.package) ?> |
| 27 | <ul data-reference-resources> |
| 28 | <?cs call:list("Annotations", class.package.annotations) ?> |
| 29 | <?cs call:list("Interfaces", class.package.interfaces) ?> |
| 30 | <?cs call:list("Classes", class.package.classes) ?> |
| 31 | <?cs call:list("Enums", class.package.enums) ?> |
| 32 | <?cs call:list("Exceptions", class.package.exceptions) ?> |
| 33 | <?cs call:list("Errors", class.package.errors) ?> |
| 34 | </ul> |
| 35 | <?cs elif:subcount(package) ?> |
| 36 | <ul data-reference-resources> |
| 37 | <?cs call:class_link_list("Annotations", package.annotations) ?> |
| 38 | <?cs call:class_link_list("Interfaces", package.interfaces) ?> |
| 39 | <?cs call:class_link_list("Classes", package.classes) ?> |
| 40 | <?cs call:class_link_list("Enums", package.enums) ?> |
| 41 | <?cs call:class_link_list("Exceptions", package.exceptions) ?> |
| 42 | <?cs call:class_link_list("Errors", package.errors) ?> |
| 43 | </ul> |
| 44 | <?cs /if ?> |
| 45 | </div> |
| 46 | <?cs /if ?> |
Dirk Dougherty | f97b2ef | 2015-05-12 21:23:05 -0700 | [diff] [blame] | 47 | |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 48 | <?cs if:!devsite ?> |
Dirk Dougherty | f97b2ef | 2015-05-12 21:23:05 -0700 | [diff] [blame] | 49 | <?cs include:"footer.cs" ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 50 | <?cs include:"trailer.cs" ?> |
smain@google.com | 4f3a05a | 2016-08-31 11:30:02 -0700 | [diff] [blame] | 51 | <?cs /if ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 52 | </body> |
| 53 | </html> |