diff options
author | 2016-04-26 16:00:59 -0700 | |
---|---|---|
committer | 2016-04-28 13:36:06 -0700 | |
commit | 7877f69ddd5f195829a54df256a0f1215cf124ec (patch) | |
tree | 01f28bcac86e610b9011fafb2f504b377ee525fb | |
parent | a872460fd31c2cffde6ed467a43099590ad8aa7f (diff) |
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
-rw-r--r-- | docs/html/_redirects.yaml | 21 | ||||
-rw-r--r-- | docs/html/go/libraries/_book.yaml | 17 | ||||
-rw-r--r-- | docs/html/go/libraries/data-binding/index.jd (renamed from docs/html/tools/data-binding/guide.jd) | 3 | ||||
-rw-r--r-- | docs/html/go/libraries/index.jd | 14 | ||||
-rwxr-xr-x | docs/html/go/libraries/support-library/features.jd (renamed from docs/html/tools/support-library/features.jd) | 6 | ||||
-rw-r--r-- | docs/html/go/libraries/support-library/index.jd (renamed from docs/html/tools/support-library/index.jd) | 1 | ||||
-rwxr-xr-x | docs/html/go/libraries/support-library/setup.jd (renamed from docs/html/tools/support-library/setup.jd) | 0 | ||||
-rw-r--r-- | docs/html/go/libraries/testing-support-library/index.jd (renamed from docs/html/tools/testing-support-library/index.jd) | 1 | ||||
-rw-r--r-- | docs/html/guide/_book.yaml | 6 | ||||
-rw-r--r-- | docs/html/jd_extras_en.js | 8 |
10 files changed, 67 insertions, 10 deletions
diff --git a/docs/html/_redirects.yaml b/docs/html/_redirects.yaml index adb31b8d237d..545923f2e2b1 100644 --- a/docs/html/_redirects.yaml +++ b/docs/html/_redirects.yaml @@ -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 diff --git a/docs/html/go/libraries/_book.yaml b/docs/html/go/libraries/_book.yaml new file mode 100644 index 000000000000..209dae5980b5 --- /dev/null +++ b/docs/html/go/libraries/_book.yaml @@ -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 diff --git a/docs/html/tools/data-binding/guide.jd b/docs/html/go/libraries/data-binding/index.jd index 8bbd833e1589..ca8784ebfcfb 100644 --- a/docs/html/tools/data-binding/guide.jd +++ b/docs/html/go/libraries/data-binding/index.jd @@ -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 diff --git a/docs/html/go/libraries/index.jd b/docs/html/go/libraries/index.jd new file mode 100644 index 000000000000..2831d15e2eab --- /dev/null +++ b/docs/html/go/libraries/index.jd @@ -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> diff --git a/docs/html/tools/support-library/features.jd b/docs/html/go/libraries/support-library/features.jd index a5f343e89eb9..089357a5465e 100755 --- a/docs/html/tools/support-library/features.jd +++ b/docs/html/go/libraries/support-library/features.jd @@ -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> diff --git a/docs/html/tools/support-library/index.jd b/docs/html/go/libraries/support-library/index.jd index 64d43b80975f..663ece5f7d47 100644 --- a/docs/html/tools/support-library/index.jd +++ b/docs/html/go/libraries/support-library/index.jd @@ -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 diff --git a/docs/html/tools/support-library/setup.jd b/docs/html/go/libraries/support-library/setup.jd index 8fbcee156d32..8fbcee156d32 100755 --- a/docs/html/tools/support-library/setup.jd +++ b/docs/html/go/libraries/support-library/setup.jd diff --git a/docs/html/tools/testing-support-library/index.jd b/docs/html/go/libraries/testing-support-library/index.jd index ac21e3ac4637..6376e1db1335 100644 --- a/docs/html/tools/testing-support-library/index.jd +++ b/docs/html/go/libraries/testing-support-library/index.jd @@ -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 diff --git a/docs/html/guide/_book.yaml b/docs/html/guide/_book.yaml index 01099f0adb25..4163f0f494b6 100644 --- a/docs/html/guide/_book.yaml +++ b/docs/html/guide/_book.yaml @@ -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: diff --git a/docs/html/jd_extras_en.js b/docs/html/jd_extras_en.js index ad66f7973555..b1d7efccec3d 100644 --- a/docs/html/jd_extras_en.js +++ b/docs/html/jd_extras_en.js @@ -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": [ |