summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-06-02 16:22:39 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-06-02 16:22:39 -0700
commitb4ac9e5ad642b6b8805e686bb6f51837b7be0ef7 (patch)
tree4056642c24356ab60924a8a5618024dda7d901d8 /docs
parent2d6ebd559c2361faf42c00efd254c95dd88f8a77 (diff)
parent092b0bd9b62e3b0fe07dfd4c5a0b3323ff95d2a0 (diff)
downloadframeworks_base-b4ac9e5ad642b6b8805e686bb6f51837b7be0ef7.zip
frameworks_base-b4ac9e5ad642b6b8805e686bb6f51837b7be0ef7.tar.gz
frameworks_base-b4ac9e5ad642b6b8805e686bb6f51837b7be0ef7.tar.bz2
am 092b0bd9: am de43d71b: am f128d5d4: Merge "docs: adjust what\'s visible for online and offline docs" into honeycomb-mr2
* commit '092b0bd9b62e3b0fe07dfd4c5a0b3323ff95d2a0': docs: adjust what's visible for online and offline docs
Diffstat (limited to 'docs')
-rw-r--r--docs/html/sdk/index.jd14
-rw-r--r--docs/html/sdk/sdk_toc.cs13
2 files changed, 18 insertions, 9 deletions
diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd
index 7c1c86d..e7b8fbb 100644
--- a/docs/html/sdk/index.jd
+++ b/docs/html/sdk/index.jd
@@ -31,6 +31,16 @@ installer for help with the initial setup.)</li>
<li>Explore the contents of the Android SDK (optional).</li>
</ol>
-<p>To get started, download the appropriate package from the table above, then read the guide to <a
-href="installing.html">Installing the SDK</a>.</p>
+<p class="online-message">To get started, download the appropriate package from the table above,
+then read the guide to <a href="installing.html">Installing the SDK</a>.</p>
+
+<!-- non-inline style and based on only one selector so that
+ it can be overriden by the sdkpage.cs template -->
+<style type="text/css">
+ .offline-message { display:none; }
+</style>
+
+<p class="offline-message">For more information about how to set up your
+development environment, read the guide to <a href="installing.html">Installing the SDK</a>.</p>
+
</div>
diff --git a/docs/html/sdk/sdk_toc.cs b/docs/html/sdk/sdk_toc.cs
index d1c0679..286307a 100644
--- a/docs/html/sdk/sdk_toc.cs
+++ b/docs/html/sdk/sdk_toc.cs
@@ -1,6 +1,5 @@
<?cs if:!sdk.redirect ?>
-<ul><?cs
- if:android.whichdoc == "online" ?>
+<ul>
<li>
<h2>
<span class="en">Android SDK Starter Package</span>
@@ -12,7 +11,8 @@
<span style="display:none" class="zh-CN">当前的 SDK 版本</span>
<span style="display:none" class="zh-TW">目前 SDK 發行版本</span>
</h2>
- <ul>
+ <ul><?cs
+ if:android.whichdoc == "online" ?>
<li><a href="<?cs var:toroot ?>sdk/index.html">
<span class="en">Download</span>
<span style="display:none" class="de">Herunterladen</span>
@@ -22,7 +22,8 @@
<span style="display:none" class="ja">ダウンロード</span>
<span style="display:none" class="zh-CN">下载</span>
<span style="display:none" class="zh-TW">下載</span>
- </a></li>
+ </a></li><?cs
+ /if ?>
<li><a href="<?cs var:toroot ?>sdk/installing.html">
<span class="en">Installing the SDK</span>
<span style="display:none" class="de">Installieren</span>
@@ -33,10 +34,8 @@
<span style="display:none" class="zh-CN">安装</span>
<span style="display:none" class="zh-TW">安裝</span>
</a></li>
-
</ul>
- </li>
- <?cs /if ?><?cs
+ </li><?cs
if:sdk.preview ?>
<li><h2>Android 3.0 Preview SDK</h2>
<ul>