OSDN Git Service

docs: add schema.org sitenavigation scope for sid-navs
authorScott Main <smain@google.com>
Tue, 31 Jan 2012 00:26:41 +0000 (16:26 -0800)
committerScott Main <smain@google.com>
Tue, 31 Jan 2012 00:26:41 +0000 (16:26 -0800)
Change-Id: I0952195223f93bda67af0b951c3a061fe92948ce

tools/droiddoc/templates-sdk/customizations.cs

index cfeab16..85f4fd3 100644 (file)
@@ -1,7 +1,7 @@
 <?cs 
 def:sdk_nav() ?>
   <div class="g-section g-tpl-240" id="body-content">
-    <div class="g-unit g-first" id="side-nav">
+    <div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
       <div id="devdoc-nav"><?cs 
         include:"../../../../frameworks/base/docs/html/sdk/sdk_toc.cs" ?>
       </div>
@@ -10,7 +10,7 @@ def:sdk_nav() ?>
 <?cs 
 def:resources_tab_nav() ?>
   <div class="g-section g-tpl-200" id="body-content">
-    <div class="g-unit g-first" id="side-nav">
+    <div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
       <div id="devdoc-nav"><?cs 
         include:"../../../../frameworks/base/docs/html/resources/resources_toc.cs" ?>
       </div>
@@ -24,7 +24,7 @@ def:resources_tab_nav() ?>
 <?cs 
 def:guide_nav() ?>
   <div class="g-section g-tpl-240" id="body-content">
-    <div class="g-unit g-first" id="side-nav">
+    <div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
       <div id="devdoc-nav"><?cs 
         include:"../../../../frameworks/base/docs/html/guide/guide_toc.cs" ?>
       </div>
@@ -39,7 +39,7 @@ def:guide_nav() ?>
 <?cs # The default side navigation for the reference docs ?><?cs 
 def:default_left_nav() ?>
   <div class="g-section g-tpl-240" id="body-content">
-    <div class="g-unit g-first" id="side-nav">
+    <div class="g-unit g-first" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
       <div id="swapper">
         <div id="nav-panels">
           <div id="resize-packages-nav">