forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redirects.yaml
46 lines (41 loc) · 1.76 KB
/
redirects.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Unconditionally redirects the first URL to the second.
# Wildcards ending in *: redirects all paths matching the prefix,
# replacing the prefix with the second path.
- /1.0/ /
# bulk redirects
# 0.5 to the legacy site
- /0.5/* https://docs-05-dot-polymer-project.appspot.com/0.5/
# yes, we really still get search results for these old URLs
- /0.8/* /1.0/
- /0.9/* /1.0/
- /1.0/blog/* /blog/
- /1.0/articles/* /blog/
- /1.0/docs/start/* /1.0/start/
- /1.0/tools/* /1.0/docs/tools/
- /1.0/start/samples/* /1.0/docs/devguide/samples/
- /1.0/start/psk/* /1.0/start/toolbox/
# 2.0 update
- /1.0/toolkit/* /2.0/toolkit/
# Individual redirects take precedence over bulk redirects
- /1.0/docs/devguide/utility-functions.html /1.0/docs/devguide/instance-methods
# final name may change
- /1.0/docs/start/reusableelements.html /1.0/docs/tools/reusable-elements
# Old page with this URL was actually "about Polymer 1.0", not a real landing page
- /1.0/docs/ /1.0/docs/about_10
# Moved quick tour from start to devguide
- /1.0/docs/start/quick-tour.html /1.0/docs/devguide/quick-tour
# Killed getting-the-code
- /1.0/docs/start/getting-the-code.html /1.0/start/
# Killed what-is-polymer
- /1.0/start/what-is-polymer.html /1.0/docs/devguide/feature-overview
# old API docs entry point
- /1.0/api/ /1.0/docs/api/Polymer.Base
# and just in case...
- /1.0/docs/api/ /1.0/docs/api/Polymer.Base
# There are some links out there on the web to the old vulcanize article.
- /articles/concatenating-web-components.html /1.0/docs/tools/optimize-for-production
- /0.5/articles/concatenating-web-components.html /1.0/docs/tools/optimize-for-production
# ------------------------------------------------------------------------------
# Note: keep these for the tests!
- /oldpage/ /
- /some/page/that/is/old.html /1.0/