am e7866887: docs: M Preview landing page

* commit 'e78668876ed0dfc25fac604b5048509f72d92c53':
  docs: M Preview landing page
This commit is contained in:
Joe Fernandez
2015-05-07 06:29:57 +00:00
committed by Android Git Automerger
7 changed files with 85 additions and 7 deletions

View File

@ -1221,6 +1221,14 @@ var RESOURCE_COLLECTIONS = {
"https://support.google.com/googleplay/answer/2651410" "https://support.google.com/googleplay/answer/2651410"
] ]
}, },
"preview/landing/resources": {
"title": "",
"resources": [
"preview/api-overview.html",
"preview/setup-sdk.html",
"preview/samples.html"
]
},
"autolanding": { "autolanding": {
"title": "", "title": "",
"resources": [ "resources": [

View File

@ -13,6 +13,7 @@ var ALL_RESOURCES = mergeArrays(
GOOGLE_RESOURCES, GOOGLE_RESOURCES,
GUIDE_RESOURCES, GUIDE_RESOURCES,
SAMPLES_RESOURCES, SAMPLES_RESOURCES,
PREVIEW_RESOURCES,
TOOLS_RESOURCES, TOOLS_RESOURCES,
TRAINING_RESOURCES, TRAINING_RESOURCES,
YOUTUBE_RESOURCES, YOUTUBE_RESOURCES,
@ -70,6 +71,7 @@ var ALL_RESOURCES_BY_TYPE = {
'google': GOOGLE_RESOURCES, 'google': GOOGLE_RESOURCES,
'guide': GUIDE_RESOURCES, 'guide': GUIDE_RESOURCES,
'samples': SAMPLES_RESOURCES, 'samples': SAMPLES_RESOURCES,
'preview': PREVIEW_RESOURCES,
'tools': TOOLS_RESOURCES, 'tools': TOOLS_RESOURCES,
'training': TRAINING_RESOURCES, 'training': TRAINING_RESOURCES,
'youtube': YOUTUBE_RESOURCES, 'youtube': YOUTUBE_RESOURCES,
@ -86,6 +88,7 @@ var ALL_RESOURCES_BY_TAG = mergeMaps(
{map:GOOGLE_BY_TAG,arr:GOOGLE_RESOURCES}, {map:GOOGLE_BY_TAG,arr:GOOGLE_RESOURCES},
{map:GUIDE_BY_TAG,arr:GUIDE_RESOURCES}, {map:GUIDE_BY_TAG,arr:GUIDE_RESOURCES},
{map:SAMPLES_BY_TAG,arr:SAMPLES_RESOURCES}, {map:SAMPLES_BY_TAG,arr:SAMPLES_RESOURCES},
{map:PREVIEW_BY_TAG,arr:PREVIEW_RESOURCES},
{map:TOOLS_BY_TAG,arr:TOOLS_RESOURCES}, {map:TOOLS_BY_TAG,arr:TOOLS_RESOURCES},
{map:TRAINING_BY_TAG,arr:TRAINING_RESOURCES}, {map:TRAINING_BY_TAG,arr:TRAINING_RESOURCES},
{map:YOUTUBE_BY_TAG,arr:YOUTUBE_RESOURCES}, {map:YOUTUBE_BY_TAG,arr:YOUTUBE_RESOURCES},

View File

@ -1,5 +1,5 @@
page.title=API Overview page.title=API Overview
excludeFromSuggestions=true page.keywords=preview,sdk,compatibility
sdk.platform.apiLevel=22 sdk.platform.apiLevel=22
@jd:body @jd:body

View File

@ -0,0 +1,60 @@
page.title=M Developer Preview
page.tags=preview
meta.tags="preview"
fullpage=true
page.viewport_width=970
section.landing=true
header.hide=1
footer.hide=1
@jd:body
<section class="dac-expand dac-hero dac-light">
<div class="wrap">
<div class="cols dac-hero-content">
<div class="col-1of2 col-push-1of2 dac-hero-figure">
<img class="dac-hero-image" src="/design/media/hero-material-design.png">
</div>
<div class="col-1of2 col-pull-1of2">
<h1 class="dac-hero-title">M Developer Preview</h1>
<p class="dac-hero-description">
Get ready for the next official release of the platform. Test your apps
and give us feedback!
</p>
<a class="dac-hero-cta" href="{@docRoot}preview/setup-sdk.html">
<span class="dac-sprite dac-auto-chevron"></span>
Set up the Preview SDK
</a><br>
<a class="dac-hero-cta" href="{@docRoot}preview/api-overview.html">
<span class="dac-sprite dac-auto-chevron"></span>
Review the API changes
</a><br>
<a class="dac-hero-cta" href="https://code.google.com/p/android-developer-preview/">
<span class="dac-sprite dac-auto-chevron"></span>
Report issues
</a><br>
</div>
</div>
</div>
</section>
<section class="dac-section dac-gray dac-small dac-invert"><div class="wrap">
<h2 class="norule">Latest</h2>
<div class="resource-widget resource-flow-layout col-16"
data-query="collection:develop/landing/latest"
data-cardSizes="6x6"
data-maxResults="3"></div>
</div></section>
<section class="dac-section"><div class="wrap">
<h1 class="dac-section-title">Resources</h1>
<div class="dac-section-subtitle">
Check out these resources to help you get started with the M Developer Preview.
</div>
<div class="resource-widget resource-flow-layout col-16"
data-query="collection:preview/landing/resources"
data-cardSizes="6x6"
data-maxResults="6"></div>
</div></section>

View File

@ -0,0 +1,7 @@
page.title=Preview Program Overview
@jd:body
<p>
This is an overview of the program. Bacon.
</p>

View File

@ -1,5 +1,10 @@
<ul id="nav"> <ul id="nav">
<li class="nav-section">
<div class="nav-section-header empty"><a href="<?cs var:toroot ?>preview/overview.html">
Program Overview</a></div>
</li>
<li class="nav-section"> <li class="nav-section">
<div class="nav-section-header empty"><a href="<?cs var:toroot ?>preview/setup-sdk.html"> <div class="nav-section-header empty"><a href="<?cs var:toroot ?>preview/setup-sdk.html">
Set up the SDK</a></div> Set up the SDK</a></div>
@ -29,9 +34,4 @@
License Agreement</a></div> License Agreement</a></div>
</li> </li>
<li class="nav-section" style="margin: 20px 0 0 -10px;">
<div class="nav-section-header empty"><a href="<?cs var:toroot ?>index.html" class="back-link">
Developer Home</a></div>
</li>
</ul> </ul>

View File

@ -9,7 +9,7 @@ page.title=Reference
<ul> <ul>
<li> <li>
<a href="http://storage.googleapis.com/androiddevelopers/preview/l-developer-preview-reference.zip"> <a href="http://storage.googleapis.com/androiddevelopers/preview/m-developer-preview-reference.zip">
M Developer Preview reference</a> M Developer Preview reference</a>
</li> </li>
</ul> </ul>