You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ha...@apache.org on 2018/01/29 08:28:51 UTC

[25/36] incubator-weex git commit: - [doc] remove documents from incubator-weex

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/gesture.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/gesture.md b/doc/source/cn/v-0.10/references/gesture.md
deleted file mode 100644
index 4377af9..0000000
--- a/doc/source/cn/v-0.10/references/gesture.md
+++ /dev/null
@@ -1,79 +0,0 @@
----
-title: 手势
-type: references
-order: 1.4
-version: 0.10
----
-
-# 手势
-
-*注:该功能属于实验性功能*
-
-Weex 封装了原生的触摸事件以提供手势系统。使用手势类似于在 Weex 中使用事件,只需在节点上设置 `on` 特性来监听手势即可。
-
-## 手势类型
-
-目前,仅支持以下四种手势类型:
-
-- **Touch**:当触摸到一个点,移动或从触摸面移开时触发 `touch` 手势。触摸手势很精准,它会返回所有详细的事件信息。所以,监听 `touch` 手势可能很慢,即使只移动一丁点也需要处理大量事件。有三种类型的 `touch` 手势:
-
-	- `touchstart` 将在触摸到触摸面上时触发。
-	- `touchmove` 将在触摸点在触摸面移动时被触发。
-	- `touchend` 将在从触摸面离开时被触发。
-
-- **Pan**:`pan` 手势也会返回触摸点在触摸面的移动信息,有点类似于 `touch` 手势。但是 `pan` 手势只会采样收集部分事件信息因此比 `touch` 事件要快得多,当然精准性差于 `touch`。`pan` 也有三中类型的手势,这些手势的意义与 `touch` 完全一样:
-
-	- `panstart`
-	- `panmove`
-	- `panend`
-
-- **Swipe**:`swipe` 将会在用户在屏幕上滑动时触发,一次连续的滑动只会触发一次 `swiper` 手势。
-- **LongPress**:`LongPress` 将会在触摸点连续保持 500 ms以上时触发。
-
-`touch` 和 `pan` 非常接近,它们的特点可以总结成这样:
-
-- **Touch**:完整信息,精准、很慢
-- **Pan**:抽样信息,很快,不够精准
-
-开发者可以根据自己的情况选择合适的手势。
-
-## 属性
-
-以下属性可以在手势的回调中使用:
-
-- `direction`:仅在 `swipe` 手势中存在,返回滑动方向,返回值可能为 `up`, `left`, `bottom`, `right`。
-- `changedTouches`:一个数组,包含了当前手势的触摸点的运动轨迹
-
-### changedTouches
-
-`changedTouches` 是一个数组,其子元素中包含以下属性:
-
-- `identifier`:触摸点的唯一标识符。
-- `pageX`:触摸点相对于文档左侧边缘的 X 轴坐标。
-- `pageY`:触摸点相对于文档顶部边缘的 Y 轴坐标。
-- `screenX`:触摸点相对于屏幕左侧边缘的 X 轴坐标。
-- `screenY`:触摸点相对于屏幕顶部边缘的 Y 轴坐标。
-
-## 约束
-
-目前,由于会触发大量事件冲突,Weex Android 还不支持在滚动类型的元素上监听手势,例如 `scroller`, `list` 和 `webview` 这三个组件。
-
-## 示例
-
-```html
-<template>
-	<div ontouchstart="handleTouchstart"></div>
-</template>
-
-<script>
-module.exports = {
-	methods: {
-		handleTouchstart: function(eventProperties) {
-			// handling with the Event Properties
-		}
-	}
-}
-</script>
-```
-
-如上面代码所示,一个 `touchstart` 事件会在触摸点与触摸面接触的时候触发。

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/Artboard.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/Artboard.jpg b/doc/source/cn/v-0.10/references/images/Artboard.jpg
deleted file mode 100644
index 2f6bb95..0000000
Binary files a/doc/source/cn/v-0.10/references/images/Artboard.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/coding_weex_1.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/coding_weex_1.jpg b/doc/source/cn/v-0.10/references/images/coding_weex_1.jpg
deleted file mode 100644
index 8080578..0000000
Binary files a/doc/source/cn/v-0.10/references/images/coding_weex_1.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/css-boxmodel.png
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/css-boxmodel.png b/doc/source/cn/v-0.10/references/images/css-boxmodel.png
deleted file mode 100644
index a2063e2..0000000
Binary files a/doc/source/cn/v-0.10/references/images/css-boxmodel.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/css-flexbox-align.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/css-flexbox-align.jpg b/doc/source/cn/v-0.10/references/images/css-flexbox-align.jpg
deleted file mode 100644
index 8a7f731..0000000
Binary files a/doc/source/cn/v-0.10/references/images/css-flexbox-align.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/css-flexbox-justify.svg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/css-flexbox-justify.svg b/doc/source/cn/v-0.10/references/images/css-flexbox-justify.svg
deleted file mode 100644
index 33e742b..0000000
--- a/doc/source/cn/v-0.10/references/images/css-flexbox-justify.svg
+++ /dev/null
@@ -1,59 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width='504' height='270' viewBox="0 0 504 270">
-	<defs>
-		<pattern id='checker' width='20' height='20' patternUnits='userSpaceOnUse'>
-			<rect x='0' y='0' width='10' height='10' fill='#eee' />
-			<rect x='10' y='10' width='10' height='10' fill='#eee' />
-			<rect x='0' y='10' width='10' height='10' fill='#ccc' />
-			<rect x='10' y='0' width='10' height='10' fill='#ccc' />
-		</pattern>
-	</defs>
-	<style>
-		text { font-family: sans-serif; font-weight: bold; font-size: 30px; text-anchor: middle; }
-		rect { stroke-width: 2px; stroke: #888; }
-		g > rect:nth-child(1) { fill: #888 }
-		g > rect:nth-child(2) { fill: #fcc; }
-		g > rect:nth-child(3) { fill: #cfc; }
-		g > rect:nth-child(4) { fill: #ccf; }
-		g > rect:nth-child(5) { fill: transparent; }
-	</style>
-	<g transform="translate(2,2)">
-		<rect x='0' y='0' width='500' height='50' />
-		<rect x='0' y='0' width='100' height='50' />
-		<rect x='100' y='0' width='80' height='50' />
-		<rect x='180' y='0' width='200' height='50' />
-		<rect x='0' y='0' width='500' height='50' />
-		<text x='250' y='38'>flex-start</text>
-	</g>
-	<g transform="translate(2,56)">
-		<rect x='0' y='0' width='500' height='50' />
-		<rect x='120' y='0' width='100' height='50' />
-		<rect x='220' y='0' width='80' height='50' />
-		<rect x='300' y='0' width='200' height='50' />
-		<rect x='0' y='0' width='500' height='50' />
-		<text x='250' y='38'>flex-end</text>
-	</g>
-	<g transform="translate(2,110)">
-		<rect x='0' y='0' width='500' height='50' />
-		<rect x='60' y='0' width='100' height='50' />
-		<rect x='160' y='0' width='80' height='50' />
-		<rect x='240' y='0' width='200' height='50' />
-		<rect x='0' y='0' width='500' height='50' />
-		<text x='250' y='38'>center</text>
-	</g>
-	<g transform="translate(2,164)">
-		<rect x='0' y='0' width='500' height='50' />
-		<rect x='0' y='0' width='100' height='50' />
-		<rect x='160' y='0' width='80' height='50' />
-		<rect x='300' y='0' width='200' height='50' />
-		<rect x='0' y='0' width='500' height='50' />
-		<text x='250' y='38'>space-between</text>
-	</g>
-	<g transform="translate(2,218)">
-		<rect x='0' y='0' width='500' height='50' />
-		<rect x='20' y='0' width='100' height='50' />
-		<rect x='160' y='0' width='80' height='50' />
-		<rect x='280' y='0' width='200' height='50' />
-		<rect x='0' y='0' width='500' height='50' />
-		<text x='250' y='38'>space-around</text>
-	</g>
-</svg>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/div_1.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/div_1.jpg b/doc/source/cn/v-0.10/references/images/div_1.jpg
deleted file mode 100644
index 3c89773..0000000
Binary files a/doc/source/cn/v-0.10/references/images/div_1.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/div_2.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/div_2.jpg b/doc/source/cn/v-0.10/references/images/div_2.jpg
deleted file mode 100644
index 67395bb..0000000
Binary files a/doc/source/cn/v-0.10/references/images/div_2.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/div_3.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/div_3.jpg b/doc/source/cn/v-0.10/references/images/div_3.jpg
deleted file mode 100644
index b10f69e..0000000
Binary files a/doc/source/cn/v-0.10/references/images/div_3.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/div_4.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/div_4.jpg b/doc/source/cn/v-0.10/references/images/div_4.jpg
deleted file mode 100644
index acc2518..0000000
Binary files a/doc/source/cn/v-0.10/references/images/div_4.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/image_1.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/image_1.jpg b/doc/source/cn/v-0.10/references/images/image_1.jpg
deleted file mode 100644
index b87de15..0000000
Binary files a/doc/source/cn/v-0.10/references/images/image_1.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/image_2.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/image_2.jpg b/doc/source/cn/v-0.10/references/images/image_2.jpg
deleted file mode 100644
index 598a242..0000000
Binary files a/doc/source/cn/v-0.10/references/images/image_2.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/list_2.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/list_2.jpg b/doc/source/cn/v-0.10/references/images/list_2.jpg
deleted file mode 100644
index 8c2cc55..0000000
Binary files a/doc/source/cn/v-0.10/references/images/list_2.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/list_3.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/list_3.jpg b/doc/source/cn/v-0.10/references/images/list_3.jpg
deleted file mode 100644
index f2968c7..0000000
Binary files a/doc/source/cn/v-0.10/references/images/list_3.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/list_4.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/list_4.jpg b/doc/source/cn/v-0.10/references/images/list_4.jpg
deleted file mode 100644
index 0123171..0000000
Binary files a/doc/source/cn/v-0.10/references/images/list_4.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/nav.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/nav.jpg b/doc/source/cn/v-0.10/references/images/nav.jpg
deleted file mode 100644
index 8c6ed03..0000000
Binary files a/doc/source/cn/v-0.10/references/images/nav.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/scroller_1.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/scroller_1.jpg b/doc/source/cn/v-0.10/references/images/scroller_1.jpg
deleted file mode 100644
index 3e995cb..0000000
Binary files a/doc/source/cn/v-0.10/references/images/scroller_1.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/style_1.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/style_1.jpg b/doc/source/cn/v-0.10/references/images/style_1.jpg
deleted file mode 100644
index 2482710..0000000
Binary files a/doc/source/cn/v-0.10/references/images/style_1.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/images/style_2.jpg
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/images/style_2.jpg b/doc/source/cn/v-0.10/references/images/style_2.jpg
deleted file mode 100644
index 6b6f2e1..0000000
Binary files a/doc/source/cn/v-0.10/references/images/style_2.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/index.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/index.md b/doc/source/cn/v-0.10/references/index.md
deleted file mode 100644
index 644c16f..0000000
--- a/doc/source/cn/v-0.10/references/index.md
+++ /dev/null
@@ -1,46 +0,0 @@
----
-title: Bootstrap
-type: references
-order: 1
-has_chapter_content: false
-chapter_title: 通用选项
-version: 0.10
----
-
-# Bootstrap
-
-除了其默认的意义,`<script>`标签支持在页面的顶级组件中通过 `type` 属性定义两种配置。
-- `type="data"`: 配置初始化数据,这里定义的数据会覆盖定义在`<script>`中的数据;
-- `type="config"`: 定义配置项。
-
-``` html
-<script type="data">
-  /* (可选) 定义初始化数据 */
-</script>
-
-<script type="config">
-  /* (可选) 定义配置项 */
-</script>
-
-```
-## 定义初始化数据
-
-有时,很难在默认的`<script>`标签中维护巨大的数据结构。所以 Weex 允许我们通过 `<script type="data">` 标签定义初始化数据。在这里定义的数据将完全取代默认的 `<script>` 标签中定义的数据。
-
-例如:
-
-```html
-<script type="data">
-  module.exports = {
-      title: 'Alibaba',
-      date: new Date().toLocaleString()
-  }
-</script>
-```
-## 配置项
-
-Weex 也允许我们通过 `<script type="config">` 定义一些配置项,目前,仅只支持配置 `downgrade`。
-- `downgrade.osVersion`
-- `downgrade.appVersion`
-- `downgrade.weexVersion`
-- `downgrade.deviceModel`

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/animation.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/animation.md b/doc/source/cn/v-0.10/references/modules/animation.md
deleted file mode 100644
index 821bfac..0000000
--- a/doc/source/cn/v-0.10/references/modules/animation.md
+++ /dev/null
@@ -1,90 +0,0 @@
----
-title: animation
-type: references
-order: 4.1
-version: 0.10
----
-
-# `animation` 动画
-
-流畅且有意义的动画是一个十分有效的提升移动应用用户体验的手段,`animation` 模块被用于在组件上执行动画。动画可以对组件执行一系列简单的变换 (位置、大小、旋转角度、背景颜色和不透明度)。举个例子,如果有一个 `<image>` 组件,通过动画你可以对其进行移动、旋转、拉伸或收缩等动作。
-
-## 示例
-
-```html
-<template>
-  <div>
-    <div id="test" class="test" onclick="run"></div>
-  </div>
-</template>
-<style>
-  .test { background-color: #6666ff; width: 200; height: 200; }
-</style>
-<script>
-  var animation = require('@weex-module/animation')
-  module.exports = {
-    methods: {
-      run: function () {
-        var testEl = this.$el('test')
-        animation.transition(testEl, {
-          styles: {
-            backgroundColor: '#FF0000',
-            transform: 'translate(100px, 100px)'
-          },
-          duration: 0, //ms
-          timingFunction: 'ease',
-          'transform-origin': 'center center',
-          delay: 0 //ms
-        }, function () {
-          console.log('animation finished.')
-        })
-      }
-    }
-  }
-</script>
-```
-
-[体验一下](http://dotwe.org/2ae04d3a7017a2ec748cf40905fcd98c)
-
-## API
-
-### `transition(el, options, callback)`
-
-[example](http://dotwe.org/a034a49b5863da099843eb9a0eea9f93)
-
-#### 参数
-
-* `el {Element}`:将要执行动画的元素,通常可以通过调用 [`this.$el(id)`](../api.html) 来获取元素的引用。
-* `options {Object}`:描述动画过程的对象。
-  * `options.duration {number}`:指定动画的持续时间 (单位是毫秒),默认值是 `0`,表示没有动画效果。
-  * `options.delay {number}`:指定请求动画操作到执行动画之间的时间间隔 (单位是毫秒),默认值是 `0`,表示没有延迟,在请求后立即执行动画。
-  * `options.timingFunction {string}`:描述动画执行的速度曲线,用于使动画变化更为平滑。默认值是 `linear`,表示动画从开始到结束都拥有同样的速度。下表列出了所有合法的属性:
-
-| 属性名 | 描述 | 示例 |
-| ---- | ---- | ---- |
-| `linear` | 动画从头到尾的速度是相同的 | [example](http://dotwe.org/70e0c243ffde30abd8fd353f8c6d1d9a) |
-| `ease-in` | 动画速度由慢到快 | [example](http://dotwe.org/23b104f833039f263957481f2e2c40c9) |
-| `ease-out` | 动画速度由快到慢 | [example](http://dotwe.org/04dab95e073a2c3a808e6b01fc20e996) |
-| `ease-in-out` | 动画先加速到达中间点后减速到达终点 | [example](http://dotwe.org/fc37ec17d215e786ce336a00457489e3) |
-| `cubic-bezier(x1, y1, x2, y2)` | 在三次贝塞尔函数中定义变化过程,函数的参数值必须处于 0 到 1 之间。更多关于三次贝塞尔的信息请参阅 [cubic-bezier](http://cubic-bezier.com/) 和 [Bézier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve). | [example](http://weex.alibaba-inc.com/playground/95d8f15d0014c31d3a1d15728313f2a5) |
-
-* `options.styles {Object}`:设置不同样式过渡效果的键值对,下表列出了所有合法的参数:
-
-| 参数名 | 描述 | 值类型 | 默认值 | 示例 |
-| ---- | ---- | ---- | ---- |---- |
-| width | 动画执行后应用到组件上的宽度值 | length | 无 | [example](http://dotwe.org/b599d273f996cfdcbeca7bd5c828ca90) |
-| height | 动画执行后应用到组件上的高度值 | length | 无 | [example](http://dotwe.org/d0b1ccadf386ba00960d0c8340c682e5) |
-| backgroundColor | 动画执行后应用到组件上的背景颜色 | string | none | [example](http://dotwe.org/f4616ee18f6042b63a8fdcd2816b1712) |
-| opacity | 动画执行后应用到组件上的不透明度值 | 介于 0 到 1 间的数值 | `1` | [example](http://dotwe.org/f94394173301db83ae6e66d1330a0d0b) |
-| transformOrigin | 定义变化过程的中心点. 参数 `x-aris` 可能的值为 `left`、`center`、`right`、长度值或百分比值, 参数 `y-axis` 可能的值为 `top`、`center`、`bottom`、长度值或百分比值 | `x-axis y-axis` | `center center` | [example](http://dotwe.org/de43f5a47de230dd531797458bf7fd3c) |
-| transform | 定义应用在元素上的变换类型,支持下表列出的属性 | object | 无 | [example](http://dotwe.org/6766dab0589f7831d4bb6030f4226996) |
-
-`transform`属性的合法值:
-
-| 名称 | 描述 | 值类型 | 默认值 | 示例 |
-| ---- | ---- | ---- | ---- | ---- |
-| `translate`/`translateX`/`translateY` | 指定元素将已被移动到的新位置 | 像素值或百分比 | 无 | [example](http://dotwe.org/6638e66e296723bbef3e59c83b2b5003) |
-| `rotate` | 指定元素将被旋转的角度,单位是度 | number | 无 | [example](http://dotwe.org/ba9e9920594d9388744b2bd0d1b7695d) |
-| `scale`/`scaleX`/`scaleY` | 按比例放大或缩小元素 | number | 无 | [example](http://dotwe.org/14b42dde6583ab222bd2b7ed08f241c8) |
-
-* `callback {Function}`:动画执行完毕之后的回调

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/clipboard.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/clipboard.md b/doc/source/cn/v-0.10/references/modules/clipboard.md
deleted file mode 100644
index f4525f2..0000000
--- a/doc/source/cn/v-0.10/references/modules/clipboard.md
+++ /dev/null
@@ -1,112 +0,0 @@
----
-title: clipboard
-type: references
-order: 4.2
-version: 0.10
----
-
-# `clipboard` 剪切板
-<span class="weex-version">v0.8+</span>
-
-我们可以通过 `clipboard` 模块的 `getString()`、`setString()` 接口从系统的粘贴板获取内容或者设置内容。
-
-以前当我们收到一条短信验证码信息时,除了人肉拷贝,我们无法获取拷贝短信的内容。这是非常苦恼的。但是现在我们可以通过简单的调用 `clipboard.getString()` 接口来获取短信内容了。
-
-## 示例
-
-```html
-<template>
-  <div>
-      <div class="div">
-        <text class="text" onclick="onItemClick">hello {{message}}</text>
-      </div>
-      <div class="div">
-        <text class="text" onclick="setContent">click me to set: {{tobecopied}}</text>
-      </div>
-  </div>
-</template>
-
-<script>
-  var clipboard = require('@weex-module/clipboard');
-  module.exports ={
-    data:{
-      tobecopied:'yay!',
-      message:"nothing."
-    },
-    methods:{
-      setContent:function(e){
-        clipboard.setString(this.tobecopied);
-      },
-      onItemClick:function(e){
-        this.message='clicked! ';
-        clipboard.getString(function(ret) {
-          this.message = 'text from clipboard:'+ ret;
-        }.bind(this));
-      }
-    }
-  }
-</script>
-
-<style>
-  .div {
-    flex-direction: row;
-    justify-content: space-between;
-    align-items: center;
-    width: 750;
-    height: 90;
-    padding-left:30;
-    padding-right:30;
-
-    border-bottom-width: 1;
-    border-style: solid;
-    border-color: #dddddd;
-  }
-  .text {
-    width: 750;
-    height: 90;
-  }
-</style>
-```
-
-[体验一下](http://dotwe.org/b6a9d613462d85dce56f81085b094dfa)
-
-**注意**
-
-* 仅支持文本拷贝
-* 出于安全考虑和平台限制,只支持 Android 和 iOS,不支持 html5。
-
-## API
-
-### `getString(callback)`
-
-从系统粘贴板读取内容。
-
-#### 参数
-
-* `callback {function (ret)}`:执行完读取操作后的回调函数。`ret {Object}` 为 `callback` 函数的参数,有两个属性:
-  - `ret.data`:获取到的文本内容;
-  - `ret.result`:返回状态,可能为 `success` 或 `fail`。
-
-#### 示例
-
-```javascript
-var clipboard = require('@weex-module/clipboard');
-clipboard.getString(function(ret) {
-  console.log("text from clipboard: " + ret.data);
-});
-```
-
-### `setString(text)`
-
-将一段文本复制到剪切板,相当于手动复制文本。
-
-#### 参数
-
-* `text {string}`:要复制到剪切板的字符串。
-
-#### 示例
-
-```javascript
-var clipboard = require('@weex-module/clipboard');
-clipboard.setString("SomeStringHere");
-```

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/dom.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/dom.md b/doc/source/cn/v-0.10/references/modules/dom.md
deleted file mode 100644
index 270ec2b..0000000
--- a/doc/source/cn/v-0.10/references/modules/dom.md
+++ /dev/null
@@ -1,79 +0,0 @@
----
-title: dom
-type: references
-order: 4.3
-version: 0.10
----
-
-# dom
-
-包含如下可以更新 dom 树的 dom API。
-
-这部分API是通过把 virtual-dom 的消息发送到 native 渲染器来做到的。
-
-开发者在日常开发中,唯一可在 `.we` 文件中使用的是 `scrollToElement`。
-~~你也可以调用 `$scrollTo` 方法来使用它~~
-
-这个页面提及的其他的 API,只在 `callNative` 进程中的 native 渲染器用。
-(关于 `callNative` 进程的进一步介绍,可以在 [How it works](../../advanced/how-it-works.html)中的 JS Framework 部分看到 )
-
-## API
-### scrollToElement(node, options)
-
-让页面滚动到那个对应的节点,这个API只能在 `<scroller>` 和 `<list>` 组件中用。
-
-~~这个API也能通过调用VM的方法 `$scrollTo` 来使用(已弃用)~~
-
-要在你的 `.we` 文件中使用这个 API,可以使用 `require('@weex-module/dom').scrollToElement`。
-
-#### 参数
-- `node {Node}`:你要滚动到的那个节点
-- `options {Object}`:如下选项
-  - `offset {number}`:一个到其可见位置的偏移距离,默认是 `0`
-
-#### 示例
-
-```html
-<template>
-  <scroller>
-    <div class="row" repeat="item in rows" id="item-{{$index}}">
-      <text class="item-title">row {{item.id}}</text>
-    </div>
-    <div onclick="go" style="width: 750;height: 50; position: fixed; left: 0; right: 0; bottom: 0; background-color: #eeeeee;">
-      <text style="text-align: center;">
-        Go to 50th line.
-      </text>
-    </div>
-  </scroller>
-</template>
-
-<script>
-var dom = require('@weex-module/dom')
-
-module.exports = {
-  data: {
-    rows: []
-  },
-  created: function () {
-    for (var i = 0; i < 100; i++) {
-      this.rows.push({
-        id: i
-      })
-    }
-  },
-  methods: {
-    go: function () {
-      var el = this.$el('item-49')
-      
-      dom.scrollToElement(el, {
-        offset: 0
-      })
-    }
-  }
-}
-</script>
-```
-
-## 其他
-
-dom 还有一些底层接口用于创建 Weex 实例时调用,比如 `createBody`、`updateAttrs` 等,但并未开放供外部使用。

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/globalevent.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/globalevent.md b/doc/source/cn/v-0.10/references/modules/globalevent.md
deleted file mode 100644
index 9a04dc0..0000000
--- a/doc/source/cn/v-0.10/references/modules/globalevent.md
+++ /dev/null
@@ -1,87 +0,0 @@
----
-title: globalEvent
-type: references
-order: 4.9
-version: 0.10
----
-
-# 全局事件
-<span class="weex-version">0.8 (开发中)</span>
-
-`globalEvent` 用于监听持久性事件,例如定位信息,陀螺仪等的变化。全局事件是需要额外 APIs 处理的次要 API。你能通过 `addEventListener` 注册事件监听,当你不再需要的时候,也可以通过 `removeEventListener` 取消事件监听。
-
-*提醒*
-
-- 这是一个实例级别的事件,而非应用级别。
-
-## 如何让你的模块支持全局事件
-
-API 开发完成后,当需要发送事件时,需要通过以下方法:
-
-```javascript
-/**
-  * 
-  * @param eventName eventName
-  * @param params event params
-  */
-instance.fireGlobalEventCallback(eventName,params);
-```
-
-如何在 weex-html5 组件或模块中分发全局事件?只需在文档元素上分派事件:
-
-```javascript
-var evt = new Event('some-type')
-evt.data = { foo: 'bar' }
-document.dispatchEvent(evt)
-```
-
-**示例**
-
-### Android
-
-```java
-Map<String,Object> params=new HashMap<>();
-params.put("key","value");
-mWXSDKInstance.fireGlobalEventCallback("geolocation",params);
-```
-
-### iOS
-
-```object-c 
-[weexInstance fireGlobalEvent:@"geolocation" params:@{@"key":@"value"}];
-```
-
-## API
-
-### `addEventListener(String eventName, String callback)`
-
-注册全局事件。
-
-#### 参数
-
-- `eventName {string}`:需要监听的事件名称。
-- `callback {Function}`:触发事件后的回调函数。
-
-#### 示例
-
-```javascript
-var globalEvent = require('@weex-module/globalEvent');
-globalEvent.addEventListener("geolocation", function (e) {
-  console.log("get geolocation")
-});
-```
-
-### `removeEventListener(String eventName)`
-
-取消事件监听。
-
-#### 参数
-
-- `eventName {string}`:需要取消的事件名称。
-
-#### 示例
-
-```javascript
-var globalEvent = require('@weex-module/globalEvent');
-globalEvent.removeEventListener("geolocation");
-```

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/index.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/index.md b/doc/source/cn/v-0.10/references/modules/index.md
deleted file mode 100644
index c76e401..0000000
--- a/doc/source/cn/v-0.10/references/modules/index.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: 内建模块
-type: references
-order: 4
-has_chapter_content: true
-version: 0.10
----
-
-# 内建模块
-
-## 如何使用
-
-你可以简单的通过类似 `require('@weex-module/name')` 这样的语法获取一个模块的 API,比如:
-
-```javascript
-var dom = require('@weex-module/dom')
-dom.scrollToElement(this.$el('someIdForElement'), {
-  offset: 0
-})
-```

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/modal.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/modal.md b/doc/source/cn/v-0.10/references/modules/modal.md
deleted file mode 100644
index 3e652a8..0000000
--- a/doc/source/cn/v-0.10/references/modules/modal.md
+++ /dev/null
@@ -1,196 +0,0 @@
----
-title: modal
-type: references
-order: 4.4
-version: 0.10
----
-
-# `modal` 模态
-
-`modal` 模块提供了以下展示消息框的 API:`toast`、`alert`、`confirm` 和 `prompt`。
-
-## API
-
-### `toast(options)`
-
-`toast()` 会在一个小浮层里展示关于某个操作的简单反馈。例如,在邮件发送前离开邮编编辑界面,可以触发一个“草稿已保存”的 toast,告知用户以后可以继续编辑。toast 会在显示一段时间之后自动消失。
-
-#### 参数
-
-- `options {Object}`:相关选项
-  - `message {string}`:展示的内容
-  - `duration {number}`:展示的持续时间(以秒为单位)
-
-#### 示例
-
-```html
-<template>
-  <div style="height: 200px; width: 400px; background-color: #00bfff;
-    justify-content: center; align-items: center" onclick="{{perform}}">
-    <text style="font-size: 60px; color: #ffffff">Toast</text>
-  </div>
-</template>
-
-<script>
-  module.exports = {
-    methods: {
-      perform: function () {
-        var modal = require('@weex-module/modal');
-        modal.toast({
-          'message': 'I am a toast',
-          'duration': 3
-        });
-      }
-    }
-  }
-</script>
-```
-
-[体验一下](http://dotwe.org/a1b8699c49d1cbb3d0de66c1c5175387)
-
-### `alert(options, callback)`
-
-警告框经常用于确保用户可以得到某些信息。当警告框出现后,用户需要点击确定按钮才能继续进行操作。
-
-#### 参数
-
-- `options {Object}`:alert选项
-  - `message {string}`:警告框内显示的文字信息
-  - `okTitle {string}`:确定按钮上显示的文字信息,默认是“OK”
-  - `callback {Function}`:用户操作完成后的回调
-
-#### 示例
-
-```html
-<template>
-  <div>
-    <div style="height: 200px; width: 400px; background-color: #00bfff;
-      justify-content: center; align-items: center" onclick="{{perform}}">
-      <text style="font-size: 60px; color: #ffffff">Alert</text>
-    </div>
-    <text>{{params}}</text>
-  </div>
-</template>
-
-<script>
-  module.exports = {
-    data: {
-      params: ''
-    },
-    methods: {
-      perform: function () {
-        var modal = require('@weex-module/modal');
-        var self = this;
-        modal.alert({
-          'message': 'I am alert message',
-          'okTitle': 'YES'
-        }, function (result) {
-          self.params = String(result)
-        });
-      }
-    }
-  }
-</script>
-```
-
-[体验一下](http://dotwe.org/18e2a4bdff4d2f7db865c11eadfcd13e)
-
-### `confirm(options, callback)`
-
-确认框用于使用户可以验证或者接受某些信息。当确认框出现后,用户需要点击确定或者取消按钮才能继续进行操作。
-
-#### 参数
-
-- `options {object}`:confirm 选项
-  - `message {string}`:确认框内显示的文字信息
-  - `okTitle {string}`:确认按钮上显示的文字信息,默认是 `OK`
-  - `cancelTitle {string}`:取消按钮上显示的文字信息,默认是 `Cancel`
-- `callback {function (result)}`:用户操作完成后的回调,回调函数的参数 `result` 是确定按钮上的文字信息字符串
-
-#### 示例
-
-```html
-<template>
-  <div>
-    <div style="height: 200px; width: 400px; background-color: #00bfff;
-      justify-content: center; align-items: center" onclick="{{perform}}">
-      <text style="font-size: 60px; color: #ffffff">Confirm</text>
-    </div>
-    <text>{{params}}</text>
-  </div>
-</template>
-
-<script>
-  module.exports = {
-    data: {
-      params: ''
-    },
-    methods: {
-      perform: function () {
-        var modal = require('@weex-module/modal');
-        var self = this;
-        modal.confirm({
-          'message': 'I have read and accept the terms.',
-          'okTitle': 'YES',
-          'cancelTitle': 'NO'
-        }, function (e) {
-          self.params = String(e)
-        });
-      }
-    }
-  }
-</script>
-```
-
-[体验一下](http://dotwe.org/3534b9d5eac99045015d97b20af22c27)
-
-### `prompt(options, callback)`
-
-提示框经常用于提示用户在进入页面前输入某个值。当提示框出现后,用户需要输入某个值,然后点击确认或取消按钮才能继续操作。
-
-#### 参数
-
-- `options {object}`:prompt 选项
-  - `message {string}`:提示框内要显示的文字信息
-  - `okTitle {string}`:确认按钮上显示的文字信息,默认是 `OK`
-  - `cancelTitle {string}`:取消按钮上显示的文字信息,默认是 `Cancel`
-- `callback {function (ret)}`:用户操作完成后的回调,回调函数的参数 `ret` 格式形如 `{ result: 'OK', data: 'hello world' }`,如下
-  - `result {string}`:用户按下的按钮上的文字信息
-  - `data {string}`:用户输入的文字信息
-
-### 示例
-
-```html
-<template>
-  <div>
-    <div style="height: 200px; width: 400px; background-color: #00bfff;
-      justify-content: center; align-items: center" onclick="{{perform}}">
-      <text style="font-size: 60px; color: #ffffff">Prompt</text>
-    </div>
-    <text>{{params}}</text>
-  </div>
-</template>
-
-<script>
-  module.exports = {
-    data: {
-      params: ''
-    },
-    methods: {
-      perform: function () {
-        var modal = require('@weex-module/modal');
-        var self = this;
-        modal.prompt({
-          'message': 'I am a prompt',
-          'okTitle': 'YES',
-          'cancelTitle': 'NO'
-        }, function (e) {
-          self.params = JSON.stringify(e)
-        });
-      }
-    }
-  }
-</script>
-```
-
-[体验一下](http://dotwe.org/9f089100f5808dbc55ef4872a2c0c77b)

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/navigator.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/navigator.md b/doc/source/cn/v-0.10/references/modules/navigator.md
deleted file mode 100644
index fdd4e76..0000000
--- a/doc/source/cn/v-0.10/references/modules/navigator.md
+++ /dev/null
@@ -1,110 +0,0 @@
----
-title: navigator
-type: references
-order: 4.5
-version: 0.10
----
-
-# `navigator` 导航控制
-<span class="weex-version">v0.6.1+</span>
-
-众所周知,在浏览器里,我们可以通过前进或者回退按钮来切换页面,iOS/Android 的 `navigator` 模块就是用来实现类似的效果的。除了前进、回退功能,该模块还允许我们指定在切换页面的时候是否应用动画效果。
-
-## 示例
-
-```html
-<template>
-  <div class="div">
-    <text class="text" onclick="onItemClick">click me! {{message}}</text>
-  </div>
-</template>
-
-<script>
-  var navigator = require('@weex-module/navigator')
-  var nextUrl = 'http://dotwe.org/raw/dist/6cd1703a45d7b2752cf05303069ce881.js'
-  module.exports ={
-    data:{
-      message:''
-    },
-    methods:{
-      onItemClick:function(e){
-        var params = {'url':nextUrl,'animated':'true'}
-        navigator.push(params, function(e) {
-          console.log('i am the callback.')
-        });
-      }
-    }
-  }
-</script>
-<style>
-  .div {
-    flex-direction: row;
-    justify-content: space-between;
-    align-items: center;
-    width: 750;
-    height: 90;
-    padding-left:30;
-    padding-right:30;
-
-    border-bottom-width: 1;
-    border-style: solid;
-    border-color: #dddddd;
-  }
-  .text{
-    width: 750;
-    height: 90;
-  }
-</style>
-```
-
-[体验一下](http://dotwe.org/dba03a1660e6242778fd19d3d8f5944b)
-
-## API
-
-### `push(options, callback)`
-
-把一个weex页面URL压入导航堆栈中,可指定在页面跳转时是否需要动画,以及操作完成后需要执行的回调函数
-
-#### 参数
-
-* `options {Object}`:选项参数
-  * `url {stirng}`:要压入的 Weex 页面的 URL
-  * `animated {string}`:`"true"` 示意为页面压入时需要动画效果,`"false"` 则不需要,默认值为 `"true"`
-* `callback {Function}`:执行完该操作后的回调函数
-
-#### 示例
-
-```javascript
-var navigator = require('@weex-module/navigator')
-var params = {
-  url: 'navigator-demo.js',
-  animated: 'true'
-}
-navigator.push(params, function () {
-  // callback
-})
-```
-
-### `pop(options, callback)`
-
-把一个 Weex 页面 URL 弹出导航堆栈中,可指定在页面弹出时是否需要动画,以及操作完成后需要执行的回调函数。
-
-#### 参数
-
-* `options {object}`:选项参数对象
-  * `animated {string}`:`"true"` 示意为弹出页面时需要动画效果,`"false"` 则不需要,默认值为 `"true"`
-* `callback {function}`:执行完该操作后的回调函数
-
-#### 示例
-
-```javascript
-var navigator = require('@weex-module/navigator')
-var params = {
-  animated: 'true'
-}
-navigator.pop(params, function () {
-  // callback
-})
-```
-
-*注意事项:`animated` 二级参数目前仅支持字符串的 `"true"` 和 `"false"`,传入布尔值类型会导致程序崩溃,未来版本会修复这个问题*

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/storage.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/storage.md b/doc/source/cn/v-0.10/references/modules/storage.md
deleted file mode 100644
index c18b9ae..0000000
--- a/doc/source/cn/v-0.10/references/modules/storage.md
+++ /dev/null
@@ -1,224 +0,0 @@
----
-title: storage
-type: references
-order: 4.6
-version: 0.10
----
-
-# `storage` 本地存储 
-<span class="weex-version">v0.7+</span>
-
-**备注**:0.7及以上版本可用
-
-`storage` 是一个在前端比较常用的模块,可以对本地数据进行存储、修改、删除,并且该数据是永久保存的,除非手动清除或者代码清除。但是,`storage` 模块有一个限制就是浏览器端(H5)只能存储小于5M的数据,因为在 H5/Web 端的实现是采用 `HTML5 LocalStorage API`。而 Android 和 iOS 这块是没什么限制的。
- storage 常用在一些被用户经常查询,但是又不频繁更新的数据,比如搜索历史、用户的订单列表等。搜索历史一般情况都是作为本地数据存储的,因此使用 storage 比较合适。而用户订单列表是需要本地存储和服务端器检索配合的场景。当一个用户下单后,会经常查阅个人的订单列表。但是,订单的列表数据不是频繁更新的,往往只有在收到货品时,才更新“已签收”,其余平时的状态是“已发货”。因此,可以使用 storage 存储订单列表,可以减少服务器的压力,例如减少 SQL 查询或者缓存的压力。当用户查看订单详情的时候,再更新数据状态。
-
-这里,我们简单模拟“搜索”记录的场景。在搜索的时候写入,然后读取出来展示成列表。 
-
-```html
-<template>
-  <div style="background-color:#F6F6F6;">
-    <div class="search_view">
-      <input class="search" placeholder="Please input" onchange="change"/>
-      <text class="btn" onclick="search">Search</text>
-    </div>
-    <text class="item">History</text>
-    <list>
-      <cell repeat="(i, v) in items">
-        <text class="item">{{v}}</text>
-      </cell>  
-    </list>  
-  </div>
-</template>
-
-<style>
-  .search_view{
-    height:70;
-    margin-top:20;
-    margin-left:10;
-    margin-right:10;
-    flex-direction:row;
-  }
-  .search{
-    height:70;
-    border-width:1;
-    border-color:#dddddd;
-    padding-left:10;
-    font-size:28;
-    flex:1;
-  }
-  .btn{
-    width:80;
-    text-align:center;
-    justify-content:center;
-    font-size:28;
-    background-color:#1A89EA;
-    color:#ffffff;
-  }
-  .item{
-    text-align:center;
-    font-size:25;
-    height:50;
-    margin-top:10;
-    color:#5E5E5E;
-    border-bottom-width:1;
-    border-bottom-color:#dddddd;
-    justify-content:center;
-  }
-</style>
-
-<script>
-  var storage = require('@weex-module/storage');
-  module.exports = {
-    data: {
-      items: [],
-      keywords:''
-    },
-    created: function(){
-      var that = this;
-      storage.getAllKeys(function(e) {
-        if(e.result == 'success' && e.data.length){
-          e.data.forEach(function(item){
-            if(item.indexOf('search_') > -1){
-              that.items.push(item.split('search_')[1]);
-            }
-          });
-        }
-      });
-    },
-    methods:{
-      search: function(){
-      	var that = this;
-      	if(!this.keywords) return;
-        storage.setItem('search_' + this.keywords, this.keywords, function(e) {
-        	that.items.push(that.keywords);
-		 });
-      },
-      change: function(e){
-        if(!e.value) return;
-        this.keywords = e.value;
-      }
-    }
-  };
-</script>
-```
-
-[体验一下](http://dotwe.org/b0f9a8f5df916c91bfb39e54e03a9ba8)
-
-这里,逐一解释下上面的代码。`input` 组件监听了 `change` 事件,可以保存用户输入的搜索关键字。如果用户点击了搜索按钮,则将关键字存储到 storage。这里,使用了 `search_` 作为 storage key 的前缀。因此,我们在页面加载时,在 `created` 生命周期中可以先使用 `storage.getAllKeys` 获取所有的 `key`。如果 `key` 包含了 `search_ `,则说明是搜索记录。因此,将该记录压入数组 items 中,于是界面就会展示出搜索记录的列表。
-
-## API
-
-`storage` 提供了一系列的 API 供我们调用。我们只需要引入该模块,然后调用对应的 API 即可。
-
-### `setItem(key, value, callback)`
-
-该方法可以通过键值对的形式将数据存储到本地。同时可以通过该方法,更新已有的数据。
-
-#### 参数
-
-* `key {string}`:要存储的键,不允许是 `""` 或 `null`
-* `value {string}`:要存储的值,不允许是 `""` 或 `null`
-* `callback {function (e)}`:执行操作成功后的回调
-  * `e.result`:表示设置是否成功,如果成功返回 `"success"`
-  * `e.data`:`undefined` 表示设置成功,`invalid_param` 表示 key/value 为 `""` 或者 `null`
-
-#### 示例
-
-```javascript
-var storage = require('@weex-module/storage')
-storage.setItem('bar', 'bar-value', function (e) {
-  e.result
-  e.data
-})
-```
-
-这里,对返回值做一个简单的介绍:
-
-`e` 包含两个属性:`e.result` 和 `e.data`。如果 `e.result` 返回值是 “success”,则说明成功。`e.data` 返回 `undefined` 表示设置成功,返回 `invalid_param` 表示` key/value` 为 "" 或者 null。因此,你可以判断两个返回判断是否插入成功。
-
-### `getItem(key, callback)`
-
-传入键名返回对应的键值
-
-#### 参数
-
-* `key {string}`:要获取的值的名称,不允许是 `""` 或 `null`
-* `callback {function (e)}`:执行操作成功后的回调
-  * `e.result`:表示设置是否成功,如果成功返回 `"success"`
-  * `e.data`:获取对应的键值字符串,如果没有找到则返回 `undefined`
-
-#### 示例
-
-```javascript
-var storage = require('@weex-module/storage')
-storage.getItem('foo', function (e) {
-  e.data
-});
-```
-
-### `removeItem(key, callback)`
-
-传入一个键名将会删除本地存储中对应的键值
-
-#### 参数
-
-* `key {string}`:要删除的值的名称,不允许是 `""` 或 `null`
-* `callback {function (e)}`:执行操作成功后的回调.
-  * `e.result`:表示删除是否成功,如果成功返回 `"success"`
-  * `e.data`:`undefined` 表示删除成功
-
-#### 示例
-
-```javascript
-var storage = require('@weex-module/storage')
-storage.removeItem('foo', function (e) {
-  e.result
-  e.data
-})
-```
-
-### `length(callback)`
-
-返回本地存储的数据中所有存储项数量的整数
-
-#### 参数
-
-* `callback {function (e)}`:执行操作成功后的回调
-  * `e.result`:表示设置是否成功,如果成功返回 `"success"`
-  * `e.data`:当前已存储项的数量
-
-#### 示例
-
-````javascript
-var storage = require('@weex-module/storage')
-storage.length(function (e) {
-  e.result
-  e.data
-})
-````
-
-### `getAllKeys(callback)`
-
-返回一个包含全部已存储项键名的数组
-
-#### 参数
-
-* `callback {function (e)}`:执行操作成功后的回调。
-  * `e.result`:表示设置是否成功,如果成功返回 `"success"`
-  * `e.data`:所有键名组成的数组
-
-#### 示例
-
-````javascript
-var storage = require('@weex-module/storage')
-storage.getAllKeys(function (e) {
-  e.result
-  e.data
-})
-````
-
-## 其它参考
-
-* [W3school: html5 localStorage](http://www.w3school.com.cn/html5/html_5_webstorage.asp)
-* [storage 模块完整的 Demo](https://github.com/apache/incubator-weex/blob/dev/examples/module/storage-demo.we)

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/stream.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/stream.md b/doc/source/cn/v-0.10/references/modules/stream.md
deleted file mode 100644
index 6c1b893..0000000
--- a/doc/source/cn/v-0.10/references/modules/stream.md
+++ /dev/null
@@ -1,220 +0,0 @@
----
-title: stream
-type: references
-order: 4.7
-version: 0.10
----
-
-# stream
-
-## 概述
-
-以下为 stream 相关的 API,用于实现网络请求。
-
-## API
-### `fetch(options, callback[,progressCallback])`
-
-发起网络请求
-
-#### 参数
-
-- `options {Object}`:请求的一些选项
-  - `method {string}`:HTTP 方法 `GET` 或是 `POST`
-  - `url {string}`:请求的 URL
-  - `headers {Object}`:HTTP 请求头
-  - `type {string}`:请求类型, `json`,`text` 或是 `jsonp` {在原生实现中其实与 json 相同)
-  - `body {string}`:HTTP 请求体。
-    
-    **注意:**
-    
-    - `body` 参数仅支持 `string` 类型的参数,请勿直接传递 `JSON`,必须先将其转为字符串。
-    - `GET` 请求不支持 `body` 方式传递参数,请使用 url 传参。
-
-- `callback {Function}`:响应结果回调,回调函数将收到如下的 `response` 对象:
-  - `status {number}`:返回的状态码
-  - `ok {boolean}`:如果状态码在 200~299 之间就为真。
-  - `statusText {string}`:状态描述文本
-  - `data {Object | string}`: 返回的数据,如果请求类型是 `json` 和 `jsonp`,则它就是一个 object ,如果不是,则它就是一个 string。
-  - `headers {Object}`:响应头
-- `progressCallback {Function}`:关于请求状态的回调。 这个回调函数将在请求完成后就被调用:
-  - `readyState {number}`:当前状态 
-    state:'1': 请求连接中
-    opened:'2': 返回响应头中
-    received:'3': 正在加载返回数据
-  - `status {number}`:响应状态码.
-  - `length {number}`:已经接受到的数据长度. 你可以从响应头中获取总长度
-  - `statusText {string}`:状态文本
-  - `headers {Object}`:响应头
-
-#### 示例
-
-```html
-<template>
-  <div class="wrapper">
-    <list class="list">
-      <header class="header">
-        <text class="title">Search Results</text>
-      </header>
-      <refresh style="width: 750; padding: 30;" onrefresh="refreshData" display="{{refreshDisplay}}">
-        <text class="text"> ↓ Pull to refresh </text>
-        <loading-indicator class="indicator"></loading-indicator>
-      </refresh>
-      <cell class="row" repeat="item in items" id="item-{{$index}}">
-        <div>
-          <text class="item">Repo name: {{item.full_name}}</text>
-        </div>
-        <div>
-          <text class="item">Repo star: {{item.stargazers_count}}</text>
-        </div>
-      </cell>
-      <loading onloading="loadingData" style="width: 750; padding: 30;" display="{{loadingDisplay}}">
-        <text class="text">{{loadingText}}</text>
-      </loading>
-    </list>
-    <div class="up" onclick="goToTop">
-      <img class="img" src="https://img.alicdn.com/tps/TB1ZVOEOpXXXXcQaXXXXXXXXXXX-200-200.png"></img>
-    </div>
-  </div>
-</template>
-
-<style>
-.wrapper {
-  position: absolute;
-  top: 0;
-  right: 0;
-  bottom: 0;
-  left: 0;
-}
-.list{
-  background-color: #ffffff;
-  flex: 1;
-}
-.header {
-  height: 80;
-  align-items: center;
-  justify-content: center;
-  background-color: #efefef;
-  border-bottom-color: #eeeeee;
-  border-bottom-width: 2;
-  border-bottom-style: solid;
-}
-.title {
-  text-align: center;
-}
-.text {
-  text-align: center;
-}
-.row {
-  padding: 20;
-  border-bottom-color: #eeeeee;
-  border-bottom-width: 2;
-  border-bottom-style: solid;
-}
-.up {
-  width: 70;
-  height: 70;
-  position: fixed;
-  right: 20;
-  bottom: 20;
-}
-.img {
-  width: 70;
-  height: 70;
-}
-</style>
-
-<script>
-var dom = require('@weex-module/dom') || {}
-var stream = require('@weex-module/stream') || {}
-var modal = require('@weex-module/modal') || {}
-
-var SEARCH_URL = 'https://api.github.com/search/repositories?q=language:javascript&sort=stars&order=desc'
-
-module.exports = {
-  data: {
-    isLoaded: true,
-    page: 1,
-    loadingDisplay: 'hide',
-    refreshDisplay: 'hide',
-    loadingText: 'Loading...',
-    items:[]
-  },
-  created: function () {
-    var url = SEARCH_URL + '&page=' + this.page
-
-    this.renderData(url)
-    
-    this.page++
-  },
-  methods: {
-    renderData: function (url) {
-      var self = this
-
-      stream.fetch({
-        method: 'GET',
-        url: url,
-        type:'json'
-      }, function(res) {
-        self.refreshDisplay = 'hide'
-        self.loadingDisplay = 'hide'
-
-        try {
-          var results = res.data.items || []
-          
-          if (Array.isArray(results)) {
-            for(var i = 0; i < results.length; i++) {
-              self.items.push(results[i])
-            }
-          }
-
-          self.isLoaded = true
-        } catch(e) {}
-      },function(res){
-          
-      })
-    },
-    loadingData: function (e) {
-      var url = SEARCH_URL + '&page=' + this.page
-      var self = this
-      
-      if (self.isLoaded === false) return 
-      
-      self.loadingDisplay = 'show'
-      
-      if (self.page <=10 ) {
-        self.renderData(url)
-        self.page++
-      } else {
-        self.loadingDisplay = 'hide'
-        self.loadingText = 'NO MORE!'
-      }
-    },
-    goToTop: function (e) {
-      dom.scrollToElement(this.$el('item-0'), {
-        offset: -100
-      })
-    },
-    refreshData: function (e) {
-      var url = SEARCH_URL + '&page=1'
-
-      if (this.isLoaded === false) return 
-      
-      this.refreshDisplay = 'show'
-
-      modal.toast({
-        'message': 'Refreshing...', 
-        'duration': 1
-      })
-
-      this.items = []
-      this.page = 1
-      this.renderData(url)
-
-      this.refreshDisplay = 'hide'
-    }
-  }
-}
-</script>
-```
-
-[体验一下](http://dotwe.org/ed524ade679b0fa96e980600c53ea5ce)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/modules/webview.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/webview.md b/doc/source/cn/v-0.10/references/modules/webview.md
deleted file mode 100644
index b6f3cbe..0000000
--- a/doc/source/cn/v-0.10/references/modules/webview.md
+++ /dev/null
@@ -1,66 +0,0 @@
----
-title: webview
-type: references
-order: 4.8
-version: 0.10
----
-
-# `webview`
-
-一系列的 `<web>` 组件操作接口。 比如 `goBack`、`goForward`、和 `reload`。`webview` module 与 `<web>` 组件共用。
-
-## 示例
-
-查看 [简单浏览器](../components/web.html) ,一个结合 `<web>` 组件和 `webview` module 的示例。
-
-## API
-
-### `goBack(webElement)`
-
-加载历史记录里的前一个资源地址。
-
-#### 参数
-
-* `webElement {Element}`:`<web>` 组件对象。
-
-#### 示例
-
-```javascript
-var webview = require('@weex-module/webview')
-var webElement = this.$el('webview')
-webview.goBack(webElement)
-```
-
-### `goForward(webElement)`
-
-加载历史记录里的下一个资源地址。
-
-#### 参数
-
-* `webElement {Element}`:`<web>` 组件对象。
-
-#### 示例
-
-```javascript
-var webview = require('@weex-module/webview')
-var webElement = this.$el('webview')
-webview.goForward(webElement)
-```
-
-### `reload(webElement)`
-
-刷新当前页面。
-
-#### 参数
-
-* `webElement {Element}`:`<web>` 组件对象。
-
-#### 示例
-
-```javascript
-var webview = require('@weex-module/webview')
-var webElement = this.$el('webview')
-webview.reload(webElement.ref)
-```
-
-*注意事项:未来 `<web>` 组件的 `Element` 对象将会支持直接这些方法,届时 `webview` module 将不再需要*

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/replace.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/replace.md b/doc/source/cn/v-0.10/references/replace.md
deleted file mode 100644
index 5ace251..0000000
--- a/doc/source/cn/v-0.10/references/replace.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# Replace option
-
-The `replace` option is boolean type. It determined whether this composed component will be replaced with the `<template>` content or just as a normal `<div>` element which include the `<template>` content.
-
-For example:
-
-```
-<element name="foo">
-  <template>
-    <text>Foo</text>
-  </template>
-  <script>
-    module.exports = {
-      replace: false // by default
-    }
-  </script>
-</element>
-
-<template>
-  <foo></foo>
-</template>
-```
-
-will rendered as:
-
-```
-<div>
-  <text>Foo</text>
-</div>
-```
-
-but:
-
-```
-<element name="foo">
-  <template>
-    <text>Foo</text>
-  </template>
-  <script>
-    module.exports = {
-      replace: true
-    }
-  </script>
-</element>
-
-<template>
-  <foo></foo>
-</template>
-```
-
-will rendered as:
-
-```
-<text>Foo</text>
-```
-
-So you can choose a way you need or like to manage your virtual DOM structure.

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/special-element.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/special-element.md b/doc/source/cn/v-0.10/references/special-element.md
deleted file mode 100644
index e01a2c7..0000000
--- a/doc/source/cn/v-0.10/references/special-element.md
+++ /dev/null
@@ -1,38 +0,0 @@
----
-title: 特殊元素
-type: references
-order: 1.11
-version: 0.10
----
-
-# 特殊元素
-
-## `<content>`
-
-`<content>` 在编写组件模板时作为作为内容节点元素存在,使用时将被真正的元素替换。
-
-替代写法: `<slot>`。
-
-## 示例
-
-如示例中写法,`<content>`  节点被 `<text>` 替代。
-
-```html
-<element name="item">
-  <template>
-    <div>
-      <content></content>
-    </div>
-  </template>
-</element>
-
-<template>
-  <div>
-    <item>
-      <text>Content Text</text>
-    </item>
-  </div>
-</template>
-```
-
-[体验一下](http://dotwe.org/bf4354a0e6dbe67470ad1a988cdd565e)

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/specs/index.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/specs/index.md b/doc/source/cn/v-0.10/references/specs/index.md
deleted file mode 100644
index 164e61b..0000000
--- a/doc/source/cn/v-0.10/references/specs/index.md
+++ /dev/null
@@ -1,309 +0,0 @@
----
-title: JS Bundle format (英)
-type: references
-order: 5
-has_chapter_content: false
-chapter_title: 底层规范
-version: 0.10
----
-
-# JS Bundle format
-
-JS Bundle Version: v0.3.0
-
-## v0.5.0
-
-### Whole Syntax and Structure
-
-A JS Bundle is actually a JavaScript file which follows **ES5** standard. The code is used to define some custom components for the instance and bootstrap the instance with certain name, config and data. Developers could use all kinds of JS code packager like webpack, browserify, requirejs to organize your whole instance code.
-
-### Meta Info
-
-The JS Bundle Must begin with a comment line which is a JSON object like:
-
-```javascript
-// { "framework": "Weex", "version": "0.5.0" }
-```
-
-This JSON object as least contains:
-
-* property `framework` must be `"Weex"`
-* property `version` should be corresponded with the JS Bundle format version
-
-### Global Members
-
-* `__weex_define__(name, options)`
-* `__weex_bootstrap__(name, config, data)`
-* `__weex_document__`
-* `__weex_require__(name)`
-
-#### `__weex_define__(name:string, options: object)`
-
-Define a custom component named `name` for current instance with `options`.
-
-**example:**
-
-```javascript
-__weex_define__('rmb', {
-  template: {
-    type: 'div',
-    style: {flexDirection: 'row'},
-    children: [
-      {type: 'text', attr: {value: '¥'}},
-      {type: 'text', attr: {value: this.value}}
-    ]
-  },
-  data: function () {
-    return {
-      value: '0'
-    }
-  },
-  methods: {...}
-})
-```
-
-The enabled component options contains:
-
-* `template`: just the same as [v0.3.0](#details-of-template-option-definitions)
-* `style`: just the same as [v0.3.0](#details-of-style-option-definitions)
-* `data`: a function which return a plain object to observe by the ViewModel
-* `methods`: a function map to proxy to the ViewModel
-* `computed`: a map of several computed keys for the ViewModel
-* `init`, `created`, `ready`: lifecycle methods
-* `events`: event handlers for the ViewModel
-<!-- * `components`: a map for options of sub components the ViewModel needed (So `__weex_define__(name, options)` equals to run `this.components[name] = options` in each custom components when `init`) -->
-
-The enabled ViewModel APIs contains:
-
-* `$el(id): Element`: find element by id in current ViewModel scope
-* `$vm(id): ViewModel`: find sub ViewModel by id
-* `$getConfig(): object`: get instance config info
-* `$broadcast`/`$emit`/`$dispatch`/`$on`/`$off`: listen and fire component events
-* `$transition` *(experimental)*: animation transition (see more in [animation native module](../animation.html))
-
-#### `__weex_require__(name: string): object`
-
-Get a Weex native module with several native APIs.
-
-**example:**
-
-```javascript
-var modal = __weex_require__('modal')
-modal.toast({
-  message: 'Hey!',
-  duration: 2
-})
-```
-
-polyfill for v0.3.0
-
-```javascript
-function __weex_require__(name) {
-  var result
-  define('__weex_require__', function (r, e, m) {
-    result = r('@weex-module/' + name)
-  })
-  return result
-}
-```
-
-#### `__weex_bootstrap__(nameOrOptions: string|object, config: object?, data: object?): AppInstance | Error`
-
-Start to render by a certain component name or a direct component options as the root element, and some instance `config` and instance `data`. If everything fine, it will returns the root app instance. Otherwise it will return an `Error` instance which describes something wrong.
-
-**example:**
-
-```javascript
-__weex_bootstrap__(
-  'root',
-  {
-    // format 1:
-    // downgrade: { appVersion: '>= 0.5.0' },
-    // format 2:
-    // downgrade: function (config) { return true }
-  },
-  {
-    // external data
-    // value: '12345'
-  }
-)
-```
-
-The instance `config` now only support `downgrade` property which allows two format:
-
-1. an object like `{ osVersion, appVersion, weexVersion, deviceModel }`
-2. a function like `function (config) { return true }` to return a boolean value. `true` means normal and `false` means downgrade.
-
-The instance `data` will merge to root component data. So the root component is also easy to reuse and the instance data is easy to customize.
-
-#### `__weex_document__`
-
-An virtual-DOM `Document` instance. Also the host of [virtual-DOM APIs](./virtual-dom-apis.html). Every Weex instance has and must have just one `Document` instance.
-
-### Preserved Global Variables
-
-`define`, `bootstrap`, `module`, `exports`, `document`, `require`, `register`, `render`
-
-### A whole example
-
-```javascript
-// { "framework": "Weex", "version": "0.5.0" }
-
-var modal = __weex_require__('modal')
-
-__weex_define__('item', {
-  template: {
-    type: 'div',
-    style: { flexDirection: 'row' },
-    event: {
-      click: function (e) {
-        this.update(e)
-      }
-    },
-    children: [
-      { type: 'image', attr: { src: this.imageUrl }, ...},
-      { type: 'text', attr: { value: this.title }, ...}
-    ]
-  },
-  data: function () {
-    return {
-      imageUrl: '',
-      title: ''
-    }
-  },
-  methods: {
-    update: function (e) {
-      modal.toast({ message: this.title })
-    }
-  }
-})
-
-__weex_define__('app', {
-  template: {
-    type: 'div',
-    children: [
-      {
-        type: 'item',
-        repeat: {
-          expression: function () {
-            return this.list
-          },
-          key: '$index',
-          value: '$value'}
-        },
-        attr: {
-          imageUrl: function () {
-            return this.$value.imageUrl
-          },
-          title: function () {
-            return this.$value.title
-          }
-        }
-      }
-    ]
-  },
-  data: function () {
-    return {
-      list: [
-        { imageUrl: 'xxx', title: '111' },
-        { imageUrl: 'yyy', title: '222' },
-        { imageUrl: 'zzz', title: '333' }
-      ]
-    }
-  }
-})
-
-__weex_bootstrap__('app')
-```
-
-## v0.3.0
-
-### Whole Syntax and Structure
-
-A JS Bundle is actually a JavaScript file which follows **ES5** standard. The code is organized by several modules with AMD-like format:
-
-```javascript
-define('moduleName1', function (require, exports, module) {
-  // content of module1
-})
-
-define('moduleName2', function (require, exports, module) {
-  // content of module2
-})
-
-...
-```
-
-A whole Weex JS Bundle is concatenated by these modules and last a `bootstrap(rootComponentName, optionalConfig, optionalExternalData)` function call.
-
-```javascript
-define('@weex-component/a', function (require, exports, module) {
-  // content of composed component <a>
-})
-
-define('@weex-component/b', function (require, exports, module) {
-  // content of composed component <b>
-})
-
-bootstrap('@weex-component/b')
-```
-
-As the sample above, the component name should be hyphenated (a-z, 0-9, "-"). Other characters are not allowed.
-
-And, the method call `bootstrap()` allows 1~3 parameters: root module name (String), config info (optional JSON) and external data (optional JSON).
-
-### Content of Composed Components
-
-A module of composed component contains 3 parts: whole options definition, additional template option definition and additional style option definition.
-
-- whole options is a piece of JavaScript code to put component options (except `template` option and `style` option) into `module.exports`
-- `template` option is a piece of JSON-like object assigned to `module.exports.template` which describes the display structure of this component
-- `style` option is a piece of JSON object assigned to `module.exports.style` which describes the reusable styles in this component
-
-The `template` option is required and appeared only once, and the `style` option and whole options definition are optional.
-
-These options are defined and transformed by Transformer. Actually you can also ignore all the format limitation and write options to `module.exports` as the same result if you are not going to use Transformer. But that's not recommended.
-
-#### Details of template option definitions
-
-A piece of multi-level embedded JSON-like object which describes the view structure.
-
-Every level JSON-like object has these members below:
-
-* `type`: a required string, component name/type
-* `component`: an optional boolean, whether this component is composed or native
-* `attr`: an optional k-v pairs which contains all attributes of an element, the value could be a string, number, boolean or a function that bind some data value
-* `style`: an optional k-v pairs which contains all styles of an element, just the same format as the `attr`
-* `classList`: an optional array of strings which contains class names for styling.
-* `events`: an optional k-v pairs whose keys are event type and values are corresponding method names
-* `children`: an optional array of child components info
-* `append`: an optional string which determines a compiling workflow strategy: append node-by-node singly or a whole node tree just one time. the default value is `node` and another supported value is `tree`.
-* `shown`: a optional function which returns a boolean value to determine whether this component should be displayed
-* `repeat`: a optional function which returns a list data to displays components with each
-
-**Corresponding Keys to Weex Transformer:**
-
-- tag `name` in Weex file corresponds to `type`
-- attr `if` in Weex file corresponds to `shown`
-- attr `repeat` in Weex file corresponds to `repeat`
-- attr `append` in Weex file corresponds to `append`
-- attr `style` in Weex file with CSS syntax corresponds to `style`
-- attr `class` in Weex file with class names separated by blanks corresponds to `classList`
-- attr `on***` in Weex file with prefix `on` corresponds to a k-v pair in `events`
-- other attributes in Weex file corresponds to `attr`
-- Child nodes in Weex file corresponds to `children`
-
-All tag names, attr names are case-insensitive and transformed to lower-cased. But the attr values are case-sensitive.
-
-#### Details of style option definitions
-
-Just a two-levels JSON object.
-
-* The first levels are class names.
-* The second levels are k-v pairs which describes style names & properties for each class name.
-
-**Corresponding Keys to Weex Transformer:**
-
-* class name corresponds to first level keys
-* prop name corresponds to second level keys
-* prop value corresponds to second level values

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/specs/js-framework-apis.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/specs/js-framework-apis.md b/doc/source/cn/v-0.10/references/specs/js-framework-apis.md
deleted file mode 100644
index d24dd3b..0000000
--- a/doc/source/cn/v-0.10/references/specs/js-framework-apis.md
+++ /dev/null
@@ -1,190 +0,0 @@
----
-title: JS Framework APIs (英)
-type: references
-order: 5.2
-version: 0.10
----
-
-# JS Framework APIs
-
-## Intro about JS Runtime
-
-These APIs are designed for JS Framework and Native Engine working together.
-
-Considering the limitation of mobile phone resource, *Weex runs only one JS runtime* to handle all Weex instances. So it need a multi-instance management layer in JavaScript. These JS Framework APIs are just designed to do the management job.
-
-* First, each Weex instance have a lifecycle, from `createInstance` to `destroyInstance`. During this period, we can import some extra data by `refreshInstance`.
-* To communicate with Native Engine, we have a couple of APIs: `sendTasks` and `receiveTasks`. They are used to call each other by some commands and messages.
-* And when JS runtime start at the beginning of the app launching, we need something initialized and configured. So we supply some APIs like `registerComponents`, `registerModules`.
-* The last API is just for debugging, we supply an API named `getRoot` to return the whole virtual-DOM data for developers.
-* If any of these API calls failed, an `Error` object should be returned.
-
-## Called by native and supplied from JS Framework
-
-### `createInstance(instanceId, code, options, data)`
-
-Create a Weex instance from Native Engine
-
-* `instanceId`: The unique id for a Weex instance, generated by Native Engine.
-* `code`: The JS bundle code send from Native Engine. It will be executed by `new Function(code)` in JS Framework. The code format depends on [JS Bundle Foramt](./js-bundle-format.html)
-* `options`: *Optional*. An options object. *Currently it supports `debug` flag which enable printing log and `bundleUrl` flag which the url of bundle.*
-* `data`: *Optional*. It's an chance to supply external data instead of the original data in JS bundle.
-
-Example:
-
-```javascript
-createInstance('x', 'define(...); define(...); define(...); bootstrap(...)')
-createInstance('x', '...', { bundleUrl, debug, ... }, { a: 1, b: 2 }})
-```
-
-### `destroyInstance(instanceId)`
-
-Destroy an existed Weex instance by id from Native Engine
-
-### `refreshInstance(instanceId, data)`
-
-Refresh data to an existed Weex instance with certain external data from Native Engine
-
-Example:
-
-```javascript
-refreshInstance('x', {a: 100, b: 200})
-```
-
-### `registerComponents(components)`
-
-Register all native components
-
-* `components`: A array of whose items are component options that are force part to use. *Currently it supports `append` attribute which forces the appending mechanism (`tree` or `node`) when first time rendering.*
-
-Example:
-
-```javascript
-registerComponents([
-  { type: 'container' },
-  { type: 'text' },
-  { type: 'image' },
-  { type: 'slider', append: 'tree' },
-  { type: 'list' },
-  { type: 'cell', append: 'tree' },
-  ...
-])
-```
-
-### `registerModules(modules)`
-
-Register the name, methods and args format of each module
-
-* `modules`: A map that collects all native module definitions. Each module definition is an array which has several API definitions. Each API definition has a `name` string and an `args` array which contains a list of each parameter's type.
-
-**NOTE: the `node` type data will actually return its `ref` property. And the `function` type data will actually return a unique function id referring to it.**
-
-Example:
-
-```javascript
-registerModules({
-  event: [
-    {name: 'openURL', args: ['string']}
-  ],
-  ...
-})
-```
-
-### `receiveTasks(instanceId, tasks)`
-
-Fire events or callbacks to an existed Weex instance from Native Engine
-
-* `tasks[]`: A task list. Each task has a `method="fireEvent|callback"` property and a list of `args`.
-    - In `fireEvent` method, the `args` is `ref` of the target, event `type`, event `data` and `domChanges` description in order. **Note: if some event make virtual-DOM data changed (e.g. value changed in `<input>` or current index changed in `<slider>`), the changing of the target element will be passed as `domChanges`.**
-    - In `callback` method, the `args` is `funcId` of a handler, `data` and `ifKeepAlive` which describes whether this callback handler should be keeping called. (Each callback handler is matched with a `funcId` when the original call happens.)
-
-Example:
-
-```javascript
-receiveTasks('x', [{method: 'fireEvent', args: ['x', '13', 'click', {a: 100, b: 200}]}])
-receiveTasks('x', [{method: 'callback', args: ['x', '7', {a: 100, b: 200}, true]}])
-```
-
-### `getRoot(instanceId)`
-
-Return a JSON object which describes the whole virtual DOM body of an existed Weex instance, which designed for debugging
-
-Example:
-
-```javascript
-getRoot('x')
-// {ref: '_root', type: 'container', attr: {...}, style: {...}, children: [...]}
-```
-
-## Called from JavaScript and implemented with native code
-
-### `sendTasks(instanceId, tasks)`
-
-Make native calls from JS Framework
-
-* `tasks[]`: A task list. Each task has a `module` name, a `method` name, and a `args[]` list.
-
-Example:
-
-```javascript
-sendTasks('x', [
-  {module: 'dom', method: 'addElement', args: ['_root', {ref: '1', type: 'container'}, -1]},
-  {module: 'dom', method: 'addElement', args: ['1', {ref: '2', type: 'text', ...}, -1]},
-  {module: 'dom', method: 'addElement', args: ['1', {ref: '3', type: 'image', ...}, -1]},
-  ...
-])
-```
-
-## Supporting other JS Framework <sup>(experimental)</sup>
-
-### Register a new JS Framework
-
-```javascript
-// lib/frameworks/index.js
-
-import Vue from '...'
-import React from '...'
-import Angular from '...'
-
-export const frameworks = {
-  Vue,
-  React,
-  Angular
-}
-```
-
-### Expose JS Framework APIs
-
-```javascript
-// 3rd-party-framework.js
-
-export function createInstance (id, code, config, data) { ... }
-export function destroyInstance (id) { ... }
-export function refreshInstance (id, data) { ... }
-export function registerComponents (components) { ... }
-export function registerModules (modules) { ... }
-export function recieveTasks (id, tasks) { ... }
-export function getRoot (id) { ... }
-```
-
-The virtual-DOM tasks should follow [virtual-DOM spec](./virtual-dom-apis.html).
-
-### Framework Helper
-
-You can import `lib/runtime/helper.js` to get two important things:
-
-* `Document` class, see [virtual-DOM spec](./virtual-dom-apis.html) for more.
-* `sendTasks` method.
-
-### JS Bundle format
-
-You must ensure the JS Bundle has its first line of code like this:
-
-```javascript
-// { "framework": "Vue" }
-...
-```
-
-to allow JS Runtime to detect which JS Framework it should be opened by.
-
-If no valid annotation found. The JS Bundle will be opened by default JS Framework of Weex.

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/specs/virtual-dom-apis.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/specs/virtual-dom-apis.md b/doc/source/cn/v-0.10/references/specs/virtual-dom-apis.md
deleted file mode 100644
index 9291497..0000000
--- a/doc/source/cn/v-0.10/references/specs/virtual-dom-apis.md
+++ /dev/null
@@ -1,148 +0,0 @@
----
-title: Virtual DOM APIs
-type: references
-order: 5.3
-version: 0.10
----
-
-# Virtual DOM APIs
-
-## `Document`
-
-每个实例有一个与实例 id 对应的 document。Document 具有组成一个节点树的多个节点。
-
-### 构造函数
-
-##### `new Document(id: string, url: string?)`
-
-### 成员
-
-##### `createElement(tagName: string, props: Object?): Element`
-
-创建一个特定类型 `Element` 对象。`props` 对象可能包含一个 `attr` 对象和一个 `style` 对象。例如 `createBody('div', {style: {backgroundColor: '#ffffff'}})`
-
-##### `createComment(text: string): Comment`
-
-创建一个具有一些注释文本的 `Comment` 对象。
-
-##### `open()`
-
-初始化渲染开始时设置一个标志,表示初始化渲染开始,每个 DOM 更新将被立即调用。
-
-##### `close()`
-
-初始化渲染完成时设置一个标志,标识初始化渲染完成,DOM 更新以后将在每个任务中批处理。
-
-##### `fireEvent(el: Element, type: string, e: Object?, domChanges: Object?)`
-
-在某个元素上触发一个带有特定类型的事件,这个事件带有一个事件对象。当事件导致一些 DOM 的变化,第四个参数将像 `createElement` 方法里的 `props` 参数一样描述这些 DOM 变化。
-
-#### 只读属性 & Getters
-
-##### `id: string`
-
-##### `URL: string?`
-
-##### `body: Element`
-
-body 元素
-
-##### `documentElement: Element`
-
-document 元素
-
-##### `getRef(ref: string): Node?`
-
-通过内部 node map 的 `ref` 获取节点。 
-
-**注意:**
-
-在一个 document 被创建时会自动生成一个 `documentElement` ,并且 `body` 应该手动创建并添加到 `documentElement` 才能工作。`body` 的 `type` 必须是一个 `div`,`list` 或 `scroller`。
-
-## `Node`
-
-### 构造函数
-
-##### `new Node()`
-
-### 成员
-
-##### `destroy()`
-
-#### 只读属性 & Getters
-
-##### `ref: string`
-
-##### `nextSibling: Node?`
-
-##### `previousSibling: Node?`
-
-##### `parentNode: Node?`
-
-## `Element` extends `Node`
-
-### 构造函数
-
-##### `new Element(type: string, props: Object?, ownerDocument: Document)`
-
-创建一个元素,并且 `props` 对象可能包含一个 `attr` 对象和一个 `style` 对象。
-
-### 成员
-
-#### DOM 树
-
-##### `appendChild(node: Node)`
-
-##### `insertBefore(node: Node, before: Node?)`
-
-##### `insertAfter(node: Node, after: Node?)`
-
-##### `removeChild(node: Node, preserved: boolean?)`
-
-移除一个子节点。`preserved` 参数表示是否立即销毁删除该节点或保存它。
-
-##### `clear()`
-
-#### DOM props
-
-##### `setAttr(key: string, value: string, silent: boolean?)`
-
-如果 `silent` 为 `true`,也不会调用 native。用于有 virtual-DOM 变化的事件处理。
-
-##### `setStyle(key: string, value: string, silent: boolean?)`
-
-`silent` 参数作用与 `setAttr` 中的一样。
-
-##### `setClassStyle(classStyle: Object)`
-
-class 样式的 CSS 优先级低于内联样式,当两种样式风格出现时,内联样式的值会覆盖 class 样式的值。
-
-##### `addEvent(type: string, handler: Function)`
-
-##### `removeEvent(type: string)`
-
-##### `fireEvent(type: string, e: any)`
-
-#### 只读属性 & Getters
-
-##### `toJSON(): Object`
-
-格式化 `{ref: string, type: string, attr: Object, style: Object, event: Array(string), children: Array}`
-
-## `Comment` extends `Node`
-
-`Comment` 将不被传给渲染引擎。因此,可作为占位符使用。
-
-### 构造函数
-
-##### `new Comment(value: string)`
-
-### 成员
-
-#### 只读属性 & Getters
-
-##### `type: string`
-
-返回 `'comment'`
-
-##### `value: string`

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/text-style.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/text-style.md b/doc/source/cn/v-0.10/references/text-style.md
deleted file mode 100644
index 85f67c8..0000000
--- a/doc/source/cn/v-0.10/references/text-style.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: 文本样式
-type: references
-order: 1.7
-version: 0.10
----
-
-# 文本样式
-
-<span class="weex-version">v0.5+</span>
-
-文本类组件共享一些通用样式, 这类组件目前包括 [`<text>`](./components/text.html) 和 [`<input>`](./components/input.html)。
-
-## 属性
-
-- `color {color}`:文字颜色。
-
-  可选值为色值,支持 RGB( `rgb(255, 0, 0)` );RGBA( `rgba(255, 0, 0, 0.5)` );十六进制( `#ff0000` );精简写法的十六进制( `#f00` );色值关键字(`red`)。
-
-- `lines {number}`: 指定文本行数。仅在 `<text>` 组件中支持。默认值是 `0` 代表不限制行数。
-
-- `font-size {number}`:文字大小。
-
-- `font-style {string}`:字体类别。可选值 `normal` | `italic`,默认为 `normal`。
-
-- `font-weight {string}`:字体粗细程度。可选值 `normal` | `bold`,默认为 `normal`。
-
-- `text-decoration {string}`:字体装饰,可选值 `none` | `underline` | `line-through`,默认值为 `none`。
-
-- `text-align {string}`:对齐方式。可选值 `left` | `center` | `right`,默认值为 `left`。目前暂不支持 `justify`, `justify-all`。
-
-- `font-family {string}`:设置字体。
-  
-  这个设置 **不保证** 在不同平台,设备间的一致性。如所选设置在平台上不可用,将会降级到平台默认字体。
-
-- `text-overflow {string}`:设置内容超长时的省略样式。可选值 `clip` | `ellipsis`
-
-## 其它参考
-
-- [颜色关键字列表](./references/color-names.html)。

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/units.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/units.md b/doc/source/cn/v-0.10/references/units.md
deleted file mode 100644
index 2ff3482..0000000
--- a/doc/source/cn/v-0.10/references/units.md
+++ /dev/null
@@ -1,66 +0,0 @@
----
-title: CSS 单位
-type: references
-order: 1.9
-version: 0.10
----
-
-# CSS 单位
-
-## CSS `color` 单位
-
-支持以下写法:
-
-```css
-.classA {
-  /* 3-chars hex */
-  color: #0f0;
-  /* 6-chars hex */
-  color: #00ff00;
-  /* rgba */
-  color: rgb(255, 0, 0);
-  /* rgba */
-  color: rgba(255, 0, 0, 0.5);
-  /* transparent */
-  color: transparent;
-  /* Basic color keywords */
-  color: orange;
-  /* Extended color keywords */
-  color: darkgray;
-}
-```
-
-### 注意
-
-* 不支持 `hsl()`, `hsla()`, `currentColor`, 8个字符的十六进制颜色。
-
-* `rgb(a,b,c)` 或 `rgba(a,b,c,d)` 的性能比其他颜色格式差很多,请选择合适的颜色格式。
-
-颜色名称可查看 [颜色名称列表](./color-names.md).
-
-## CSS `length` 单位
-
-在 Weex 中,我们只支持 `px` 长度单位。并且它将在 JavaScript 运行时和本机渲染器中解析为数字类型。所以你也可以省略 `px` 单位后缀,直接写数字。
-
-下面这些不同的写法,解析的结果完全相同。
-
-```css
-.classA { font-size: 48; line-height: 64; }
-.classB { font-size: 48px; line-height: 64px; }
-```
-
-不支持类似 `em`,`rem`,`pt` 这样的 CSS 标准中的其他长度单位。
-
-## CSS `number` 单位
-
-仅仅一个数字。用于 [`opacity`](./common-style.md#其他基本样式),[`lines`](./text-style.md)等。
-
-有时值必须是整数,例如:`lines`。
-
-**注意:**也可以将所有的 `px` `length` 值简化为一个数字。
-
-## CSS `percentage` 单位 (暂不支持)
-
-表示百分比值,如“50%”,“66.7%”等。
-
-它是 CSS 标准的一部分,但 Weex 暂不支持。

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/cn/v-0.10/references/wxc/index.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/wxc/index.md b/doc/source/cn/v-0.10/references/wxc/index.md
deleted file mode 100644
index 5969ce2..0000000
--- a/doc/source/cn/v-0.10/references/wxc/index.md
+++ /dev/null
@@ -1,44 +0,0 @@
----
-title: 官方扩展组件
-type: references
-order: 3
-has_chapter_content: true
-version: 0.10
----
-
-# 官方扩展组件
-
-Weex 官方扩展组件指的是以 `wxc-` 开头的组件,这些组件不属于内建组件的一部分,而是 Weex 团队基于内建组件扩展的一些常用组件。这些组件依赖 `weex-components`,需要安装依赖后才可使用。
-
-使用方式如下:
-
-1. 安装依赖
-
-  需要在工程目录下执行以下命令:
-
-  ```bash
-  npm install weex-components
-  ```
-
-2. 使用
-
-  需要在 `<script>` 中引入依赖。
-
-  ```html
-  <template>
-    <div style="flex-direction: column;">
-      <wxc-tabbar tab-items = {{tabItems}}></wxc-tabbar>
-    </div>
-  </template>
-
-  <script>
-    require('weex-components');
-
-    module.exports = {
-      data: {},
-      methods: {
-        // more
-      }
-    }
-  </script>
-  ```
\ No newline at end of file