diff options
author | Jeff Arneson <jarneson@google.com> | 2014-09-12 19:20:17 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-12 19:20:17 +0000 |
commit | 3b62f196e161afd4768c828fd9c582a25ab6d87e (patch) | |
tree | 5c53910642277122f1f86da9c4b6ee0f51a19152 /tools | |
parent | 16b5cd832fe628cd2a885a6ceed5981cdb4522f5 (diff) | |
parent | faa1dc5c016c18bb7e224bb7f16f41989d1d7c23 (diff) | |
download | build-3b62f196e161afd4768c828fd9c582a25ab6d87e.zip build-3b62f196e161afd4768c828fd9c582a25ab6d87e.tar.gz build-3b62f196e161afd4768c828fd9c582a25ab6d87e.tar.bz2 |
am faa1dc5c: Merge "Show annotation information for fields, enums, etc. and in the class list" into lmp-dev
* commit 'faa1dc5c016c18bb7e224bb7f16f41989d1d7c23':
Show annotation information for fields, enums, etc. and in the class list
Diffstat (limited to 'tools')
-rw-r--r-- | tools/droiddoc/templates-sdk/class.cs | 27 | ||||
-rw-r--r-- | tools/droiddoc/templates-sdk/classes.cs | 6 |
2 files changed, 27 insertions, 6 deletions
diff --git a/tools/droiddoc/templates-sdk/class.cs b/tools/droiddoc/templates-sdk/class.cs index 1a770b3..deffa30 100644 --- a/tools/droiddoc/templates-sdk/class.cs +++ b/tools/droiddoc/templates-sdk/class.cs @@ -215,7 +215,10 @@ Summary: <?cs var:field.final ?> <?cs call:type_link(field.type) ?></nobr></td> <td class="jd-linkcol"><?cs call:cond_link(field.name, toroot, field.href, included) ?></td> - <td class="jd-descrcol" width="100%"><?cs call:short_descr(field) ?></td> + <td class="jd-descrcol" width="100%"> + <?cs call:short_descr(field) ?> + <?cs call:show_annotations_list(field, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> + </td> </tr> <?cs set:count = count + #1 ?> <?cs /each ?> @@ -227,7 +230,10 @@ Summary: <tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:field.since ?>" > <td class="jd-typecol"><?cs call:type_link(field.type) ?></td> <td class="jd-linkcol"><?cs call:cond_link(field.name, toroot, field.href, included) ?></td> - <td class="jd-descrcol" width="100%"><?cs call:short_descr(field) ?></td> + <td class="jd-descrcol" width="100%"> + <?cs call:short_descr(field) ?> + <?cs call:show_annotations_list(field, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> + </td> </tr> <?cs set:count = count + #1 ?> <?cs /each ?> @@ -247,7 +253,10 @@ Summary: <?cs call:cond_link(m.name, toroot, m.href, included) ?> <?cs /each ?> </td> - <td class="jd-descrcol" width="100%"><?cs call:short_descr(attr) ?> </td> + <td class="jd-descrcol" width="100%"> + <?cs call:short_descr(attr) ?> + <?cs call:show_annotations_list(attr, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> + </td> </tr> <?cs set:count = count + #1 ?> <?cs /each ?> @@ -264,7 +273,10 @@ Summary: <?cs var:cl.abstract ?> <?cs var:cl.kind ?></nobr></td> <td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td> - <td class="jd-descrcol" width="100%"><?cs call:short_descr(cl) ?> </td> + <td class="jd-descrcol" width="100%"> + <?cs call:short_descr(cl) ?> + <?cs call:show_annotations_list(cl, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> + </td> </tr> <?cs set:count = count + #1 ?> <?cs /each ?> @@ -340,7 +352,10 @@ Summary: <tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:field.since ?>" > <td class="jd-descrcol"><?cs call:type_link(field.type) ?> </td> <td class="jd-linkcol"><?cs call:cond_link(field.name, toroot, field.href, cl.included) ?> </td> - <td class="jd-descrcol" width="100%"><?cs call:short_descr(field) ?> </td> + <td class="jd-descrcol" width="100%"> + <?cs call:short_descr(field) ?> + <?cs call:show_annotations_list(field, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> + </td> </tr> <?cs set:count = count + #1 ?> <?cs /each ?> @@ -509,6 +524,7 @@ From <?cs var:cl.kind ?> <?cs call:federated_refs(field) ?> </div> <div class="jd-details-descr"> + <?cs call:show_annotations_list(field, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> <?cs call:description(field) ?> <?cs if:subcount(field.constantValue) ?> <div class="jd-tagdata"> @@ -566,6 +582,7 @@ From <?cs var:cl.kind ?> <h4 class="jd-details-title"><?cs var:attr.name ?> </h4> <div class="jd-details-descr"> + <?cs call:show_annotations_list(attr, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> <?cs call:description(attr) ?> <div class="jd-tagdata"> diff --git a/tools/droiddoc/templates-sdk/classes.cs b/tools/droiddoc/templates-sdk/classes.cs index 6769f47..84cca81 100644 --- a/tools/droiddoc/templates-sdk/classes.cs +++ b/tools/droiddoc/templates-sdk/classes.cs @@ -1,5 +1,6 @@ <?cs include:"doctype.cs" ?> <?cs include:"macros.cs" ?> +<?cs include:"macros_override.cs" ?> <html<?cs if:devsite ?> devsite<?cs /if ?>> <?cs include:"head_tag.cs" ?> <body class="gc-documentation <?cs if:(reference.gms || reference.gcm) ?>google<?cs /if ?> @@ -30,7 +31,10 @@ <?cs each:cl = letter ?> <tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:cl.since ?>" > <td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td> - <td class="jd-descrcol" width="100%"><?cs call:short_descr(cl) ?> </td> + <td class="jd-descrcol" width="100%"> + <?cs call:short_descr(cl) ?> + <?cs call:show_annotations_list(cl, "<span class='annotation-message'>Included in documentation by the annotations: ", "</span>") ?> + </td> </tr> <?cs set:count = count + #1 ?> <?cs /each ?> |