diff options
author | Gaurav Mathur <nobody@android.com> | 2009-05-14 16:02:22 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-05-14 16:02:22 -0700 |
commit | ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d (patch) | |
tree | 195a15c0e56aad36b2a01c8961f855d91aecaf57 /tools/droiddoc/templates-pdk | |
parent | 9b54792d7044125126a9765d1baf3ff0e59efcb4 (diff) | |
download | build-ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d.zip build-ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d.tar.gz build-ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d.tar.bz2 |
AI 148870: Pinging Ryan for Dr No approval.
---
Cloned from CL 147240 by 'g4 patch'.
Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.
"Making PDK work in SDK environment."
This CL should be pretty straight forward and should be touching only PDK
related templates, etc. Turns out we no longer need to touch the highlightNav
code.
Automated import of CL 148870
Diffstat (limited to 'tools/droiddoc/templates-pdk')
-rw-r--r-- | tools/droiddoc/templates-pdk/customization.cs | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/tools/droiddoc/templates-pdk/customization.cs b/tools/droiddoc/templates-pdk/customization.cs index 8d3cde6..01b6e96 100644 --- a/tools/droiddoc/templates-pdk/customization.cs +++ b/tools/droiddoc/templates-pdk/customization.cs @@ -6,7 +6,7 @@ def:custom_masthead() ?> <div id="header"> <div id="headerLeft"> <a href="<?cs var:toroot ?>index.html" tabindex="-1"><img - src="<?cs var:toroot ?>assets/images/bg_logo.png" alt="Android Porting Development Kit" /></a> + src="<?cs var:toroot ?>assets/images/open_source.png" alt="Open Source Project: Platform Development Kit" /></a> <ul class="<?cs if:reference ?> <?cs elif:guide ?> <?cs @@ -15,17 +15,10 @@ def:custom_masthead() ?> elif:community ?> <?cs elif:publish ?> <?cs elif:about ?> <?cs /if ?>"> - <li id="home-link"><a href="<?cs var:toroot ?><?cs - if:android.whichdoc != "online-pdk" ?>offline.html<?cs - else ?>index.html<?cs /if ?>"> - <span>Home</span></a></li> - <!--<li id="sdk-link"><a href="<?cs var:toroot ?>index.html"><span>SDK</span></a></li>--> - <li id="guide-link"><a href="<?cs var:toroot ?>guide/index.html" - onClick="return loadLast('guide')"><span>Porting Guide</span></a></li> - <!--<li id="reference-link"><a href="<?cs var:toroot ?>reference/packages.html" - onClick="return loadLast('reference')"><span>Reference</span></a></li> - <li><a href="http://android-developers.blogspot.com"><span>Blog</span></a></li> - <li id="community-link"><a href="<?cs var:toroot ?>community/index.html"><span>Community</span></a></li>--> + <li id="guide-link"><a href="<?cs var:toroot ?>index.html" + onClick="return loadLast('guide)'"><span>Porting Guide</span></a></li> + <li id="opensource-link"><a href="http://source.android.com/" + onClick="return loadLast('open')"><span>Open Source</span></a></li> </ul> </div> <div id="headerRight"> @@ -35,8 +28,7 @@ def:custom_masthead() ?> <!-- <a href="#">English</a> | --> <a href="http://www.android.com">Android.com</a> </span> - </div><?cs - call:default_search_box() ?> + </div> </div><!-- headerRight --> </div><!-- header --><?cs /def ?><?cs # custom_masthead ?> @@ -47,7 +39,7 @@ def:guide_nav() ?> <div class="g-section g-tpl-240" id="body-content"> <div class="g-unit g-first side-nav-resizable" id="side-nav"> <div id="devdoc-nav"><?cs - include:"../../../../development/pdk/docs/html/guide/guide_toc.cs" ?> + include:"../../../../development/pdk/docs/guide/pdk_toc.cs" ?> </div> </div> <!-- end side-nav --> <script> @@ -59,11 +51,7 @@ def:guide_nav() ?> <?cs def:custom_left_nav() ?><?cs - if:guide ?><?cs call:guide_nav() ?><?cs - else ?><?cs - call:default_left_nav() ?><?cs - /if ?><?cs /def ?> <?cs # appears at the bottom of every page ?><?cs |