diff options
author | Robert Ly <robertly@google.com> | 2012-11-27 17:27:34 -0800 |
---|---|---|
committer | Robert Ly <robertly@google.com> | 2012-11-27 17:27:34 -0800 |
commit | 7d131e0ad6695d1b46ab7854277fdbbf523f3d29 (patch) | |
tree | 1493a9b362ac52ced42f546b0a9686530cc316d7 /tools/droiddoc/templates-sdk | |
parent | 502c939f6d0818d985a45ca54e35c0a3efa1470b (diff) | |
download | build-7d131e0ad6695d1b46ab7854277fdbbf523f3d29.zip build-7d131e0ad6695d1b46ab7854277fdbbf523f3d29.tar.gz build-7d131e0ad6695d1b46ab7854277fdbbf523f3d29.tar.bz2 |
fix build
Change-Id: I3e98493aac48b0061d44351fb8c0f07a759b25c0
Diffstat (limited to 'tools/droiddoc/templates-sdk')
-rw-r--r-- | tools/droiddoc/templates-sdk/customizations.cs | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/tools/droiddoc/templates-sdk/customizations.cs b/tools/droiddoc/templates-sdk/customizations.cs index 4ce01d7..eac4a2b 100644 --- a/tools/droiddoc/templates-sdk/customizations.cs +++ b/tools/droiddoc/templates-sdk/customizations.cs @@ -133,6 +133,27 @@ def:distribute_nav() ?> }); </script> <?cs /def ?> + +<?cs +def:google_nav() ?> + <div class="wrap clearfix" id="body-content"> + <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> + <div id="devdoc-nav" class="scroll-pane"> +<a class="totop" href="#top" data-g-event="left-nav-top">to top</a> + +<?cs + include:"../../../../frameworks/base/docs/html/google/google_toc.cs" ?> + + + </div> + </div> <!-- end side-nav --> + <script> + $(document).ready(function() { + scrollIntoView("devdoc-nav"); + }); + </script> +<?cs /def ?> + <?cs def:about_nav() ?> <div class="wrap clearfix" id="body-content"> @@ -288,7 +309,7 @@ def:custom_left_nav() ?><?cs elif:tools ?><?cs call:tools_nav() ?><?cs elif:google ?><?cs - call:dist_google_nav() ?><?cs + call:google_nav() ?><?cs elif:more ?><?cs call:dist_more_nav() ?><?cs elif:distribute ?><?cs |