ant-design/site/theme/index.js

55 lines
1.2 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,
Principles: 0,
设计基础: 1,
'Design Fundamental': 1,
2016-03-07 11:35:23 +08:00
},
typeOrder: {
General: 0,
Layout: 1,
Navigation: 2,
'Data Entry': 3,
'Data Display': 4,
Feedback: 5,
Localization: 6,
2016-11-14 15:53:47 +08:00
Other: 7,
2016-03-07 11:35:23 +08:00
},
2016-03-17 15:46:07 +08:00
docVersions: {
2016-10-10 21:04:20 +08:00
'0.9.x': 'http://09x.ant.design',
'0.10.x': 'http://010x.ant.design',
'0.11.x': 'http://011x.ant.design',
'0.12.x': 'http://012x.ant.design',
'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
};