From c6d9cdce8dd8088fe5d438a6febe4227bb21325f Mon Sep 17 00:00:00 2001 From: Amanda Kassay Date: Wed, 27 Apr 2016 15:01:21 -0400 Subject: [PATCH] Adding top category, subcategory and book path detection for go/libraries Fix for sdk download form b/28425669 Fix for missing 'Develop' text in left nav on preview pages b/28450858 Change-Id: I0b7a5dc26dc3cb4be58aecbbad41cdf62e0331ba --- tools/droiddoc/templates-sdk-dev/head_tag.cs | 9 +++++++-- tools/droiddoc/templates-sdk-dev/sdkpage.cs | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tools/droiddoc/templates-sdk-dev/head_tag.cs b/tools/droiddoc/templates-sdk-dev/head_tag.cs index 549311d6e..c3ae93da9 100644 --- a/tools/droiddoc/templates-sdk-dev/head_tag.cs +++ b/tools/droiddoc/templates-sdk-dev/head_tag.cs @@ -5,11 +5,11 @@ if:devsite ?> @@ -34,6 +34,9 @@ if:(samplesDocPage&&!samplesProjectIndex) ?> samples-docpagenonegooglelibrariesnonegoogleplayessentials/tools/samples/google/go/libraries/distribute/googleplay/essentials.

idname = bundlename + "-size"; sizeMB = $(idname).text().split(' MB')[0]; $('.download-bundle-button > .small').html(" for " + os + " (" + sizeMB + " MB)"); - $('.download-bundle-button').click(function() {return onDownload(this,true,true);}).attr('href', bundlename); + $('.download-bundle-button').click(function() { onDownload(this,true,true);}).attr('href', bundlename); } @@ -581,11 +581,14 @@ tools release notes.

+ + +