forked from AvaloniaUI/avalonia-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathredirects.js
126 lines (124 loc) · 4.13 KB
/
redirects.js
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// see https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects
// can be tested with this script https://gist.github.com/maxkatz6/760bc0615b1af2ead4bf1f0582fdcd10
const config = {
redirects: [{
from: '/docs/getting-started/ide-support/jetbrains-rider-setup',
to: '/docs/getting-started/jetbrains-rider-setup',
},
{
from: '/docs/getting-started/UnhandledExceptions',
to: '/docs/getting-started/unhandled-exceptions',
},
{
from: '/docs/data-binding/compiledbindings',
to: '/docs/data-binding/compiled-bindings',
},
{
from: '/docs/controls/button',
to: '/docs/controls/buttons/button',
},
{
from: '/docs/controls/radiobutton',
to: '/docs/controls/buttons/radiobutton',
},
{
from: '/docs/controls/buttonspinner',
to: '/docs/controls/buttons/buttonspinner',
},
{
from: '/docs/controls/repeatbutton',
to: '/docs/controls/buttons/repeatbutton',
},
{
from: '/docs/controls/togglebutton',
to: '/docs/controls/buttons/togglebutton',
},
{
from: '/docs/controls/SplitButton',
to: '/docs/controls/buttons/splitbutton',
},
{
from: '/docs/controls/ToggleSplitButton',
to: '/docs/controls/buttons/togglesplitbutton',
},
{
from: '/docs/controls/tray-icon',
to: '/docs/controls/trayicon',
},
{
from: '/docs/controls/treeview-1',
to: '/docs/controls/treeview',
},
{
from: '/docs/templates/implement-IDataTemplate',
to: '/docs/templates/implement-idatatemplates',
},
{
from: '/docs/animations/PageTransitions',
to: '/docs/animations/page-transitions',
},
{
from: '/docs/misc/community',
to: '/docs/community'
},
{
from: '/docs/misc/faq',
to: '/docs/faq'
},
{
from: '/docs/misc/wpf/styling',
to: '/docs/wpf-developer-tips/styling'
},
{
from: '/docs/misc/wpf/datatemplates',
to: '/docs/wpf-developer-tips/datatemplates'
},
{
from: '/docs/misc/wpf/hierachicaldatatemplate',
to: '/docs/wpf-developer-tips/hierachicaldatatemplate'
},
{
from: '/docs/misc/wpf/uielement-frameworkelement-and-control',
to: '/docs/wpf-developer-tips/uielement-frameworkelement-and-control'
},
{
from: '/docs/misc/wpf/dependencyproperty',
to: '/docs/wpf-developer-tips/dependencyproperty'
},
{
from: '/docs/misc/wpf/grid',
to: '/docs/wpf-developer-tips/grid'
},
{
from: '/docs/misc/wpf/itemscontrol',
to: '/docs/wpf-developer-tips/itemscontrol'
},
{
from: '/docs/misc/wpf/tunnelling-events',
to: '/docs/wpf-developer-tips/tunnelling-events'
},
{
from: '/docs/misc/wpf/class-handlers',
to: '/docs/wpf-developer-tips/class-handlers'
},
{
from: '/docs/misc/wpf/propertychangedcallback',
to: '/docs/wpf-developer-tips/propertychangedcallback'
},
{
from: '/docs/misc/wpf/rendertransforms-and-rendertransformorigin',
to: '/docs/wpf-developer-tips/rendertransforms-and-rendertransformorigin'
},
// Can't be redirected, as plugin treats it as the same file
// {
// from: '/docs/controls/TransitioningContentControl',
// to: '/docs/controls/transitioningcontentcontrol',
// },
// Can't be redirected by the plugin, as it's not a part of documentation anymore.
// {
// from: '/misc/projects-that-are-using-avalonia',
// to: 'https://avaloniaui.net/Showcase'
// }
]
};
module.exports = config;