Skip to content

Commit

Permalink
site: improve build speed
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed Jan 19, 2017
1 parent e90189d commit 3e17551
Show file tree
Hide file tree
Showing 309 changed files with 313 additions and 313 deletions.
2 changes: 1 addition & 1 deletion components/affix/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The simplest usage.

````jsx
````__react
import { Affix, Button } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/affix/demo/on-change.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Callback with affixed state.

````jsx
````__react
import { Affix, Button } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/affix/demo/target.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Set a `target` for 'Affix', which is listen to scroll event of target element (default is `window`).

````jsx
````__react
import { Affix, Button } from 'antd';
class Demo extends React.Component {
Expand Down
2 changes: 1 addition & 1 deletion components/alert/demo/banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

When `Alert` is used as banner, it has particular style, Icon and `type`(warning) are specified by default.

````jsx
````__react
import { Alert } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/alert/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The simplest usage for short messages.

````jsx
````__react
import { Alert } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/alert/demo/closable.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

To show close button.

````jsx
````__react
import { Alert } from 'antd';
const onClose = function (e) {
Expand Down
2 changes: 1 addition & 1 deletion components/alert/demo/close-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Replace the default icon with customized text.

````jsx
````__react
import { Alert } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/alert/demo/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Additional description for alert message.

````jsx
````__react
import { Alert } from 'antd';
ReactDOM.render(<div>
Expand Down
2 changes: 1 addition & 1 deletion components/alert/demo/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Decent icon make information more clear and more friendly.

````jsx
````__react
import { Alert } from 'antd';
ReactDOM.render(<div>
Expand Down
2 changes: 1 addition & 1 deletion components/alert/demo/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

There are 4 types of Alert: `success`, `info`, `warning`, `error`.

````jsx
````__react
import { Alert } from 'antd';
ReactDOM.render(<div>
Expand Down
2 changes: 1 addition & 1 deletion components/anchor/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The simplest usage.

```jsx
```__react
import { Anchor } from 'antd';
const { Link } = Anchor;
Expand Down
2 changes: 1 addition & 1 deletion components/anchor/demo/fixed.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Do not change state when page is scrolling.

```jsx
```__react
import { Anchor } from 'antd';
const { Link } = Anchor;
Expand Down
2 changes: 1 addition & 1 deletion components/auto-complete/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Basic Usage, set datasource of autocomplete with `dataSource` property.

````jsx
````__react
import { AutoComplete } from 'antd';
function onSelect(value) {
Expand Down
2 changes: 1 addition & 1 deletion components/auto-complete/demo/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

You could pass `AutoComplete.Option` as children of `AutoComplete`, instead of using `dataSource`

````jsx
````__react
import { AutoComplete } from 'antd';
const Option = AutoComplete.Option;
Expand Down
2 changes: 1 addition & 1 deletion components/back-top/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The most basic usage.

````jsx
````__react
import { BackTop } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/back-top/demo/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title:
You can customize the style of the button, just note the size limit: no more than `40px * 40px`.


````jsx
````__react
import { BackTop } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/badge/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Simplest Usage.

````jsx
````__react
import { Badge } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/badge/demo/change.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The count will be animated as it changes.

````jsx
````__react
import { Badge, Button, Icon, Switch } from 'antd';
const ButtonGroup = Button.Group;
Expand Down
2 changes: 1 addition & 1 deletion components/badge/demo/dot.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

This will simply display a red badge, without a specific count.

````jsx
````__react
import { Badge, Icon } from 'antd';
ReactDOM.render(<div>
Expand Down
2 changes: 1 addition & 1 deletion components/badge/demo/link.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The badge can be wrapped with `a` tag to make it linkable.

````jsx
````__react
import { Badge } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/badge/demo/no-wrapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ title:

Used in standalone when children is empty.

````jsx
````__react
import { Badge } from 'antd';
ReactDOM.render(<div>
Expand Down
2 changes: 1 addition & 1 deletion components/badge/demo/overflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

`${overflowCount}+` is displayed when count is larger than `overflowCount`. The default value of `overflowCount` is `99`.

````jsx
````__react
import { Badge } from 'antd';
ReactDOM.render(<div>
Expand Down
2 changes: 1 addition & 1 deletion components/badge/demo/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Standalone badge with status.

````jsx
````__react
import { Badge } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/breadcrumb/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The simplest use

````jsx
````__react
import { Breadcrumb } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/breadcrumb/demo/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title:

Used together with `react-router@2+`.

````jsx
````__react
import { Router, Route, Link, hashHistory } from 'react-router';
import { Breadcrumb, Alert } from 'antd';
Expand Down
2 changes: 1 addition & 1 deletion components/breadcrumb/demo/separator.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The separator can be customized by setting the separator property: separator=">"

````jsx
````__react
import { Breadcrumb } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/breadcrumb/demo/withIcon.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

The icon should be placed in front of the text.

````jsx
````__react
import { Breadcrumb, Icon } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/button/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ There are primary button, default button, ghost button and dashed button in antd

Primary button and default button can be used without other button, but ghost button must be used with primary button.

````jsx
````__react
import { Button } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/button/demo/button-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Buttons can be grouped by placing multiple `Button` components into a `Button.Gr

The `size` can be set to `large`, `small` or left unset resulting in a default size.

````jsx
````__react
import { Button, Icon } from 'antd';
const ButtonGroup = Button.Group;
Expand Down
2 changes: 1 addition & 1 deletion components/button/demo/disabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

To mark a button as disabled, add the `disabled` property to the `Button`.

````jsx
````__react
import { Button } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/button/demo/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ title:

If you want specific control over the positioning and placement of the `Icon`, then that should be done by placing the `Icon` component within the `Button` rather than using the `icon` property.

````jsx
````__react
import { Button } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/button/demo/loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

A loading indicator can be added to a button by setting the `loading` property on the `Button`.

````jsx
````__react
import { Button } from 'antd';
const App = React.createClass({
Expand Down
2 changes: 1 addition & 1 deletion components/button/demo/multiple.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title:
If you need several buttons, we recommend that you use 1 primary button + n secondary buttons, and if there are more than three operations, you can group some of them into `Dropdown.Button`.


````jsx
````__react
import { Button, Menu, Dropdown, Icon } from 'antd';
function handleMenuClick(e) {
Expand Down
2 changes: 1 addition & 1 deletion components/button/demo/size.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Ant Design supports a default button size as well as a large and small size.

If a large or small button is desired, set the `size` property to either `large` or `small` respectively. Omit the `size` property for a button with the default size.

````jsx
````__react
import { Button, Radio, Icon } from 'antd';
class ButtonSize extends React.Component {
Expand Down
2 changes: 1 addition & 1 deletion components/calendar/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

A basic calendar component with Year/Month switch.

````jsx
````__react
import { Calendar } from 'antd';
function onPanelChange(value, mode) {
Expand Down
2 changes: 1 addition & 1 deletion components/calendar/demo/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Nested inside a container element for rendering in limited space.

````jsx
````__react
import { Calendar } from 'antd';
function onPanelChange(value, mode) {
Expand Down
2 changes: 1 addition & 1 deletion components/calendar/demo/locale.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

To set the language. en_US, zh_CN are supported by default.

````jsx
````__react
import { Calendar } from 'antd';
import enUS from 'antd/lib/calendar/locale/en_US';
import moment from 'moment';
Expand Down
2 changes: 1 addition & 1 deletion components/calendar/demo/notice-calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

This component can be rendered by using `dateCellRender` and `monthCellRender` with the data you need.

````jsx
````__react
import { Calendar } from 'antd';
function getListData(value) {
Expand Down
2 changes: 1 addition & 1 deletion components/card/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

A basic card containing a title, content and an extra corner content.

````jsx
````__react
import { Card } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/card/demo/border-less.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

A borderless card on a gray background.

````jsx
````__react
import { Card } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/card/demo/grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Cards usually cooperate with grid layout in overview page.

````jsx
````__react
import { Card, Col, Row } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/card/demo/loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

Shows a loading indicator while the contents of the card is being fetched.

````jsx
````__react
import { Card } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/card/demo/no-padding.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title:
Customizing default width and margin.


````jsx
````__react
import { Card } from 'antd';
ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion components/card/demo/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title:

A simple card only containing a content area.

````jsx
````__react
import { Card } from 'antd';
ReactDOM.render(
Expand Down
Loading

0 comments on commit 3e17551

Please sign in to comment.