OSDN Git Service

Merge "Update Android mediamuxer documentation." into nyc-dev
[android-x86/frameworks-base.git] / docs / html / _redirects.yaml
1 # WARNING: THIS FILE IS NOT USED IN PRODUCTION
2 # CHANGES MADE HERE **DO NOT EFFECT** developer.android.com
3
4 # Instead, update the following file in the current docs release branch:
5 # <docs-release-branch>/vendor/google/docs/app-engine-server/v3/redirects.yaml
6
7 #=============================================================================
8 # Redirects file.
9 # This file contains the list of rewrite rules that are applied when serving
10 # pages. Add "pattern: True" to use python regex in to or from.
11 #
12 #   WATCH OUT -- FROM LINE HAS TO START WITH A HYPHEN
13
14 redirects:
15 - from: ^/sdk/android-(.*$)
16   to: /about/versions/android-\1
17   pattern: True
18
19 - from: /about/versions/index.html
20   to: /about/index.html
21
22 - from: /about/versions/api-levels.html
23   to: /guide/topics/manifest/uses-sdk-element.html#ApiLevels
24
25 - from: /sdk/adding-components.html
26   to: /sdk/exploring.html
27
28 - from: /sdk/compatibility-library.html
29   to: /tools/support-library/index.html
30
31 - from: /training/basics/fragments/support-lib.html
32   to: /tools/support-library/setup.html
33
34 - from: /sdk/eclipse-adt.html
35   to: /tools/sdk/eclipse-adt.html
36
37 - from: /sdk/installing.html
38   to: /sdk/installing/index.html
39
40 - from: /sdk/installing/next.html
41   to: /training/basics/firstapp/index.html
42
43 - from: /sdk/ndk/overview.html
44   to: /tools/sdk/ndk/index.html
45
46 - from: /sdk/ndk/...
47   to: /tools/sdk/ndk/...
48
49 - from: /sdk/oem-usb.html
50   to: /tools/extras/oem-usb.html
51
52 - from: /sdk/tools-notes.html
53   to: /tools/sdk/tools-notes.html
54
55 - from: /sdk/requirements.html
56   to: /sdk/index.html
57
58 # ------------------- GUIDE -------------------
59
60 - from: /guide/market/...
61   to: /google/play/...
62
63 - from: /guide/google/gcm/client-javadoc/...
64   to: /reference/com/google/android/gcm/package-summary.html
65
66 - from: /guide/google/gcm/server-javadoc/...
67   to: /reference/com/google/android/gcm/server/package-summary.html
68
69 - from: /google/play-services/auth.html
70   to: /google/auth/http-auth.html
71
72 - from: /guide/google/play/services.html
73   to: /google/play-services/index.html
74
75 - from: /guide/google/...
76   to: /google/...
77
78 - from: /guide/publishing/licensing.html
79   to: /google/play/licensing/index.html
80
81 - from: /google/play/billing/billing_about.html
82   to: /google/play/billing/index.html
83
84 - from: /guide/developing/tools/...
85   to: /tools/help/...
86
87 - from: /guide/developing/...
88   to: /tools/...
89
90 - from: /tools/aidl.html
91   to: /guide/components/aidl.html
92
93 - from: /guide/publishing/publishing.html
94   to: /distribute/tools/launch-checklist.html
95
96 - from: /guide/publishing/...
97   to: /tools/publishing/...
98
99 - from: /guide/topics/fundamentals.html
100   to: /guide/components/fundamentals.html
101
102 - from: /guide/topics/intents/intents-filters.html
103   to: /guide/components/intents-filters.html
104
105 - from: /guide/topics/fundamentals/...
106   to: /guide/components/...
107
108 - from: /guide/topics/clipboard/copy-paste.html
109   to: /guide/topics/text/copy-paste.html
110
111 - from: /guide/topics/ui/notifiers/index.html
112   to: /guide/topics/ui/notifiers/notifications.html
113
114 - from: /guide/topics/wireless/...
115   to: /guide/topics/connectivity/...
116
117 - from: /guide/topics/drawing/...
118   to: /guide/topics/graphics/opengl.html
119
120 - from: /guide/topics/connectivity/usb/adk.html
121   to: /tools/adk/index.html
122
123 - from: /tools/workflow/publishing/versioning.html
124   to: /tools/publishing/versioning.html
125
126 - from: /tools/workflow/publishing/publishing.html
127   to: /tools/publishing/publishing_overview.html
128
129 - from: /tools/workflow/publishing_overview.html
130   to: /tools/publishing/publishing_overview.html
131
132 - from: /tools/workflow/publishing/publishing_overview.html
133   to: /tools/publishing/publishing_overview.html
134
135 - from: /tools/workflow/app-signing.html
136   to: /tools/publishing/app-signing.html
137
138 - from: /tools/adk/aoa.html
139   to: http://source.android.com/tech/accessories/aoap/aoa.html
140
141 - from: /tools/adk/aoa2.html
142   to: http://source.android.com/tech/accessories/aoap/aoa2.html
143
144 - from: /guide/topics/usb/...
145   to: /guide/topics/connectivity/usb/...
146
147 - from: /guide/appendix/api-levels.html
148   to: /guide/topics/manifest/uses-sdk-element.html#ApiLevels
149
150 - from: /guide/appendix/install-location.html
151   to: /guide/topics/data/install-location.html
152
153 - from: /guide/basics/...
154   to: /about/index.html
155
156 - from: /guide/topics/security/security.html
157   to: /training/articles/security-tips.html
158
159 - from: /guide/topics/security/index.html
160   to: /training/articles/security-tips.html
161
162 - from: /guide/appendix/market-filters.html
163   to: /google/play/filters.html
164
165 - from: /guide/topics/testing/...
166   to: /tools/testing/...
167
168 - from: /guide/topics/graphics/animation.html
169   to: /guide/topics/graphics/overview.html
170
171 - from: /guide/topics/graphics/renderscript.html
172   to: /guide/topics/renderscript/index.html
173
174 - from: /guide/topics/graphics/renderscript/
175   to: /guide/topics/renderscript/index.html
176
177 - from: /guide/topics/location/obtaining-user-location.html
178   to: /guide/topics/location/strategies.html
179
180 - from: /guide/topics/nfc/...
181   to: /guide/topics/connectivity/nfc/...
182
183 - from: /guide/topics/wireless/...
184   to: /guide/topics/connectivity/...
185
186 - from: /guide/topics/network/...
187   to: /guide/topics/connectivity/...
188
189 - from: /resources/articles/creating-input-method.html
190   to: /guide/topics/text/creating-input-method.html
191
192 - from: /resources/articles/spell-checker-framework.html
193   to: /guide/topics/text/spell-checker-framework.html
194
195 - from: /resources/tutorials/notepad/...
196   to: /training/notepad/...
197
198 - from: /resources/faq/...
199   to: /guide/faq/...
200
201 - from: /resources/tutorials/hello-world.html
202   to: /training/basics/firstapp/index.html
203
204 # add the rest of the tutorials here
205
206 - from: /guide/practices/design/...
207   to: /guide/practices/...
208
209 - from: /guide/practices/accessibility.html
210   to: /guide/topics/ui/accessibility/index.html
211
212 # move best practices to training
213
214 - from: /guide/practices/app-design/performance.html
215   to: /training/articles/perf-tips.html
216
217 - from: /guide/practices/performance.html
218   to: /training/articles/perf-tips.html
219
220 - from: /guide/practices/app-design/responsiveness.html
221   to: /training/articles/perf-anr.html
222
223 - from: /guide/practices/responsiveness.html
224   to: /training/articles/perf-anr.html
225
226 - from: /guide/practices/security.html
227   to: /training/articles/security-tips.html
228
229 - from: /guide/practices/jni.html
230   to: /training/articles/perf-jni.html
231
232 - from: /guide/tutorials/...
233   to: /resources/tutorials/...
234
235 # move ui docs to design
236
237 - from: /guide/practices/ui_guidelines/index.html
238   to: /design/index.html
239
240 - from: /guide/practices/ui_guidelines/icon_design.*
241   to: /design/style/iconography.html
242
243 - from: /guide/practices/ui_guidelines/activity_task_design.html
244   to: /design/patterns/app-structure.html
245
246 - from: /guide/practices/ui_guidelines/menu_design.html
247   to: /design/patterns/actionbar.html
248
249
250 # ------------------- RESOURCES -------------------
251
252 - from: /resources/dashboard/...
253   to: /about/dashboards/index.html
254
255 - from: /resources/community-groups.html
256   to: /support.html
257
258 - from: /resources/tutorials/views/hello-linearlayout.html
259   to: /guide/topics/ui/layout/linear.html
260
261 - from: /resources/tutorials/views/hello-relativelayout.html
262   to: /guide/topics/ui/layout/relative.html
263
264 - from: /resources/tutorials/views/hello-listview.html
265   to: /guide/topics/ui/layout/listview.html
266
267 - from: /resources/tutorials/views/hello-gridview.html
268   to: /guide/topics/ui/layout/gridview.html
269
270 - from: /resources/tutorials/views/hello-webview.html
271   to: /guide/webapps/webview.html
272
273 - from: /resources/tutorials/views/hello-formstuff.html
274   to: /guide/topics/ui/controls.html
275
276 - from: /resources/tutorials/views/hello-datepicker.html
277   to: /guide/topics/ui/controls/pickers.html
278
279 - from: /resources/tutorials/views/hello-timepicker.html
280   to: /guide/topics/ui/controls/pickers.html
281
282 - from: /resources/tutorials/views/hello-autocomplete.html
283   to: /guide/topics/ui/controls/text.html
284
285 - from: /resources/tutorials/views/hello-spinner.html
286   to: /guide/topics/ui/controls/spinner.html
287
288 - from: /resources/tutorials/opengl/opengl-es10.html
289   to: /training/graphics/opengl/index.html
290
291 - from: /resources/tutorials/opengl/opengl-es20.html
292   to: /training/graphics/opengl/index.html
293
294 - from: /resources/tutorials/views/hello-mapview.html
295   to: https://developers.google.com/maps/documentation/android/hello-mapview
296
297 - from: /resources/tutorials/views/...
298   to: /guide/topics/ui/declaring-layout.html#CommonLayouts
299
300 - from: /guide/topics/ui/layout-objects.html
301   to: /guide/topics/ui/declaring-layout.html#CommonLayouts
302
303 - from: /resources/tutorials/localization/...
304   to: /training/basics/supporting-devices/languages.html
305
306 - from: /resources/samples/...
307   to: /tools/samples/index.html
308
309 - from: /guide/
310   to: /guide/components/index.html
311   # comment: this redirects guide/ and guide/index.html only
312
313 # ------------------- TRAINING -------------------
314
315 - from: /guide/topics/ui/layout/tabs.html
316   to: /training/implementing-navigation/lateral.html
317
318 - from: /training/cloudsync/aesync.html
319   to: /google/gcm/index.html
320
321 - from: /training/basics/location/...
322   to: /training/location/...
323
324 # -------------------- MISC ----------------------
325
326 - from: /shareables/training/BitmapFun.zip
327   to: /downloads/samples/DisplayingBitmaps.zip
328
329 - from: /shareables/auto/AndroidAuto-audio-apps.pdf
330   to: http://google.com/design/spec-auto/audio-apps/design-principles.html
331
332 - from: /shareables/auto/AndroidAuto-messaging-apps.pdf
333   to: http://google.com/design/spec-auto/messaging-apps/voice-based-messaging.html
334
335 - from: /shareables/auto/AndroidAuto-custom-colors.pdf
336   to: http://google.com/design/spec-auto/colors-branding/color-themes.html
337
338 - from: /shareables/...
339   to: http://commondatastorage.googleapis.com/androiddevelopers/shareables/...
340
341 - from: /downloads/...
342   to: http://commondatastorage.googleapis.com/androiddevelopers/...
343
344 - from: /search.html
345   to: /index.html
346
347 - from: /videos/index.html
348   to: /develop/index.html
349
350 - from: /live/index.html
351   to: https://developers.google.com/live/
352
353 # ---------- PLATFORM VERSIONS ----------------
354
355 - from: /4.2
356   to: /about/versions/android-4.2.html
357
358 - from: /4.1
359   to: /about/versions/android-4.1.html
360
361 - from: /4.0
362   to: /about/versions/android-4.0.html
363
364 - from: /(j|jb|jellybean)/?$
365   to: /about/versions/jelly-bean.html
366   pattern: True
367
368 - from: /(i|ics|icecreamsandwich)/?$
369   to: /about/versions/android-4.0-highlights.html
370   pattern: True
371
372 - from: /(h|hc|honeycomb)/?$
373   to: /about/versions/android-3.0-highlights.html
374   pattern: True
375
376 - from: /(g|gb|gingerbread)/?$
377   to: /about/versions/android-2.3-highlights.html
378   pattern: True
379
380 # ---------- MISC -----------------
381
382 - from: /\+/?$
383   to: https://plus.google.com/108967384991768947849/posts
384   pattern: True
385
386 - from: /blog
387   to: http://android-developers.blogspot.com
388
389 - from: /stats
390   to: /about/dashboards/index.html
391
392 - from: /youtube
393   to: http://www.youtube.com/user/androiddevelopers
394
395 - from: /playbadge
396   to: http://developer.android.com/distribute/googleplay/promote/badges.html
397
398 - from: /deviceart
399   to: http://developer.android.com/distribute/promote/device-art.html
400
401 - from: /edu/signup
402   to: https://services.google.com/fb/forms/playedu
403
404 - from: /edu
405   to: /distribute/googleplay/edu/index.html
406
407 - from: /preview/google-play-services-wear.html
408   to: /training/building-wearables.html
409
410 # ---------- DISTRIBUTE ------------------
411 - from: /distribute/tools/promote/badge-files.html
412   to: /distribute/tools/promote/badges.html