mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
882cec62d6
* docs: Add components overview page * fix detail * remove ContributorsList form overview page * fix components url * improve code style * remove extra file * fix detail * fix lint * fix lint * docs: Finish components overview page * fix lint * docs: Update cover * fix lint * update cover * update menu * improve overview page * refactor code * fix order * update title * add components count * fix overview page ssr bug * move less file * update title margin Co-authored-by: arvinxx <arvinx@foxmail.com>
53 lines
1.0 KiB
JavaScript
53 lines
1.0 KiB
JavaScript
module.exports = {
|
|
categoryOrder: {
|
|
'Ant Design': 0,
|
|
全局样式: 1,
|
|
'Global Styles': 1,
|
|
设计模式: 2,
|
|
'Design Patterns': 2,
|
|
'设计模式 - 探索': 3,
|
|
'Design Patterns (Research)': 3,
|
|
Components: 100,
|
|
组件: 100,
|
|
},
|
|
typeOrder: {
|
|
// Component
|
|
Overview: -1,
|
|
General: 0,
|
|
Layout: 1,
|
|
Navigation: 2,
|
|
'Data Entry': 3,
|
|
'Data Display': 4,
|
|
Feedback: 5,
|
|
Other: 6,
|
|
Deprecated: 7,
|
|
|
|
组件总览: -1,
|
|
通用: 0,
|
|
布局: 1,
|
|
导航: 2,
|
|
数据录入: 3,
|
|
数据展示: 4,
|
|
反馈: 5,
|
|
其他: 6,
|
|
废弃: 7,
|
|
|
|
// Design
|
|
原则: 1,
|
|
Principles: 1,
|
|
全局规则: 2,
|
|
'Global Rules': 2,
|
|
模板文档: 3,
|
|
'Template Document': 3,
|
|
},
|
|
docVersions: {
|
|
'3.x': 'http://3x.ant.design',
|
|
'2.x': 'http://2x.ant.design',
|
|
'1.x': 'http://1x.ant.design',
|
|
'0.12.x': 'http://012x.ant.design',
|
|
'0.11.x': 'http://011x.ant.design',
|
|
'0.10.x': 'http://010x.ant.design',
|
|
'0.9.x': 'http://09x.ant.design',
|
|
},
|
|
};
|