Skip to content

Commit

Permalink
docs: update docs format
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed Apr 7, 2016
1 parent 06011fe commit bcba08a
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 51 deletions.
2 changes: 1 addition & 1 deletion components/layout/demo/reponsive.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ order: 7
title: 响应式布局
---

参照 Bootstrap 的<a href="http://getbootstrap.com/css/#grid-media-queries">响应式设计</a>,预设四个响应尺寸:`xs` `sm` `md` `lg`
参照 Bootstrap 的 [响应式设计](http://getbootstrap.com/css/#grid-media-queries),预设四个响应尺寸:`xs` `sm` `md` `lg`

````jsx
import { Row, Col } from 'antd';
Expand Down
2 changes: 1 addition & 1 deletion docs/pattern/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ english: List

<br />

## <span class="waiting">案例(敬请期待)</span>
<h2><span class="waiting">案例(敬请期待)</span></h2>
44 changes: 4 additions & 40 deletions docs/practice/cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Ant Design 目前在外部也有 [许多产品实践](https://github.com/ant-des

金融云是面向金融机构深度定制的行业云计算服务;助力金融机构向新金融转型升级,推动平台、数据和技术方面的能力全面对外开放。

<a class="outside-link" href="https://www.cloud.alipay.com/" target="_blank">立即访问</a>
<p><a class="outside-link" href="https://www.cloud.alipay.com/" target="_blank">立即访问</a></p>

---

Expand All @@ -34,7 +34,7 @@ Ant Design 目前在外部也有 [许多产品实践](https://github.com/ant-des

OceanBase 是一款真正意义上的云端分布式关系型数据库,而 OceanBase Cloud Platform(云平台)是以 OceanBase 数据库为基础的云服务,可以帮助用户快速创建、使用 OB 服务。

<a class="outside-link internal" href="http://oceanbase.alipay.com/" target="_blank">立即访问</a>
<p><a class="outside-link internal" href="http://oceanbase.alipay.com/" target="_blank">立即访问</a></p>

---

Expand All @@ -48,7 +48,7 @@ OceanBase 是一款真正意义上的云端分布式关系型数据库,而 Oce

体验平台是收集用户与公司所有的接触点(包括来电咨询/微博等渠道)的数据,通过数据挖掘和体验同学运营的方式推送给公司内部的业务团队/产品经理,并推动体验问题解决,从而实现良性运转流。

<a class="outside-link internal" href="http://tiyan.alipay.com/" target="_blank">立即访问</a>
<p><a class="outside-link internal" href="http://tiyan.alipay.com/" target="_blank">立即访问</a></p>

---

Expand All @@ -60,7 +60,7 @@ OceanBase 是一款真正意义上的云端分布式关系型数据库,而 Oce

AntV 将数据图形小组近几年在探索数据可视化过程中取得的成果进行总结和沉淀,并分享给所有需要数据可视理论的人。

<a class="outside-link internal" href="http://antv.alipay.net/" target="_blank">立即访问</a>
<p><a class="outside-link internal" href="http://antv.alipay.net/" target="_blank">立即访问</a></p>

<style>
.preview-image-boxes {
Expand All @@ -74,39 +74,3 @@ AntV 将数据图形小组近几年在探索数据可视化过程中取得的成
display: none;
}
</style>

<script>
(function() {
var links = Array.apply(null, document.querySelectorAll('.outside-link.internal'));
var checkImgUrl = 'http://alipay-rmsdeploy-dev-image.oss-cn-hangzhou-zmf.aliyuncs.com/rmsportal/JdVaTbZzPxEldUi.png';
ping(checkImgUrl, function(status) {
if (status === 'responded') {
links.forEach(function(link) {
link.style.display = 'block';
});
}
});

function ping(url, callback) {
var img = new Image();
var done;
var finish = function(status) {
if (!done) {
done = true;
img.src = '';
callback(status);
}
}
img.onload = function() {
finish('responded');
};
img.onerror = function(e) {
finish('error');
};
img.src = url;
setTimeout(function() {
finish('timeout');
}, 1500);
}
})();
</script>
6 changes: 3 additions & 3 deletions docs/spec/direct.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ english: 直截了当

<br>

<span class="waiting">拖放对象(敬请期待)</span>
<p><span class="waiting">拖放对象(敬请期待)</span></p>

<span class="waiting">拖放多个对象(敬请期待)</span>
<p><span class="waiting">拖放多个对象(敬请期待)</span></p>

<br>

---

## <span class="waiting">直接选择(敬请期待)</span>
<h2><span class="waiting">直接选择(敬请期待)</span></h2>
4 changes: 2 additions & 2 deletions docs/spec/invitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ english: 提供邀请

<br>

<span class="waiting">预期功能邀请 (敬请期待)</span>
<p><span class="waiting">预期功能邀请 (敬请期待)</span></p>

<br>

<span class="waiting">拖放邀请 (敬请期待)</span>
<p><span class="waiting">拖放邀请 (敬请期待)</span></p>
4 changes: 2 additions & 2 deletions docs/spec/stay.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ english: 足不出户

<br>

<span class="waiting">详情嵌入层 (敬请期待)</span>
<p><span class="waiting">详情嵌入层 (敬请期待)</span></p>

<br>

Expand All @@ -71,7 +71,7 @@ english: 足不出户

<br>

<span class="waiting">伸缩式用户界面(敬请期待)</span>
<p><span class="waiting">伸缩式用户界面(敬请期待)</span></p>

<br>

Expand Down
4 changes: 2 additions & 2 deletions docs/spec/transition.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ english: 巧用过渡

<br>

<span class="waiting">视图定位 (敬请期待)</span>
<p><span class="waiting">视图定位 (敬请期待)</span></p>

<br>

Expand Down Expand Up @@ -71,7 +71,7 @@ english: 巧用过渡

<br>

<span class="waiting">图片(敬请期待)</span>
<p><span class="waiting">图片(敬请期待)</span></p>

---

Expand Down

0 comments on commit bcba08a

Please sign in to comment.