@@ -16,7 +16,11 @@ module.exports = {
16
16
title : 'Home' ,
17
17
layout : ( ) => require ( './src/components/Page/Page.jsx' ) . default ,
18
18
content : ( ) => require . context ( './loaders/page-loader!./src/content' , false , / ^ \. \/ .* \. m d $ / ) ,
19
- index : ( ) => require ( './src/components/Splash/Splash.jsx' ) . default
19
+ index : ( ) => require ( './src/components/Splash/Splash.jsx' ) . default ,
20
+ redirects : {
21
+ 'support' : '/contribute' ,
22
+ 'writers-guide' : '/contribute/writers-guide'
23
+ }
20
24
} ,
21
25
concepts : {
22
26
title : 'Concepts' ,
@@ -104,6 +108,26 @@ module.exports = {
104
108
'compiler' : '/api/compiler' ,
105
109
'template' : '/api/template'
106
110
}
111
+ } ,
112
+ 'api/plugins' : {
113
+ redirects : {
114
+ 'compiler' : '/api/compiler' ,
115
+ 'compilation' : '/api/compilation' ,
116
+ 'module-factories' : '/api/module-factories' ,
117
+ 'parser' : '/api/parser' ,
118
+ 'tapable' : '/api/tapable' ,
119
+ 'template' : '/api/template' ,
120
+ 'resolver' : '/api/resolver'
121
+ }
122
+ } ,
123
+ development : {
124
+ redirects : {
125
+ '' : '/contribute' ,
126
+ 'plugin-patterns' : '/contribute/plugin-patterns' ,
127
+ 'release-process' : '/contribute/release-process' ,
128
+ 'how-to-write-a-loader' : '/contribute/writing-a-loader' ,
129
+ 'how-to-write-a-plugin' : '/contribute/writing-a-plugin'
130
+ }
107
131
}
108
132
}
109
133
} ;
0 commit comments