From a8bbfca3d0ba7da40f9348eeb38badda575fe411 Mon Sep 17 00:00:00 2001 From: Dirk Dougherty Date: Thu, 14 May 2015 22:58:28 -0700 Subject: Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android. Change-Id: I80124a8a05311976a7c373dfdaf5bb984a9c3bc7 --- tools/droiddoc/templates-sdk/assets/js/docs.js | 2 ++ tools/droiddoc/templates-sdk/components/masthead.cs | 9 +++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tools/droiddoc/templates-sdk/assets/js/docs.js b/tools/droiddoc/templates-sdk/assets/js/docs.js index 60bbaf9..2efe3dc 100644 --- a/tools/droiddoc/templates-sdk/assets/js/docs.js +++ b/tools/droiddoc/templates-sdk/assets/js/docs.js @@ -186,6 +186,8 @@ $(document).ready(function() { subNavEl.find("li.google > a").addClass("selected"); } else if ($("body").hasClass("samples")) { subNavEl.find("li.samples > a").addClass("selected"); + } else if ($("body").hasClass("preview")) { + subNavEl.find("li.preview > a").addClass("selected"); } else { parentNavEl.removeClass('has-subnav').addClass("selected"); } diff --git a/tools/droiddoc/templates-sdk/components/masthead.cs b/tools/droiddoc/templates-sdk/components/masthead.cs index 9e6a645..000d95f 100644 --- a/tools/droiddoc/templates-sdk/components/masthead.cs +++ b/tools/droiddoc/templates-sdk/components/masthead.cs @@ -103,7 +103,7 @@ Home @@ -200,14 +200,11 @@
  • Engage & Retain
  • - Monetize + Earn
  • Analyze
  • -
  • - Tools -
  • Stories
  • -- cgit v1.1