Update to reference templates to include resources to fix navigation highlighting issues. b/28560594 b/28586131 am: 307d36d9d4

am: aa012638d6

* commit 'aa012638d607cd8d0dc919ffcffd8009bcc389e4':
  Update to reference templates to include resources to fix navigation highlighting issues. b/28560594 b/28586131

Change-Id: Ib64ca322b4a86f8ae4cd55e087bce7ab74720963
This commit is contained in:
Amanda Kassay 2016-05-05 13:59:33 +00:00 committed by android-build-merger
commit 69ef986675
4 changed files with 100 additions and 0 deletions

View File

@ -611,6 +611,32 @@ if:subcount(class.subclasses.direct) && !class.subclasses.hidden ?>
<!-- ========= END OF CLASS DATA ========= -->
</div><!-- end jd-content -->
<?cs if:devsite ?>
<div class="data-reference-resources-wrapper">
<?cs if:subcount(class.package) ?>
<ul data-reference-resources>
<?cs call:list("Annotations", class.package.annotations) ?>
<?cs call:list("Interfaces", class.package.interfaces) ?>
<?cs call:list("Classes", class.package.classes) ?>
<?cs call:list("Enums", class.package.enums) ?>
<?cs call:list("Exceptions", class.package.exceptions) ?>
<?cs call:list("Errors", class.package.errors) ?>
</ul>
<?cs elif:subcount(package) ?>
<ul data-reference-resources>
<?cs call:class_link_list("Annotations", package.annotations) ?>
<?cs call:class_link_list("Interfaces", package.interfaces) ?>
<?cs call:class_link_list("Classes", package.classes) ?>
<?cs call:class_link_list("Enums", package.enums) ?>
<?cs call:class_link_list("Exceptions", package.exceptions) ?>
<?cs call:class_link_list("Errors", package.errors) ?>
</ul>
<?cs /if ?>
</div>
<?cs /if ?>
<?cs if:!devsite ?>
<?cs include:"footer.cs" ?>
<?cs include:"trailer.cs" ?>

View File

@ -36,6 +36,31 @@
</table>
<?cs /each ?>
<?cs if:devsite ?>
<div class="data-reference-resources-wrapper">
<?cs if:subcount(class.package) ?>
<ul data-reference-resources>
<?cs call:list("Annotations", class.package.annotations) ?>
<?cs call:list("Interfaces", class.package.interfaces) ?>
<?cs call:list("Classes", class.package.classes) ?>
<?cs call:list("Enums", class.package.enums) ?>
<?cs call:list("Exceptions", class.package.exceptions) ?>
<?cs call:list("Errors", class.package.errors) ?>
</ul>
<?cs elif:subcount(package) ?>
<ul data-reference-resources>
<?cs call:class_link_list("Annotations", package.annotations) ?>
<?cs call:class_link_list("Interfaces", package.interfaces) ?>
<?cs call:class_link_list("Classes", package.classes) ?>
<?cs call:class_link_list("Enums", package.enums) ?>
<?cs call:class_link_list("Exceptions", package.exceptions) ?>
<?cs call:class_link_list("Errors", package.errors) ?>
</ul>
<?cs /if ?>
</div>
<?cs /if ?>
<?cs if:!devsite ?>
<?cs include:"footer.cs" ?>
<?cs include:"trailer.cs" ?>

View File

@ -31,6 +31,31 @@
<?cs call:class_table("Errors", package.errors) ?>
</div><!-- end apilevel -->
<?cs if:devsite ?>
<div class="data-reference-resources-wrapper">
<?cs if:subcount(class.package) ?>
<ul data-reference-resources>
<?cs call:list("Annotations", class.package.annotations) ?>
<?cs call:list("Interfaces", class.package.interfaces) ?>
<?cs call:list("Classes", class.package.classes) ?>
<?cs call:list("Enums", class.package.enums) ?>
<?cs call:list("Exceptions", class.package.exceptions) ?>
<?cs call:list("Errors", class.package.errors) ?>
</ul>
<?cs elif:subcount(package) ?>
<ul data-reference-resources>
<?cs call:class_link_list("Annotations", package.annotations) ?>
<?cs call:class_link_list("Interfaces", package.interfaces) ?>
<?cs call:class_link_list("Classes", package.classes) ?>
<?cs call:class_link_list("Enums", package.enums) ?>
<?cs call:class_link_list("Exceptions", package.exceptions) ?>
<?cs call:class_link_list("Errors", package.errors) ?>
</ul>
<?cs /if ?>
</div>
<?cs /if ?>
<?cs if:!devsite ?>
<?cs include:"footer.cs" ?>
<?cs include:"trailer.cs" ?>

View File

@ -21,6 +21,30 @@ See all <a href="classes.html">API classes</a>.</p>
<?cs /each ?>
</table>
<?cs if:devsite ?>
<div class="data-reference-resources-wrapper">
<?cs if:subcount(class.package) ?>
<ul data-reference-resources>
<?cs call:list("Annotations", class.package.annotations) ?>
<?cs call:list("Interfaces", class.package.interfaces) ?>
<?cs call:list("Classes", class.package.classes) ?>
<?cs call:list("Enums", class.package.enums) ?>
<?cs call:list("Exceptions", class.package.exceptions) ?>
<?cs call:list("Errors", class.package.errors) ?>
</ul>
<?cs elif:subcount(package) ?>
<ul data-reference-resources>
<?cs call:class_link_list("Annotations", package.annotations) ?>
<?cs call:class_link_list("Interfaces", package.interfaces) ?>
<?cs call:class_link_list("Classes", package.classes) ?>
<?cs call:class_link_list("Enums", package.enums) ?>
<?cs call:class_link_list("Exceptions", package.exceptions) ?>
<?cs call:class_link_list("Errors", package.errors) ?>
</ul>
<?cs /if ?>
</div>
<?cs /if ?>
<?cs if:!devsite ?>
<?cs include:"footer.cs" ?>
<?cs include:"trailer.cs" ?>