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/... 330 to: http://commondatastorage.googleapis.com/androiddevelopers/shareables/... 331 332 - from: /downloads/... 333 to: http://commondatastorage.googleapis.com/androiddevelopers/... 334 335 - from: /search.html 336 to: /index.html 337 338 - from: /videos/index.html 339 to: /develop/index.html 340 341 - from: /live/index.html 342 to: https://developers.google.com/live/ 343 344 # ---------- PLATFORM VERSIONS ---------------- 345 346 - from: /4.2 347 to: /about/versions/android-4.2.html 348 349 - from: /4.1 350 to: /about/versions/android-4.1.html 351 352 - from: /4.0 353 to: /about/versions/android-4.0.html 354 355 - from: /(j|jb|jellybean)/?$ 356 to: /about/versions/jelly-bean.html 357 pattern: True 358 359 - from: /(i|ics|icecreamsandwich)/?$ 360 to: /about/versions/android-4.0-highlights.html 361 pattern: True 362 363 - from: /(h|hc|honeycomb)/?$ 364 to: /about/versions/android-3.0-highlights.html 365 pattern: True 366 367 - from: /(g|gb|gingerbread)/?$ 368 to: /about/versions/android-2.3-highlights.html 369 pattern: True 370 371 # ---------- MISC ----------------- 372 373 - from: /\+/?$ 374 to: https://plus.google.com/108967384991768947849/posts 375 pattern: True 376 377 - from: /blog 378 to: http://android-developers.blogspot.com 379 380 - from: /stats 381 to: /about/dashboards/index.html 382 383 - from: /youtube 384 to: http://www.youtube.com/user/androiddevelopers 385 386 - from: /playbadge 387 to: http://developer.android.com/distribute/googleplay/promote/badges.html 388 389 - from: /deviceart 390 to: http://developer.android.com/distribute/promote/device-art.html 391 392 - from: /edu/signup 393 to: https://services.google.com/fb/forms/playedu 394 395 - from: /edu 396 to: /distribute/googleplay/edu/index.html 397 398 - from: /preview/google-play-services-wear.html 399 to: /training/building-wearables.html