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