-
Notifications
You must be signed in to change notification settings - Fork 13
/
redirects.yaml
92 lines (76 loc) · 3.4 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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/ /
- /2.0/ /
# Landing page redirect
- / https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview
# 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/classes/Polymer.Base
# and just in case...
- /1.0/docs/api/ /1.0/docs/api/classes/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
# 1.0 docs from Analyzer are now organized like 2.0 docs
- /1.0/docs/api/Polymer.Base /1.0/docs/api/classes/Polymer.Base
- /1.0/docs/api/Polymer.Templatizer /1.0/docs/api/behaviors/Polymer.Templatizer
- /1.0/docs/api/array-selector /1.0/docs/api/elements/array-selector
- /1.0/docs/api/custom-style /1.0/docs/api/elements/custom-style
- /1.0/docs/api/dom-bind /1.0/docs/api/elements/dom-bind
- /1.0/docs/api/dom-if /1.0/docs/api/elements/dom-if
- /1.0/docs/api/dom-repeat /1.0/docs/api/elements/dom-repeat
- /1.0/docs/api/dom-template /1.0/docs/api/elements/dom-template
# 2.0 content shuffle
- /2.0/docs/tools/optimize-for-production /2.0/toolbox/build-for-production
- /2.0/toolbox/server /2.0/toolbox/prpl
- /1.0/about /about
# 3.0 => classic site restructure
- /3.0/docs/api/* __site_classic__/3.0/api/
- /3.0/toolbox/* __site_classic__/3.0/docs/apps/
- /3.0/start/* __site_classic__/3.0/docs/
- /3.0/* __site_classic__/3.0/
- /2.0/docs/api/* __site_classic__/2.0/api/
- /2.0/toolbox/* __site_classic__/2.0/docs/apps/
- /2.0/start/* __site_classic__/2.0/docs/
- /2.0/* __site_classic__/2.0/
- /1.0/docs/api/* __site_classic__/1.0/api/
- /1.0/toolbox/* __site_classic__/1.0/docs/apps/
- /1.0/start/* __site_classic__/1.0/docs/
- /1.0/* __site_classic__/1.0/
# ------------------------------------------------------------------------------
# Note: keep these for the tests!
- /oldpage/ /
- /some/page/that/is/old.html /1.0/
# Polymer Summit site
- /summit https://summit.polymer-project.org/
- /summit/ https://summit.polymer-project.org/
# Slack invite redirect
# (Needs to be updated periodically)
- /slack-invite https://join.slack.com/t/polymer/shared_invite/zt-llwznvsy-LZwT13R66gOgnrg12PUGqw