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: {
|
2016-07-26 15:24:48 +08:00
|
|
|
path: '/',
|
|
|
|
component: './template/Layout/index',
|
|
|
|
indexRoute: { component: './template/Home/index' },
|
|
|
|
childRoutes: [{
|
|
|
|
path: '/docs/practice/:children',
|
|
|
|
component: contentTmpl,
|
|
|
|
}, {
|
|
|
|
path: '/docs/pattern/:children',
|
|
|
|
component: contentTmpl,
|
|
|
|
}, {
|
|
|
|
path: '/docs/react/:children',
|
|
|
|
component: contentTmpl,
|
|
|
|
}, {
|
|
|
|
path: '/changelog',
|
|
|
|
component: contentTmpl,
|
|
|
|
}, {
|
|
|
|
path: '/components/:children',
|
|
|
|
component: contentTmpl,
|
|
|
|
}, {
|
|
|
|
path: '/docs/spec/:children',
|
|
|
|
component: contentTmpl,
|
|
|
|
}, {
|
|
|
|
path: '/docs/resource/:children',
|
|
|
|
component: contentTmpl,
|
|
|
|
}],
|
2016-05-27 11:48:08 +08:00
|
|
|
},
|
2016-03-07 11:35:23 +08:00
|
|
|
};
|