aboutsummaryrefslogtreecommitdiffstats
path: root/tools/droiddoc
diff options
context:
space:
mode:
authorJoe Fernandez <joefernandez@google.com>2016-05-11 19:43:25 -0700
committerJoe Fernandez <joefernandez@google.com>2016-05-11 23:07:26 -0700
commit151592490e22253eeb5355bd2861c56c80ecf437 (patch)
tree007c4e3149117b13f34243106207f3e6ef4c09ca /tools/droiddoc
parent1db6c2f315c5bb4068325eb2f431a36c8d3c14ba (diff)
downloadplatform_build-151592490e22253eeb5355bd2861c56c80ecf437.tar.gz
platform_build-151592490e22253eeb5355bd2861c56c80ecf437.tar.bz2
platform_build-151592490e22253eeb5355bd2861c56c80ecf437.zip
docs: Wear Preview - TOC and Resource card fixes for DoDS
b/28004352 Change-Id: Iff222f71508c21e0b35a3d41c846c062755605cd
Diffstat (limited to 'tools/droiddoc')
-rw-r--r--tools/droiddoc/templates-sdk-dev/customizations.cs2
-rw-r--r--tools/droiddoc/templates-sdk-dev/head_tag.cs4
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/droiddoc/templates-sdk-dev/customizations.cs b/tools/droiddoc/templates-sdk-dev/customizations.cs
index d5a6960dcc..44ae239c53 100644
--- a/tools/droiddoc/templates-sdk-dev/customizations.cs
+++ b/tools/droiddoc/templates-sdk-dev/customizations.cs
@@ -182,6 +182,8 @@ elif:samples ?><?cs include:"../../../../frameworks/base/docs/html/ndk/samples/s
<?cs include:"../../../../frameworks/base/docs/html/samples/samples_toc.cs" ?>
<?cs elif:preview ?>
<?cs include:"../../../../frameworks/base/docs/html/preview/preview_toc.cs" ?>
+ <?cs elif:preview ?>
+ <?cs include:"../../../../frameworks/base/docs/html/wear/preview/preview_toc.cs" ?>
<?cs elif:distribute ?>
<?cs if:googleplay ?>
<?cs include:"../../../../frameworks/base/docs/html/distribute/googleplay/googleplay_toc.cs" ?>
diff --git a/tools/droiddoc/templates-sdk-dev/head_tag.cs b/tools/droiddoc/templates-sdk-dev/head_tag.cs
index 7cf078af23..3629045b67 100644
--- a/tools/droiddoc/templates-sdk-dev/head_tag.cs
+++ b/tools/droiddoc/templates-sdk-dev/head_tag.cs
@@ -5,7 +5,7 @@
if:devsite ?>
<meta name="top_category" value="<?cs
if:ndk ?>ndk<?cs
- elif:(guide||develop||training||reference||tools||sdk||google||reference.gms||reference.gcm||samples) ?>develop<?cs
+ elif:(guide||develop||training||reference||tools||sdk||google||reference.gms||reference.gcm||samples||wearpreview) ?>develop<?cs
elif:(topic||libraries) ?>develop<?cs
elif:(distribute||googleplay||essentials||users||engage||monetize||disttools||stories||analyze) ?>distribute<?cs
elif:(design||vision||material||patterns||devices||designdownloads) ?>design<?cs
@@ -48,6 +48,7 @@
else ?>none<?cs set:dac_subcategory_set = #0 ?><?cs /if ?><?cs
elif:(about||versions||wear||tv||auto) ?>about<?cs
elif:preview ?>preview<?cs
+ elif:wearpreview ?>wearpreview<?cs
elif:design ?>design<?cs
elif:walkthru ?>walkthru<?cs
else ?>none<?cs set:dac_subcategory_set = #0 ?><?cs /if ?><?cs
@@ -82,6 +83,7 @@
elif:analyze ?>/analyze<?cs /if ?><?cs
elif:(about||versions||wear||tv||auto) ?>/about<?cs
elif:preview ?>/preview<?cs
+ elif:wearpreview ?>/wear/preview<?cs
elif:design ?>/design<?cs
elif:reference.testSupport ?>/reference/android/support/test<?cs
elif:reference.wearableSupport ?>/reference/android/support/wearable<?cs