ant-design/site/theme/index.js

52 lines
1.1 KiB
JavaScript
Raw Normal View History

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,
十大原则: 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-09-21 17:29:04 +08:00
'1.x': 'http://1x.ant.design/',
2016-05-11 09:32:33 +08:00
},
routes: {
2016-07-26 15:24:48 +08:00
path: '/',
component: './template/Layout/index',
indexRoute: { component: './template/Home/index' },
childRoutes: [{
2016-07-26 17:40:08 +08:00
path: 'docs/practice/:children',
2016-07-26 15:24:48 +08:00
component: contentTmpl,
}, {
2016-07-26 17:40:08 +08:00
path: 'docs/pattern/:children',
2016-07-26 15:24:48 +08:00
component: contentTmpl,
}, {
2016-07-26 17:40:08 +08:00
path: 'docs/react/:children',
2016-07-26 15:24:48 +08:00
component: contentTmpl,
}, {
2016-07-26 17:40:08 +08:00
path: 'changelog',
2016-07-26 15:24:48 +08:00
component: contentTmpl,
}, {
2016-08-03 15:41:18 +08:00
path: 'components/:children/',
2016-07-26 15:24:48 +08:00
component: contentTmpl,
}, {
2016-07-26 17:40:08 +08:00
path: 'docs/spec/:children',
2016-07-26 15:24:48 +08:00
component: contentTmpl,
}, {
2016-07-26 17:40:08 +08:00
path: 'docs/resource/:children',
2016-07-26 15:24:48 +08:00
component: contentTmpl,
}],
},
2016-03-07 11:35:23 +08:00
};