docs: Moving library docs out of /tools/

The /tools/ top-level directory is going away when we move to devsite
(and the Android Studio docs get their own home) so I'm moving the
non-AS docs out of there. Also adding redirects (and fixing redirects
that pointed to the old locations).

For the time being, I'm also adding these libraries in to the
"API Guides" TOC, just so they're discoverable from somewhere; I'm
expecting this to change post-redesign.

See first comment for doc stage location.

bug: 28270787
Change-Id: I07488251384fbd22d2512a797793cf98654f54e7
This commit is contained in:
Andrew Solovay
2016-04-26 16:00:59 -07:00
parent a872460fd3
commit 7877f69ddd
10 changed files with 67 additions and 10 deletions

View File

@@ -24,11 +24,11 @@ redirects:
- from: /tools/debugging/debugging-projects-cmdline.html
to: /tools/debugging/index.html
- from: /sdk/compatibility-library.html
to: /tools/support-library/index.html
to: /go/libraries/support-library/index.html
- from: /tools/extras/support-library.html
to: /tools/support-library/index.html
to: /go/libraries/support-library/index.html
- from: /training/basics/fragments/support-lib.html
to: /tools/support-library/setup.html
to: /go/libraries/support-library/setup.html
- from: /sdk/eclipse-adt.html
to: /tools/sdk/eclipse-adt.html
- from: /sdk/RELEASENOTES.html
@@ -72,13 +72,11 @@ redirects:
- from: /tools/publishing/app-signing-eclipse.html
to: /tools/help/adt.html
- from: /tools/help/uiautomator/.*
to: /tools/testing-support-library/index.html
to: /go/libraries/testing-support/library/
- from: /tools/testing/testing_ui.html
to: /training/testing/ui-testing/index.html
- from: /tools/testing/activity_test.html
to: /training/testing/ui-testing/index.html
- from: /tools/data-binding/index.html
to: /tools/data-binding/guide.html
- from: /tools/testing/what_to_test.html
to: /distribute/essentials/quality/core.html
- from: /tools/testing/testing_accessibility.html
@@ -725,3 +723,14 @@ redirects:
to: https://commondatastorage.googleapis.com/androiddevelopers/shareables/
- from: /downloads/
to: https://commondatastorage.googleapis.com/androiddevelopers/
# Redirects for the new go/libraries/ area
- from: /tools/support-library
to: /go/libraries/support-library
- from: /tools/data-binding/...
to: /go/libraries/data-binding
- from: /tools/testing-support-library
to: /go/libraries/testing-support-library

View File

@@ -0,0 +1,17 @@
toc:
- title: Support Library
path: /tools/support-library/index.html
section:
- title: Features
path: /tools/support-library/features.html
- title: Setup
path: /tools/support-library/setup.html
- title: Data Binding Library
path: /tools/data-binding/guide.html
- title: Testing Support Library
path: /tools/testing-support-library/index.html
section:
- title: API Reference
path: /reference/android/support/test/package-summary.html

View File

@@ -1,4 +1,5 @@
page.title=Data Binding Guide
page.title=Data Binding Library
page.metaDescription=The Data Binding Library enables you to write declarative layouts.
page.tags="databinding", "layouts"
@jd:body

View File

@@ -0,0 +1,14 @@
page.title=Android Libraries
@jd:body
<p>This section describes several useful Android libraries that are not
included with the Android Framework.</p>
<div class="dynamic-grid">
<div class="resource-widget resource-flow-layout landing col-12"
data-query="collection:go/libraries"
data-cardSizes="6x6"
data-maxResults="6">
</div>
</div>

View File

@@ -34,11 +34,11 @@ page.title=Support Library Features
<h2>See also</h2>
<ol>
<li><a href="{@docRoot}tools/support-library/index.html#revisions">
<li><a href="{@docRoot}go/libraries/support-library/index.html#revisions">
Support Library Revisions</a></li>
<li><a href="{@docRoot}tools/support-library/setup.html">
<li><a href="{@docRoot}go/libraries/support-library/setup.html">
Support Library Setup</a></li>
<li><a href="{@docRoot}tools/testing-support-library/index.html">
<li><a href="{@docRoot}go/libraries/testing-support-library/index.html">
Testing Support Library</a></li>
</ol>

View File

@@ -1,4 +1,5 @@
page.title=Support Library
page.metaDescription=The Android Support Library offers backward-compatible versions of a number of features that are not built into the framework.
@jd:body

View File

@@ -1,4 +1,5 @@
page.title=Testing Support Library
page.metaDescription=The Android Testing Support Library provides an extensive framework for testing Android apps.
page.image=images/tools/studio-test-module.png
@jd:body

View File

@@ -365,6 +365,12 @@ toc:
- title: App Install Location
path: /guide/topics/data/install-location.html
- title: Libraries
path: /go/libraries/index.html
section:
- include: /go/libraries/_book.yaml
- title: Administration
path: /guide/topics/admin/index.html
section:

View File

@@ -4456,6 +4456,14 @@ METADATA['en'].collections = {
"https://support.google.com/googleplay/answer/2651410"
]
},
"go/libraries": {
"title": "",
"resources": [
"go/libraries/support-library/index.html",
"go/libraries/testing-support-library/index.html",
"go/libraries/data-binding/index.html"
]
},
"autolanding": {
"title": "",
"resources": [