Skip to content

Commit

Permalink
docs: update links
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed Apr 27, 2016
1 parent cd5a944 commit 5cbc8fc
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 18 deletions.
3 changes: 2 additions & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script>
location.href = '/#' + location.pathname.replace('#', '?scrollTo=');
var prefix = /^\/components/.test(location.pathname) ? location.pathname.replace(/^\//, '').split('/').join('-') : '';
location.href = '/#' + location.pathname.replace(/\/?#/, '?scrollTo=' + prefix);
</script>
2 changes: 1 addition & 1 deletion docs/react/introduce.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import 'antd/lib/index.css'; // or 'antd/style/index.less'
## 链接

- [首页](http://ant.design/)
- [修改记录](http://ant.design/changelog)
- [修改记录](/components/changelog)
- [开发脚手架](https://github.com/ant-design/antd-init/)
- [开发工具文档](http://ant-tool.github.io/)
- [React 组件](http://react-component.github.io/)
Expand Down
2 changes: 1 addition & 1 deletion docs/react/upgrade-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ order: 4
english: 升级指南
---

此处着重列出升级中的不兼容变化和推荐改动。所有变动请见 [Changelog](/changelog)
此处着重列出升级中的不兼容变化和推荐改动。所有变动请见 [Changelog](/components/changelog)

## 0.11 => 0.12

Expand Down
2 changes: 1 addition & 1 deletion docs/spec/alignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ english: 对齐

冒号对齐(右对齐)能让内容锁定在一定范围内,让用户眼球顺着冒号的视觉流,就能找到所有填写项,从而提高填写效率。

更多对齐方式,请查看[『模式/表单/规格/对齐方式』](../pattern/form#对齐方式)
更多对齐方式,请查看[『模式/表单/规格/对齐方式』](/docs/pattern/form#对齐方式)

---

Expand Down
2 changes: 1 addition & 1 deletion docs/spec/direct.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ english: 直截了当
<br>

更多有关『页内编辑』的模式,可查看[『模式/表格/交互』](../pattern/table#模块编辑)中的内容。
更多有关『页内编辑』的模式,可查看[『模式/表格/交互』](/docs/pattern/table#模块编辑)中的内容。

<br>

Expand Down
2 changes: 1 addition & 1 deletion docs/spec/lightweight.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ english: 简化交互

如果操作不重要或者可以通过其他途径完成时,可以将工具放置在用户的操作流程中,减少界面元素,降低认知负担,给用户小惊喜。

此处也可以运用[『提供邀请』](../spec/invitation) 相关的知识点。
此处也可以运用[『提供邀请』](/docs/spec/invitation) 相关的知识点。

<br>

Expand Down
20 changes: 10 additions & 10 deletions docs/spec/principle.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ english: 引言

#### Ant Design 十大设计原则

- [亲密性 Proximity](./proximity)
- [对齐 Alignment](./alignment)
- [对比 Contrast](./contrast)
- [重复 Repetition](./repetition)
- [直截了当 Make it Direct](./direct)
- [简化交互 Keep it Lightweight](./lightweight)
- [足不出户 Stay in the Page](./stay)
- [提供邀请 Provide Invitation](./invitation)
- [巧用过渡 Use Transition](./transition)
- [即时反应 React Immediately](./reaction)
- [亲密性 Proximity](/docs/spec/proximity)
- [对齐 Alignment](/docs/spec/alignment)
- [对比 Contrast](/docs/spec/contrast)
- [重复 Repetition](/docs/spec/repetition)
- [直截了当 Make it Direct](/docs/spec/direct)
- [简化交互 Keep it Lightweight](/docs/spec/lightweight)
- [足不出户 Stay in the Page](/docs/spec/stay)
- [提供邀请 Provide Invitation](/docs/spec/invitation)
- [巧用过渡 Use Transition](/docs/spec/transition)
- [即时反应 React Immediately](/docs/spec/reaction)
4 changes: 2 additions & 2 deletions docs/spec/reaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ english: 即时反应

<br>

微调搜索:随着用户调整搜索条件,实时调整搜索结构。具体可见:[『模式/高级搜索』](../pattern/advanced-search)
微调搜索:随着用户调整搜索条件,实时调整搜索结构。具体可见:[『模式/高级搜索』](/docs/pattern/advanced-search)

<br>

Expand All @@ -48,7 +48,7 @@ english: 即时反应
<br>

渐进式展现:在必要的时候提供必要的提示,而不是一股脑儿显示所有提示,导致界面混乱,增加认知负担。案例详见[『足不出户/渐进式展现』](../spec/stay#流程处理)
渐进式展现:在必要的时候提供必要的提示,而不是一股脑儿显示所有提示,导致界面混乱,增加认知负担。案例详见[『足不出户/渐进式展现』](/docs/spec/stay#流程处理)

<br>

Expand Down

0 comments on commit 5cbc8fc

Please sign in to comment.