Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0324b89 authored by Scott Main's avatar Scott Main
Browse files

docs: adjust what's visible for online and offline docs

Change-Id: Ie7490973001530098d5001d9ef5e4dbfab86ed08
parent f5d8ceae
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -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>
+6 −7
Original line number Diff line number Diff line
<?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>