summaryrefslogtreecommitdiffstats
path: root/tools/droiddoc/templates-sdk/package.cs
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2012-06-21 18:03:05 -0700
committerScott Main <smain@google.com>2012-06-21 21:29:11 -0700
commite4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644 (patch)
treec4a983c362962b6c6ae8b087c9a0e46a4b13053d /tools/droiddoc/templates-sdk/package.cs
parent0872a010659d20633f07f4ef54cf61f8e4b6e030 (diff)
downloadbuild-e4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644.zip
build-e4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644.tar.gz
build-e4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644.tar.bz2
Massive clobber of all template files in developer site for new design
Change-Id: I5f243dcb377a8b2e573c404a9e685cc64e0e06d2
Diffstat (limited to 'tools/droiddoc/templates-sdk/package.cs')
-rw-r--r--tools/droiddoc/templates-sdk/package.cs61
1 files changed, 61 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/package.cs b/tools/droiddoc/templates-sdk/package.cs
new file mode 100644
index 0000000..e246e31
--- /dev/null
+++ b/tools/droiddoc/templates-sdk/package.cs
@@ -0,0 +1,61 @@
+<?cs include:"doctype.cs" ?>
+<?cs include:"macros.cs" ?>
+<html>
+<?cs include:"head_tag.cs" ?>
+
+<body class="gc-documentation
+ <?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
+ elif:design ?>design<?cs
+ elif:distribute ?>distribute<?cs
+ /if ?>">
+ <div id="doc-api-level" class="<?cs var:class.since ?>" style="display:none"></div>
+ <a name="top"></a>
+<?cs include:"header.cs" ?>
+
+<div class="col-12" id="doc-col">
+
+<div id="api-info-block">
+<div class="api-level">
+ <?cs call:since_tags(package) ?>
+ <?cs call:federated_refs(package) ?>
+</div>
+</div>
+
+<div id="jd-header">
+ package
+ <h1><?cs var:package.name ?></h1>
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-<?cs var:package.since ?>">
+
+<?cs if:subcount(package.descr) ?>
+ <div class="jd-descr">
+ <?cs call:tag_list(package.descr) ?>
+ </div>
+<?cs /if ?>
+
+<?cs def:class_table(label, classes) ?>
+ <?cs if:subcount(classes) ?>
+ <h2><?cs var:label ?></h2>
+ <div class="jd-sumtable">
+ <?cs call:class_link_table(classes) ?>
+ </div>
+ <?cs /if ?>
+<?cs /def ?>
+
+<?cs call:class_table("Interfaces", package.interfaces) ?>
+<?cs call:class_table("Classes", package.classes) ?>
+<?cs call:class_table("Enums", package.enums) ?>
+<?cs call:class_table("Exceptions", package.exceptions) ?>
+<?cs call:class_table("Errors", package.errors) ?>
+
+<?cs include:"footer.cs" ?>
+</div><!-- end jd-content -->
+</div><!-- doc-content -->
+
+<?cs include:"trailer.cs" ?>
+
+</body>
+</html>