2016-05-27 11:48:08 +08:00
|
|
|
const contentTmpl = './template/Content/index';
|
|
|
|
|
2016-06-03 13:21:27 +08:00
|
|
|
module.exports = {
|
2016-03-07 11:35:23 +08:00
|
|
|
categoryOrder: {
|
|
|
|
组件: 0,
|
2016-03-15 11:19:57 +08:00
|
|
|
十大原则: 0,
|
|
|
|
设计基础: 1,
|
|
|
|
动画: 2,
|
2016-03-07 11:35:23 +08:00
|
|
|
},
|
|
|
|
typeOrder: {
|
2016-05-11 14:21:01 +08:00
|
|
|
Basic: 0,
|
2016-06-27 18:21:12 +08:00
|
|
|
'Form Controls': 1,
|
|
|
|
Views: 2,
|
2016-05-11 14:21:01 +08:00
|
|
|
Navigation: 3,
|
|
|
|
Other: 4,
|
2016-03-07 11:35:23 +08:00
|
|
|
},
|
2016-03-17 15:46:07 +08:00
|
|
|
docVersions: {
|
|
|
|
'0.9.x': 'http://09x.ant.design/',
|
|
|
|
'0.10.x': 'http://010x.ant.design/',
|
|
|
|
'0.11.x': 'http://011x.ant.design/',
|
2016-05-08 16:52:39 +08:00
|
|
|
'0.12.x': 'http://012x.ant.design/',
|
2016-05-11 09:32:33 +08:00
|
|
|
},
|
2016-05-27 11:48:08 +08:00
|
|
|
routes: {
|
|
|
|
'/': './template/Home/index',
|
|
|
|
'/docs/practice/:children': contentTmpl,
|
|
|
|
'/docs/pattern/:children': contentTmpl,
|
|
|
|
'/docs/react/:children': contentTmpl,
|
2016-06-03 15:51:44 +08:00
|
|
|
'/changelog': contentTmpl,
|
2016-05-27 11:48:08 +08:00
|
|
|
'/components/:children': contentTmpl,
|
|
|
|
'/docs/spec/:children': contentTmpl,
|
|
|
|
'/docs/resource/:children': contentTmpl,
|
|
|
|
},
|
2016-03-07 11:35:23 +08:00
|
|
|
};
|