blob: d3efdda554ab296c961baf62c8d6250f63a9b6b5 [file] [log] [blame]
smain@google.coma0a6d322016-02-05 17:34:22 -08001<?cs # THIS CREATES A PACKAGE SUMMARY PAGE FROM EACH package.html FILES
2 # AND NAMES IT package-summary.html ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -08003<?cs include:"macros.cs" ?>
Dirk Doughertyff233cc2015-05-04 14:37:05 -07004<?cs include:"macros_override.cs" ?>
smain@google.coma0a6d322016-02-05 17:34:22 -08005<?cs include:"doctype.cs" ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -08006<html<?cs if:devsite ?> devsite<?cs /if ?>>
7<?cs include:"head_tag.cs" ?>
smain@google.coma0a6d322016-02-05 17:34:22 -08008<?cs include:"body_tag.cs" ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -08009<?cs include:"header.cs" ?>
smain@google.coma0a6d322016-02-05 17:34:22 -080010<?cs include:"page_info.cs" ?>
11<div class="api apilevel-<?cs var:package.since ?>" id="jd-content">
Dirk Dougherty541b4942014-02-14 18:31:53 -080012
smain@google.coma0a6d322016-02-05 17:34:22 -080013<h1><?cs var:package.name ?></h1>
Dirk Dougherty541b4942014-02-14 18:31:53 -080014
15<?cs if:subcount(package.descr) ?>
smain@google.coma0a6d322016-02-05 17:34:22 -080016 <?cs call:tag_list(package.descr) ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -080017<?cs /if ?>
18
19<?cs def:class_table(label, classes) ?>
20 <?cs if:subcount(classes) ?>
21 <h2><?cs var:label ?></h2>
Dirk Dougherty541b4942014-02-14 18:31:53 -080022 <?cs call:class_link_table(classes) ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -080023 <?cs /if ?>
24<?cs /def ?>
25
Dirk Doughertyff233cc2015-05-04 14:37:05 -070026<?cs call:class_table("Annotations", package.annotations) ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -080027<?cs call:class_table("Interfaces", package.interfaces) ?>
28<?cs call:class_table("Classes", package.classes) ?>
29<?cs call:class_table("Enums", package.enums) ?>
30<?cs call:class_table("Exceptions", package.exceptions) ?>
31<?cs call:class_table("Errors", package.errors) ?>
32
smain@google.coma0a6d322016-02-05 17:34:22 -080033</div><!-- end apilevel -->
Amanda Kassay307d36d2016-05-04 22:31:54 -040034
35<?cs if:devsite ?>
36<div class="data-reference-resources-wrapper">
37 <?cs if:subcount(class.package) ?>
38 <ul data-reference-resources>
39 <?cs call:list("Annotations", class.package.annotations) ?>
40 <?cs call:list("Interfaces", class.package.interfaces) ?>
41 <?cs call:list("Classes", class.package.classes) ?>
42 <?cs call:list("Enums", class.package.enums) ?>
43 <?cs call:list("Exceptions", class.package.exceptions) ?>
44 <?cs call:list("Errors", class.package.errors) ?>
45 </ul>
46 <?cs elif:subcount(package) ?>
47 <ul data-reference-resources>
48 <?cs call:class_link_list("Annotations", package.annotations) ?>
49 <?cs call:class_link_list("Interfaces", package.interfaces) ?>
50 <?cs call:class_link_list("Classes", package.classes) ?>
51 <?cs call:class_link_list("Enums", package.enums) ?>
52 <?cs call:class_link_list("Exceptions", package.exceptions) ?>
53 <?cs call:class_link_list("Errors", package.errors) ?>
54 </ul>
55 <?cs /if ?>
56</div>
57<?cs /if ?>
58
Amanda Kassaye4a8ab12016-03-29 16:11:01 -040059<?cs if:!devsite ?>
Dirk Dougherty0dc81b92015-12-08 14:49:52 -080060<?cs include:"footer.cs" ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -080061<?cs include:"trailer.cs" ?>
Amanda Kassaye4a8ab12016-03-29 16:11:01 -040062<?cs /if ?>
Dirk Dougherty541b4942014-02-14 18:31:53 -080063</body>
64</html>