Fix a lot of 404 local path
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/06f9ee6c Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/06f9ee6c Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/06f9ee6c Branch: refs/heads/master Commit: 06f9ee6cbe6b973b9d8ea0c832b88a8b017678ac Parents: 8fcc513 Author: Zhenfei You <[email protected]> Authored: Thu Mar 22 17:06:16 2018 +0800 Committer: Zhenfei You <[email protected]> Committed: Thu Mar 22 17:06:26 2018 +0800 ---------------------------------------------------------------------- source/cn/guide/index.md | 4 ++-- source/cn/guide/use-vue.md | 2 +- source/cn/references/components/cell.md | 4 ++-- source/cn/references/components/div.md | 4 ++-- source/cn/references/components/indicator.md | 4 ++-- source/cn/references/components/input.md | 6 +++--- source/cn/references/components/list.md | 4 ++-- source/cn/references/components/loading.md | 2 +- source/cn/references/components/refresh.md | 2 +- source/cn/references/components/scroller.md | 4 ++-- source/cn/references/components/slider.md | 4 ++-- source/cn/references/components/switch.md | 4 ++-- source/cn/references/components/text.md | 2 +- source/cn/references/components/textarea.md | 6 +++--- source/cn/references/components/video.md | 2 +- source/cn/references/components/waterfall.md | 4 ++-- source/cn/references/modules/storage.md | 1 + source/cn/releasenote.md | 6 +++--- source/cn/tools/index.md | 4 ++-- source/cn/tools/toolkit.md | 7 ++++--- source/cn/wiki/css-units.md | 2 +- source/cn/wiki/faq.md | 6 +++--- source/cn/wiki/index.md | 10 +++++----- source/cn/wiki/platform-difference.md | 10 +++++----- source/cn/wiki/text-styles.md | 2 +- source/contributing.md | 4 ++-- source/development-process.md | 6 ++++-- source/guide/create-a-plugin.md | 2 +- source/guide/index.md | 4 ++-- source/guide/use-vue.md | 2 +- source/references/components/cell.md | 8 ++++---- source/references/components/div.md | 8 ++++---- source/references/components/indicator.md | 8 ++++---- source/references/components/input.md | 8 ++++---- source/references/components/list.md | 8 ++++---- source/references/components/loading.md | 2 +- source/references/components/refresh.md | 2 +- source/references/components/scroller.md | 8 ++++---- source/references/components/slider.md | 10 +++++----- source/references/components/switch.md | 8 ++++---- source/references/components/text.md | 6 +++--- source/references/components/textarea.md | 8 ++++---- source/references/components/video.md | 2 +- source/references/components/waterfall.md | 8 ++++---- source/references/weex-variable.md | 2 +- source/releasenote.md | 6 +++--- source/tools/index.md | 4 ++-- source/tools/toolkit.md | 14 +++++++------- source/wiki/faq.md | 8 ++++---- source/wiki/index.md | 14 +++++++------- source/wiki/text-styles.md | 2 +- 51 files changed, 136 insertions(+), 132 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/guide/index.md ---------------------------------------------------------------------- diff --git a/source/cn/guide/index.md b/source/cn/guide/index.md index 400da60..f6f257e 100644 --- a/source/cn/guide/index.md +++ b/source/cn/guide/index.md @@ -26,7 +26,7 @@ Weex çå¦ä¸ä¸ªä¸»è¦ç®æ æ¯è·è¿å½ä»£å è¿ç Web å¼åååçå¼å  -è¿ä¸ªä¾åå¨å±å¹æ£ä¸é´æ¸²æäºä¸ä¸ªåè¯ âYoâã å¦æä½ æ³å¨ç§»å¨è®¾å¤ä¸é¢è§æ¸²æç»æï¼ä½ åªéè¦å®è£ [Weex playground app](https://weex.apache.org/cn/tools/playground.html) æå° Weex SDK éæå°æ¨èªå·±çåºç¨ç¨åºä¸ï¼ç¶åä½¿ç¨æ«æç½é¡µå³ä¾§çäºç»´ç ã +è¿ä¸ªä¾åå¨å±å¹æ£ä¸é´æ¸²æäºä¸ä¸ªåè¯ âYoâã å¦æä½ æ³å¨ç§»å¨è®¾å¤ä¸é¢è§æ¸²æç»æï¼ä½ åªéè¦å®è£ [Weex playground app](https://weex-project.io/playground.html) æå° Weex SDK éæå°æ¨èªå·±çåºç¨ç¨åºä¸ï¼ç¶åä½¿ç¨æ«æç½é¡µå³ä¾§çäºç»´ç ã 卿ºä»£ç ç `<template>` ä¸ï¼`<div>` ä½ åºè¯¥å¾çæäºï¼å®å¨ Weex å¹³å°ä¸ä¹æ¯ä¸ä¸ªéç¨å®¹å¨ã使¯ `<text>` ç»ä»¶æ¯ç± Weex ç¹æçï¼å®æ¯ä¸ä¸ªåçº§çææ¬å®¹å¨ï¼å¯ä»¥ç¨æ¥æ¸²ææåã @@ -83,7 +83,7 @@ Weex å¯ä»¥åªç¼åä¸ä»½ä»£ç ï¼å¼ååºä¸ç«¯é½å¯ç¨ç页é¢ã > Vue.js å Rax é½å·²ç»éæè¿äº Weex SDKï¼ä½ ä¸éè¦åé¢å¤å¼å > ¥ã -ç¶è Weex ä¹ä¸æ¯åªæ¯æ Vue å Raxï¼ä½ ä¹å¯ä»¥æèªå·±å欢çåç«¯æ¡æ¶éæå° Weex ä¸ãæä¸ä¸ªææ¡£*[æ©å±åç«¯æ¡æ¶](./advanced/extend-js-framework.html)*æè¿°äºå¦ä½å®ç°ï¼ä½æ¯è¿ä¸ªè¿ç¨ä»ç¶é叏夿忣æï¼ä½ éè¦äºè§£å ³äº js-native ä¹é´éä¿¡ååçæ¸²æå¼æç许å¤åºå±ç»èã +ç¶è Weex ä¹ä¸æ¯åªæ¯æ Vue å Raxï¼ä½ ä¹å¯ä»¥æèªå·±å欢çåç«¯æ¡æ¶éæå° Weex ä¸ãæä¸ä¸ªææ¡£*[æ©å±åç«¯æ¡æ¶](/cn/guide/extend-js-framework.html)*æè¿°äºå¦ä½å®ç°ï¼ä½æ¯è¿ä¸ªè¿ç¨ä»ç¶é叏夿忣æï¼ä½ éè¦äºè§£å ³äº js-native ä¹é´éä¿¡ååçæ¸²æå¼æç许å¤åºå±ç»èã ## å建ä¸ä¸ª App http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/guide/use-vue.md ---------------------------------------------------------------------- diff --git a/source/cn/guide/use-vue.md b/source/cn/guide/use-vue.md index d431876..c828f90 100644 --- a/source/cn/guide/use-vue.md +++ b/source/cn/guide/use-vue.md @@ -82,7 +82,7 @@ Vue ä¸ç[åæä»¶ç»ä»¶](https://cn.vuejs.org/v2/guide/single-file-components ### 使ç¨weex-loader -[weex-loader](https://github.com/weexteam/weex-loader) æ¯ä¸ä¸ª webpack ç [loader](https://webpack.js.org/concepts/loaders/#using-loaders)ï¼å®è½æ`*.vue`æä»¶è½¬å为ç®åçjavascript 模åç¨äºå®å以å iOS å¹³å°ãææçç¹æ§åé ç½®é½æ¯è· [vue-loader](https://vue-loader.vuejs.org/en/) 䏿 ·çã +[weex-loader](https://github.com/weexteam/weex-loader) æ¯ä¸ä¸ª webpack ç [loader](http://webpack.github.io/docs/using-loaders.html)ï¼å®è½æ`*.vue`æä»¶è½¬å为ç®åçjavascript 模åç¨äºå®å以å iOS å¹³å°ãææçç¹æ§åé ç½®é½æ¯è· [vue-loader](https://vue-loader.vuejs.org/en/) 䏿 ·çã éè¦æ³¨æçæ¯ï¼å¦ææ¨çWebpacké ç½®ç*entry*é项æ¯ä¸ä¸ª`*.vue`æä»¶çè¯ï¼ä½ ä»éè¦ä¼ éä¸ä¸ªé¢å¤ç`entry`åæ°ã http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/cell.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/cell.md b/source/cn/references/components/cell.md index f4c4c2b..4e61034 100644 --- a/source/cn/references/components/cell.md +++ b/source/cn/references/components/cell.md @@ -31,7 +31,7 @@ version: 2.1 - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ @@ -44,7 +44,7 @@ version: 2.1 - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## ç¤ºä¾ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/div.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/div.md b/source/cn/references/components/div.md index 710a9d8..b649a31 100644 --- a/source/cn/references/components/div.md +++ b/source/cn/references/components/div.md @@ -51,7 +51,7 @@ version: 2.1 - `opacity` - `background-color` -æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) +æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ @@ -62,7 +62,7 @@ version: 2.1 - `appear` - `disappear` -æ¥ç [éç¨äºä»¶](../common-event.html) +æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## 约æ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/indicator.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/indicator.md b/source/cn/references/components/indicator.md index 0e9f639..283449b 100644 --- a/source/cn/references/components/indicator.md +++ b/source/cn/references/components/indicator.md @@ -31,7 +31,7 @@ version: 2.1 - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) **注æ 1ï¼** @@ -51,7 +51,7 @@ version: 2.1 - `appear` - `disappear` -æ¥ç [éç¨äºä»¶](../common-event.html) +æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## 约æ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/input.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/input.md b/source/cn/references/components/input.md index 66c85e7..8f01126 100644 --- a/source/cn/references/components/input.md +++ b/source/cn/references/components/input.md @@ -52,7 +52,7 @@ Weex å ç½®ç `<input>` ç»ä»¶ç¨æ¥åå»ºæ¥æ¶ç¨æ·è¾å ¥å符çè¾å ¥ç» - æ¯æÂ `font-weight` - æ¯æÂ `text-align` - æ¥ç [ææ¬æ ·å¼](../text-style.html) + æ¥ç [ææ¬æ ·å¼](/cn/wiki/text-styles.html) - éç¨æ ·å¼ï¼æ¯æææéç¨æ ·å¼ - çæ¨¡å @@ -61,7 +61,7 @@ Weex å ç½®ç `<input>` ç»ä»¶ç¨æ¥åå»ºæ¥æ¶ç¨æ·è¾å ¥å符çè¾å ¥ç» - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ @@ -109,7 +109,7 @@ Weex å ç½®ç `<input>` ç»ä»¶ç¨æ¥åå»ºæ¥æ¶ç¨æ·è¾å ¥å符çè¾å ¥ç» - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/list.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/list.md b/source/cn/references/components/list.md index 37dd523..f502641 100644 --- a/source/cn/references/components/list.md +++ b/source/cn/references/components/list.md @@ -58,7 +58,7 @@ version: 2.1 - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ @@ -85,7 +85,7 @@ version: 2.1 - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## æ©å± http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/loading.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/loading.md b/source/cn/references/components/loading.md index d66eeea..7ac4df9 100644 --- a/source/cn/references/components/loading.md +++ b/source/cn/references/components/loading.md @@ -89,7 +89,7 @@ version: 2.1 ## æ ·å¼ - - æ¯æææéç¨æ ·å¼ãæ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + - æ¯æææéç¨æ ·å¼ãæ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/refresh.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/refresh.md b/source/cn/references/components/refresh.md index 14fcc1f..0f1430d 100644 --- a/source/cn/references/components/refresh.md +++ b/source/cn/references/components/refresh.md @@ -86,7 +86,7 @@ version: 2.1 ## æ ·å¼ - - æ¯æææéç¨æ ·å¼ãæ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + - æ¯æææéç¨æ ·å¼ãæ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/scroller.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/scroller.md b/source/cn/references/components/scroller.md index 9ae7833..1334a07 100644 --- a/source/cn/references/components/scroller.md +++ b/source/cn/references/components/scroller.md @@ -58,7 +58,7 @@ version: 2.1 - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ @@ -84,7 +84,7 @@ version: 2.1 - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## æ©å± http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/slider.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/slider.md b/source/cn/references/components/slider.md index ad90222..8856d82 100644 --- a/source/cn/references/components/slider.md +++ b/source/cn/references/components/slider.md @@ -39,7 +39,7 @@ version: 2.1 - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ @@ -62,7 +62,7 @@ version: 2.1 - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## ç¤ºä¾ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/switch.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/switch.md b/source/cn/references/components/switch.md index 63ff5f1..3d235de 100644 --- a/source/cn/references/components/switch.md +++ b/source/cn/references/components/switch.md @@ -66,7 +66,7 @@ version: 2.1 - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## æ ·å¼ @@ -89,7 +89,7 @@ version: 2.1 - `opacity` - `background-color` -æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) +æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## 使ç¨è¯´æ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/text.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/text.md b/source/cn/references/components/text.md index de3f5b6..8b4932f 100644 --- a/source/cn/references/components/text.md +++ b/source/cn/references/components/text.md @@ -18,7 +18,7 @@ version: 2.1 ## æ ·å¼ * æ¯æ **[éç¨æ ·å¼](../../wiki/common-styles.html)ã** * `lines {number}`: æå®ææ¬è¡æ°ãé»è®¤å¼æ¯ `0`ï¼ ä»£è¡¨ä¸éå¶è¡æ°ã -* æ¯æ **[ææ¬æ ·å¼](../wiki/text-style.html)ã** +* æ¯æ **[ææ¬æ ·å¼](/cn/wiki/text-styles.html)ã** * æ¯æÂ `color`Â æ ·å¼. * æ¯æÂ `font-size`Â æ ·å¼ï¼é»è®¤å¼ä¸º`32`. * æ¯æÂ `font-style`Â æ ·å¼. http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/textarea.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/textarea.md b/source/cn/references/components/textarea.md index b8cd14c..b4eff5f 100644 --- a/source/cn/references/components/textarea.md +++ b/source/cn/references/components/textarea.md @@ -38,7 +38,7 @@ version: 2.1 - æ¯æÂ `font-weight` - æ¯æÂ `text-align` - æ¥ç [ææ¬æ ·å¼](../text-style.html) + æ¥ç [ææ¬æ ·å¼](/cn/wiki/text-styles.html) - éç¨æ ·å¼ï¼æ¯æææéç¨æ ·å¼ @@ -48,7 +48,7 @@ version: 2.1 - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ @@ -90,7 +90,7 @@ version: 2.1 - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ## ç¤ºä¾ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/video.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/video.md b/source/cn/references/components/video.md index 67c5024..ffd7fe8 100644 --- a/source/cn/references/components/video.md +++ b/source/cn/references/components/video.md @@ -32,7 +32,7 @@ version: 2.1 - `opacity` - `background-color` - æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) + æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ## äºä»¶ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/components/waterfall.md ---------------------------------------------------------------------- diff --git a/source/cn/references/components/waterfall.md b/source/cn/references/components/waterfall.md index 1844eba..75ea7b9 100644 --- a/source/cn/references/components/waterfall.md +++ b/source/cn/references/components/waterfall.md @@ -41,7 +41,7 @@ version: 2.1 - `opacity` - `background-color` -æ¥ç [ç»ä»¶éç¨æ ·å¼](../common-style.html) +æ¥ç [ç»ä»¶éç¨æ ·å¼](/cn/wiki/common-styles.html) ### äºä»¶ @@ -54,7 +54,7 @@ version: 2.1 - `appear` - `disappear` - æ¥ç [éç¨äºä»¶](../common-event.html) + æ¥ç [éç¨äºä»¶](/cn/wiki/common-events.html) ### API http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/references/modules/storage.md ---------------------------------------------------------------------- diff --git a/source/cn/references/modules/storage.md b/source/cn/references/modules/storage.md index 855f081..181ec3a 100644 --- a/source/cn/references/modules/storage.md +++ b/source/cn/references/modules/storage.md @@ -182,3 +182,4 @@ version: 2.1 ## å ¶å®åè * [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-site/blob/06f9ee6c/source/cn/releasenote.md ---------------------------------------------------------------------- diff --git a/source/cn/releasenote.md b/source/cn/releasenote.md index 5ead271..ba3ab43 100644 --- a/source/cn/releasenote.md +++ b/source/cn/releasenote.md @@ -174,7 +174,7 @@ layout: post The former front-end framework (commonly known as `.we`), which is inspired by Vue 1.0, is deprecated. Although it still works well in this release, we suggest to migrate it to Vue 2.0. - SDK - New CSS support - - [text `font-weight`](https://weex.apache.org/wiki/text-styles.html) + - [text `font-weight`](https://weex-project.io/references/text-style.html) `font-weight` can set to [`normal`|`bold`] or 100-900. - gradient like CSS3, now you can use gradient in Weex. For example: @@ -183,7 +183,7 @@ layout: post background-image: linear-gradient(to right, blue, white); ```  - [Read more about gradient](https://weex.apache.org/wiki/common-styles.html#linear-gradient-v0-10). + [Read more about gradient](https://weex-project.io/references/common-style.html). - Pseudo class Currently, Weex supports 4 pseudo classes:`active`, `focus`, `disabled`, `enabled`. - New BroadcastChannel API @@ -225,7 +225,7 @@ layout: post - Has full set of commands for developers to setup android/ios application with his .we/.vue files. - Developers could easily pack/install his application with simple command. - Has full set of commands for developers to manage weex plugins, including create plugin template, add plugin to his project etc. - - [Plugin market](https://market.dotwe.org) was formally used for developers to publish/download weex plugins. + - [Plugin market](http://market.weex-project.io) was formally used for developers to publish/download weex plugins. ## v0.9.4 http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/tools/index.md ---------------------------------------------------------------------- diff --git a/source/cn/tools/index.md b/source/cn/tools/index.md index c6c4517..33a61f6 100644 --- a/source/cn/tools/index.md +++ b/source/cn/tools/index.md @@ -7,7 +7,7 @@ version: 2.1 # å¼åå·¥å · -+ [Playground App](./playground.html) ++ [Playground App](/tools/playground.html) + [Online Playground](http://dotwe.org/vue/) + [weex-toolkit](./toolkit.html) -+ [Weex Language Supportæä»¶](./plugin.html) ++ [Weex Language Supportæä»¶](/cn/tools/helpers.html) http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/tools/toolkit.md ---------------------------------------------------------------------- diff --git a/source/cn/tools/toolkit.md b/source/cn/tools/toolkit.md index 2df904d..0c66756 100644 --- a/source/cn/tools/toolkit.md +++ b/source/cn/tools/toolkit.md @@ -50,7 +50,7 @@ weex-toolkitå·¥å ·æ¯æå¯¹ä½ çWeexæä»¶ï¼`.we`æ`.vue`)å¨ç嬿¨¡å¼ä¸ $ weex preview src/foo.vue ``` -æµè§å¨ä¼èªå¨å¾æå¼é¢è§é¡µé¢å¹¶ä¸ä½ å¯ä»¥çå°ä½ çweex页é¢çå¸å±åææãå¦æä½ å¨ä½ ç设å¤ä¸å®è£ äº[Playground](https://weex.apache.org/cn/tools/playground.html)ï¼ä½ è¿å¯ä»¥éè¿æ«æé¡µé¢ä¸çäºç»´ç æ¥æ¥ç页é¢ã +æµè§å¨ä¼èªå¨å¾æå¼é¢è§é¡µé¢å¹¶ä¸ä½ å¯ä»¥çå°ä½ çweex页é¢çå¸å±åææãå¦æä½ å¨ä½ ç设å¤ä¸å®è£ äº[Playground](https://weex.apache.org/cn/playground.html)ï¼ä½ è¿å¯ä»¥éè¿æ«æé¡µé¢ä¸çäºç»´ç æ¥æ¥ç页é¢ã 使ç¨ä¸é¢çå½ä»¤ï¼ä½ å°å¯ä»¥é¢è§æ´ä¸ªæä»¶å¤¹ä¸ç`.vue`æä»¶ @@ -198,6 +198,7 @@ ElementModeå¯ä»¥åæ¢Elementæ ç¾ä¸Domtreeæ¾ç¤ºæ¨¡å¼ï¼ä¸å¾ä¸ºvdomæ¾ç¤º #### éædevtoolå·¥å · * Android - * æ¥çææ¡£ [Weex devtools (Android)](../../references/advanced/integrate-devtool-to-android.html), å®ä¼å¼å¯¼ä½ 䏿¥ä¸æ¥é ç½®å使ç¨å®ã + * æ¥çææ¡£ [Weex devtools (Android)](/cn/guide/integrate-devtool-to-android.html), å®ä¼å¼å¯¼ä½ 䏿¥ä¸æ¥é ç½®å使ç¨å®ã * iOS - * æ¥çææ¡£ [Weex devtools (iOS)](../../references/advanced/integrate-devtool-to-ios.html), å®ä¼å¼å¯¼ä½ 䏿¥ä¸æ¥é ç½®å使ç¨å®ã + * æ¥çææ¡£ [Weex devtools (iOS)](/cn/guide/integrate-devtool-to-ios.html), å®ä¼å¼å¯¼ä½ 䏿¥ä¸æ¥é ç½®å使ç¨å®ã +å使ç¨å®ã http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/wiki/css-units.md ---------------------------------------------------------------------- diff --git a/source/cn/wiki/css-units.md b/source/cn/wiki/css-units.md index 4b67ca0..512544c 100644 --- a/source/cn/wiki/css-units.md +++ b/source/cn/wiki/css-units.md @@ -53,7 +53,7 @@ version: 2.1 ## CSS `number` åä½ -ä» ä» ä¸ä¸ªæ°åãç¨äº [`opacity`](./common-style.html)ï¼[`lines`](./text-style.html)çã +ä» ä» ä¸ä¸ªæ°åãç¨äº [`opacity`](./common-styles.html)ï¼[`lines`](./text-styles.html)çã ææ¶å¼å¿ é¡»æ¯æ´æ°ï¼ä¾å¦ï¼`lines`ã http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/wiki/faq.md ---------------------------------------------------------------------- diff --git a/source/cn/wiki/faq.md b/source/cn/wiki/faq.md index b2a1a89..4ac33e8 100644 --- a/source/cn/wiki/faq.md +++ b/source/cn/wiki/faq.md @@ -19,7 +19,7 @@ version: 2.1 ## Windows æä»¤é误 -请å å®è£ [Git for Windows](https://git-scm.com/download/win)ï¼å¨ [For Windows](https://github.com/apache/incubator-weex/tree/master#for-windows) 䏿¥çæ´å¤ä¿¡æ¯ã +请å å®è£ [Git for Windows](https://git-scm.com/download/win)ï¼å¨ [For Windows](https://github.com/apache/incubator-weex/tree/dev#for-windows) 䏿¥çæ´å¤ä¿¡æ¯ã ## Android Studio ä¸ Gradle é误 @@ -137,8 +137,8 @@ else { å¦æä½ æä¸¤ä¸ªé¡µé¢ï¼A 页é¢å B é¡µé¢ -1. A -> Bï¼ä½¿ç¨ [getConfig api](/references/api.md#getconfig) or [storage module](/modules/storage.md) ä¼ éæ°æ®ï¼ -2. B -> Aï¼ä½¿ç¨ [storage module](/modules/storage.md) ä¼ éæ°æ®ã +1. A -> Bï¼ä½¿ç¨ [getConfig api](/references/api.md#getconfig) or [storage module](/cn/references/modules/storage.html) ä¼ éæ°æ®ï¼ +2. B -> Aï¼ä½¿ç¨ [storage module](/cn/references/modules/storage.html) ä¼ éæ°æ®ã ## ç¶åç»ä»¶ä¹é´è¿è¡ repeat æä½ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/wiki/index.md ---------------------------------------------------------------------- diff --git a/source/cn/wiki/index.md b/source/cn/wiki/index.md index 14d3372..2777081 100644 --- a/source/cn/wiki/index.md +++ b/source/cn/wiki/index.md @@ -13,7 +13,7 @@ version: 2.1 Weex 表é¢ä¸æ¯ä¸ä¸ªå®¢æ·ç«¯ææ¯ï¼ä½å®é ä¸å®ä¸²èèµ·äºä»æ¬å°å¼åç¯å¢å°äºç«¯é¨ç½²åååçæ´ä¸ªé¾è·¯ãå¼åè é¦å å¯ä»¥å¨æ¬å°åæ°å web 页é¢ä¸æ ·æ°åä¸ä¸ª app ç页é¢ï¼ç¶åç¼è¯æä¸æ®µ JavaScript 代ç ï¼å½¢æ Weex çä¸ä¸ª JS bundleï¼å¨äºç«¯ï¼å¼åè å¯ä»¥æçæç JS bundle é¨ç½²ä¸å»ï¼ç¶åéè¿ç½ç»è¯·æ±æé¢ä¸åçæ¹å¼ä¼ éå°ç¨æ·çç§»å¨åºç¨å®¢æ·ç«¯ï¼å¨ç§»å¨åºç¨å®¢æ·ç«¯éï¼WeexSDK ä¼åå¤å¥½ä¸ä¸ª JavaScript 弿ï¼å¹¶ä¸å¨ç¨æ·æå¼ä¸ä¸ª Weex 页颿¶æ§è¡ç¸åºç JS bundleï¼å¹¶å¨æ§è¡è¿ç¨ä¸äº§çåç§å½ä»¤åéå° native 端è¿è¡çç颿¸²æææ°æ®åå¨ãç½ç»éä¿¡ãè°ç¨è®¾å¤åè½ãç¨æ·äº¤äºååºçç§»å¨åºç¨çåºæ¯å®è·µï¼åæ¶ï¼å¦æç¨æ·æ²¡æå®è£ ç§»å¨åºç¨ï¼ä»ä»ç¶å¯ä»¥å¨æµè§å¨éæå¼ä¸ä¸ªç¸åç web 页é¢ï¼è¿ä¸ªé¡µé¢æ¯ä½¿ç¨ç¸åç页颿ºä»£ç ï¼éè¿æµè§å¨éç JavaScript 弿è¿è¡èµ·æ¥çã - + ## æ¬å°å¼åç¯å¢ @@ -25,8 +25,8 @@ Weex çæ¬å°å¼åç¯å¢åºäº web å¼åä½éªè设计ï¼web å¼åè å¯ä»¥ **ç¸å ³é 读** -* [Weex å web å¹³å°çå·®å¼](../../references/platform-difference.html) -* [Vue 2.x å¨ Weex å web ä¸çå·®å¼](../../references/vue/difference-with-web.html) +* [Weex å web å¹³å°çå·®å¼](/cn/wiki/platform-difference.html) +* [Vue 2.x å¨ Weex å web ä¸çå·®å¼](/cn/wiki/platform-difference.html) * [å¿«é䏿](../index.html) * [ä½¿ç¨ Devtools](./devtools.html) @@ -49,8 +49,8 @@ Weex ç®åæä¾äº iOS å Android 两个客æ·ç«¯ç native 渲æå±ãæ¯ * [Weex çç»ä»¶å模åè· web æ åçåºå«](../../references/web-standards.html) * [å¦ä½ä½¿ç¨ iOS](../../references/ios-apis.html) * [å¦ä½ä½¿ç¨ Android](../../references/android-apis.html) -* [å¦ä½æ©å± iOS](../../references/advanced/extend-to-ios.html) -* [å¦ä½æ©å± Android](../../references/advanced/extend-to-android.html) +* [å¦ä½æ©å± iOS](/cn/guide/extend-ios.html) +* [å¦ä½æ©å± Android](/cn/guide/extend-android.html) ## æµè§å¨æ¸²æ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/wiki/platform-difference.md ---------------------------------------------------------------------- diff --git a/source/cn/wiki/platform-difference.md b/source/cn/wiki/platform-difference.md index 482dca9..9a6b53f 100644 --- a/source/cn/wiki/platform-difference.md +++ b/source/cn/wiki/platform-difference.md @@ -55,16 +55,16 @@ Weex ä¸å¹¶æªæä¾æµè§å¨ä¸ç `window` å `screen` 对象ï¼ä¸æ¯æä½¿ è¿äºæ¥å£ä¸æµè§å¨èªèº«çå®ç°æå ³ï¼å¯ä»¥æ§å¶é¡µé¢çåè¿åéå¹¶ä¸è·åç¶æä¿¡æ¯ãè½ç¶å¨ Android å iOS ä¸ä¹æâåå²âåâ导èªâçæ¦å¿µï¼ä½æ¯å®æ¯ç¨äºå¤ä¸ªç®¡çè§å¾ä¹é´ç跳转çãæ¢å¥è¯è¯´ï¼å¨æµè§å¨ä¸æ§è¡âåè¿âãâåéâä»ç¶ä¼å¤äºåä¸ä¸ªé¡µç¾ä¸ï¼å¨åçåºç¨ä¸âåè¿âãâåéâåä¼çå®ç跳转å°å ¶ä»é¡µé¢ã -æ¤å¤ Weex 乿ä¾äº `navigator` æ¨¡åæ¥æä½é¡µé¢ç跳转ï¼ä½¿ç¨æ¹æ³åè[ãnavigator å¯¼èªæ§å¶ã](./modules/navigator.html)ã +æ¤å¤ Weex 乿ä¾äº `navigator` æ¨¡åæ¥æä½é¡µé¢ç跳转ï¼ä½¿ç¨æ¹æ³åè[ãnavigator å¯¼èªæ§å¶ã](/cn/references/modules/navigator.html)ã ## è½å¤è°ç¨ç§»å¨è®¾å¤åç API å¨ Weex ä¸è½å¤è°ç¨ç§»å¨è®¾å¤åç APIï¼ä½¿ç¨æ¹æ³æ¯éè¿æ³¨åãè°ç¨æ¨¡åæ¥å®ç°ãå ¶ä¸æä¸äºæ¨¡åæ¯ Weex å ç½®çï¼å¦ clipboard ã navigator ãstorage çã -+ [ãclipboard åªåæ¿ã](./modules/clipboard.html) -+ [ãnavigator å¯¼èªæ§å¶ã](./modules/navigator.html) -+ [ãstorage æ¬å°åå¨ ã](./modules/storage.html) ++ [ãclipboard åªåæ¿ã](/cn/references/modules/clipboard.html) ++ [ãnavigator å¯¼èªæ§å¶ã](/cn/references/modules/navigator.html) ++ [ãstorage æ¬å°åå¨ ã](/cn/references/modules/storage.html) -为äºä¿ææ¡æ¶çéç¨æ§ï¼Weex å ç½®çåçæ¨¡åæéï¼ä¸è¿ Weex æä¾äºæ¨ªåæ©å±çè½åï¼å¯ä»¥æ©å±åçæ¨¡åï¼å ·ä½çæ©å±æ¹æ³è¯·åè[ãiOS æ©å±ã](./advanced/index.html) å[ãAndroid æ©å±ã](./advanced/extend-to-android.html)ã +为äºä¿ææ¡æ¶çéç¨æ§ï¼Weex å ç½®çåçæ¨¡åæéï¼ä¸è¿ Weex æä¾äºæ¨ªåæ©å±çè½åï¼å¯ä»¥æ©å±åçæ¨¡åï¼å ·ä½çæ©å±æ¹æ³è¯·åè[ãiOS æ©å±ã](/cn/index.html) å[ãAndroid æ©å±ã](/cn/guide/extend-android.html)ã > æäºæ¥å£å¨æµè§å¨ç¯å¢ä¸ä¹åå¨ï¼ä¸è¿å¨ä½¿ç¨æ¶åºè¯¥æ³¨ææµè§å¨çå > ¼å®¹æ§ï¼å¦åªè´´æ¿åè½ï¼åºäºå®å > ¨æ§èèï¼ç»å¤§å¤æ°æµè§å¨é½éå¶å ¶ä½¿ç¨ã http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/cn/wiki/text-styles.md ---------------------------------------------------------------------- diff --git a/source/cn/wiki/text-styles.md b/source/cn/wiki/text-styles.md index 7b1850e..be91530 100644 --- a/source/cn/wiki/text-styles.md +++ b/source/cn/wiki/text-styles.md @@ -10,7 +10,7 @@ version: 2.1 <span class="weex-version">v0.5+</span> -ææ¬ç±»ç»ä»¶å ±äº«ä¸äºéç¨æ ·å¼, è¿ç±»ç»ä»¶ç®åå æ¬ [`<text>`](./components/text.html) å [`<input>`](./components/input.html)ã +ææ¬ç±»ç»ä»¶å ±äº«ä¸äºéç¨æ ·å¼, è¿ç±»ç»ä»¶ç®åå æ¬ [`<text>`](/cn/references/components/text.html) å [`<input>`](/cn/references/components/input.html)ã ## 屿§ http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/contributing.md ---------------------------------------------------------------------- diff --git a/source/contributing.md b/source/contributing.md index 0df300d..8e762a6 100644 --- a/source/contributing.md +++ b/source/contributing.md @@ -16,7 +16,7 @@ You can use Weex directly through [Getting Started](./guide/index.html) tutorial We are using JIRA for tracking all the issues and updating whenever when have an internal fix in progress. Before filing a new task, try to confirm if it is already listed or if there is a fix in progress. ##### Report New Issues -Open a [JIRA Issue](https://issues.apache.org/jira/projects/WEEX) , click on the top red "Create" button (you may need to [create a JIRA account](https://issues.apache.org/jira/secure/Signup!default.jspa) if you haven't registered). [Bug Report Guidelines](../bug-report-guidelines.html) document provides some of the most useful information about writing a good bug report. The better your bug report is, the faster we can reproduce and fix it! +Open a [JIRA Issue](https://issues.apache.org/jira/projects/WEEX) , click on the top red "Create" button (you may need to [create a JIRA account](https://issues.apache.org/jira/secure/Signup!default.jspa) if you haven't registered). [Bug Report Guidelines](/bug-report-guidelines.html) document provides some of the most useful information about writing a good bug report. The better your bug report is, the faster we can reproduce and fix it! ## Contribute Code @@ -24,7 +24,7 @@ Apache Weex is an open source project and both, core team members and external c You can contribute code by either fixing an existing bug or developing new features. In either case, we always encourage to create a JIRA ticket and ensure we are in agreement on your proposal. -To help you get started, we've created a document with more details about development process. Please read **[Getting Started with Development Process](../development-process.html)**. +To help you get started, we've created a document with more details about development process. Please read **[Getting Started with Development Process](/development-process.html)**. ## Ask or Answer Questions http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/development-process.md ---------------------------------------------------------------------- diff --git a/source/development-process.md b/source/development-process.md index db6362c..ed01d01 100644 --- a/source/development-process.md +++ b/source/development-process.md @@ -23,7 +23,7 @@ Be sure to search the issues before creating new ones to avoid duplication. If y 2. Clone your fork, create a new branch to push your commits to. -3. Develop your feature or bug fix. Make sure your changes meet the [code style guidelines](../development-process.html#code-style-guidelines). +3. Develop your feature or bug fix. Make sure your changes meet the [code style guidelines](/development-process.html#code-style-guidelines). 4. Copy and paste this to the top of your new file(s): @@ -50,7 +50,7 @@ Be sure to search the issues before creating new ones to avoid duplication. If y 5. Documentation and tests should be added or referenced if they need to be added or updated as part of the change. -6. Commit to your branch following [commit guidelines](../development-process.html#commit-guidelines). +6. Commit to your branch following [commit guidelines](/development-process.html#commit-guidelines). ## 3. Create a Pull Request @@ -97,3 +97,5 @@ A short subject and a blank line after the subject are crucial. Use the bug numb Some good thoughts on how to write good git commit messages can be found [here](https://chris.beams.io/posts/git-commit/). + + http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/guide/create-a-plugin.md ---------------------------------------------------------------------- diff --git a/source/guide/create-a-plugin.md b/source/guide/create-a-plugin.md index fe3753a..9a098f8 100644 --- a/source/guide/create-a-plugin.md +++ b/source/guide/create-a-plugin.md @@ -102,7 +102,7 @@ See [Extend iOS](./extend-ios.html). ``` ## Publish the plugin in the weex market -You can publish to the [Weex Market](../tools/market.html) with the simple command: +You can publish to the [Weex Market](https://market.dotwe.org/) with the simple command: ``` weex plugin publish ``` http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/guide/index.md ---------------------------------------------------------------------- diff --git a/source/guide/index.md b/source/guide/index.md index 15d3b11..30520e6 100644 --- a/source/guide/index.md +++ b/source/guide/index.md @@ -26,7 +26,7 @@ Here is an [example](http://dotwe.org/vue/8da01827631b21150a12dd54d7114380) writ  -This example renders a word "Yo" in the center of the screen. If you want to preview the rendered result on mobile devices, you need to install the [Weex playground app](https://weex.apache.org/tools/playground.html) or integrate Weex SDK into your own app. Then scan your page's QR code with your playground app or your own app (with the QR scan feature to load scanned URL with Weex SDK), and you will see the rendered result on your device. +This example renders a word "Yo" in the center of the screen. If you want to preview the rendered result on mobile devices, you need to install the [Weex playground app](https://weex-project.io/playground.html) or integrate Weex SDK into your own app. Then scan your page's QR code with your playground app or your own app (with the QR scan feature to load scanned URL with Weex SDK), and you will see the rendered result on your device. Within the `<template>` of the source code, You must be familiar with the `<div>` which is widely used on the web, and it's also the generic container on Weex. But the `<text>` component is provided by Weex, it's a block-level text container. @@ -127,7 +127,7 @@ It will start a web server on the `8081` port. You can open `http://localhost:80  -Besides, You can also open `http://localhost:8081/preview.html` to preview the rendered result for web in iframe. You can also scan the QR code generated on the right using the [Weex playground app](../tools/playground.html) then you'll see the rendered result on the mobile device. +Besides, You can also open `http://localhost:8081/preview.html` to preview the rendered result for web in iframe. You can also scan the QR code generated on the right using the [Weex playground app](/tools/playground.html) then you'll see the rendered result on the mobile device. ### Build and Run http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/guide/use-vue.md ---------------------------------------------------------------------- diff --git a/source/guide/use-vue.md b/source/guide/use-vue.md index dbe241c..91767bd 100644 --- a/source/guide/use-vue.md +++ b/source/guide/use-vue.md @@ -85,7 +85,7 @@ Use different bundles for different platforms is to make good use of the platfor ### Use weex-loader -[weex-loader](https://github.com/weexteam/weex-loader) is a [loader](https://webpack.js.org/concepts/loaders/#using-loaders) for webpack that can transform `*.vue` file into a plain javascript module for Android and iOS platform. All features and configurations of it are same with [vue-loader](https://vue-loader.vuejs.org/en/). +[weex-loader](https://github.com/weexteam/weex-loader) is a [loader](http://webpack.github.io/docs/using-loaders.html) for webpack that can transform `*.vue` file into a plain javascript module for Android and iOS platform. All features and configurations of it are same with [vue-loader](https://vue-loader.vuejs.org/en/). One thing should be noted that if the *entry* option of your Webpack config is a `*.vue` file, you also need to pass an additional `entry` parameter. http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/cell.md ---------------------------------------------------------------------- diff --git a/source/references/components/cell.md b/source/references/components/cell.md index 37b0da3..d948a43 100644 --- a/source/references/components/cell.md +++ b/source/references/components/cell.md @@ -24,7 +24,7 @@ This type of component supports all kinds of weex component as its child compone ### Styles -**common styles**: check out the [common styles](../common-style.html) +**common styles**: check out the [common styles](/wiki/common-styles.html) - support flexbox related styles - support box model related styles @@ -35,10 +35,10 @@ This type of component supports all kinds of weex component as its child compone ### Events -**common events**: check out the [common events](../common-event.html) +**common events**: check out the [common events](/wiki/common-events.html) -- support `click` event. Check out [common events](../common-event.html) -- support `appear` / `disappear` event. Check out [common events](../common-event.html) +- support `click` event. Check out [common events](/wiki/common-events.html) +- support `appear` / `disappear` event. Check out [common events](/wiki/common-events.html) ### Example http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/div.md ---------------------------------------------------------------------- diff --git a/source/references/components/div.md b/source/references/components/div.md index 35e5b0d..3d0d80e 100644 --- a/source/references/components/div.md +++ b/source/references/components/div.md @@ -24,7 +24,7 @@ There is no specific attribute for this component. ### Styles -**common styles**: check out the [common styles](../common-style.html) +**common styles**: check out the [common styles](/wiki/common-styles.html) - support flexbox related styles - support box model related styles @@ -33,10 +33,10 @@ There is no specific attribute for this component. ### Events -**common events**: check out the [common events](../common-event.html) +**common events**: check out the [common events](/wiki/common-events.html) -- support `click` event. Check out [common events](../common-event.html) -- support `appear` / `disappear` event. Check out [common events](../common-event.html) +- support `click` event. Check out [common events](/wiki/common-events.html) +- support `appear` / `disappear` event. Check out [common events](/wiki/common-events.html) ### Examples http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/indicator.md ---------------------------------------------------------------------- diff --git a/source/references/components/indicator.md b/source/references/components/indicator.md index 700220b..494170a 100644 --- a/source/references/components/indicator.md +++ b/source/references/components/indicator.md @@ -27,7 +27,7 @@ Threr are some private styles for `<indicator>` : - `item-selectedColor`: <colors> This style attribute sets the selected item, default is `#444444`. - `item-size`: <length> The radius of the indicator elements, default is `5px` -**common styles**: see [common styles](../common-style.html) +**common styles**: see [common styles](/wiki/common-styles.html) - support flexbox related styles - support box model related styles @@ -39,10 +39,10 @@ Threr are some private styles for `<indicator>` : ### Events -**common events**: check out the [common events](../common-event.html) +**common events**: check out the [common events](/wiki/common-events.html) -- support `click` event. Check out [common events](../common-event.html) -- support `appear` / `disappear` event. Check out [common events](../common-event.html) +- support `click` event. Check out [common events](/wiki/common-events.html) +- support `appear` / `disappear` event. Check out [common events](/wiki/common-events.html) ### Example http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/input.md ---------------------------------------------------------------------- diff --git a/source/references/components/input.md b/source/references/components/input.md index bc0fe8b..0e29924 100644 --- a/source/references/components/input.md +++ b/source/references/components/input.md @@ -36,7 +36,7 @@ This component does not support any child component. * `max` constrain the max date when `type` is `date`, format is `yyyy-MM-dd` -* `min` constrain the min date when `type` is `date`, format is `yyyy-MM-dd` +* `min` constrain the min date when `type` is `date`, format is `yyyy-MM-dd` * `maxlength`: <span class="api-version">v0.7+</span> a number value to specify maxlength of input. @@ -53,7 +53,7 @@ This component does not support any child component. * `disabled` * `enabled` -* text styles: checkout [text styles](../text-style.html) +* text styles: checkout [text styles](/wiki/text-styles.html) * support `color` style. * support `font-size` style. @@ -62,7 +62,7 @@ This component does not support any child component. * support `text-align` style. ### common styles -check out [common styles for components](../common-style.html) +check out [common styles for components](/wiki/common-styles.html) * support flexbox related styles. * support box model related styles. @@ -83,7 +83,7 @@ check out [common styles for components](../common-style.html) - `value`: component text value ### common events -check out [common events](../common-event.html) +check out [common events](/wiki/common-events.html) * support `appear` / `disappear` event. http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/list.md ---------------------------------------------------------------------- diff --git a/source/references/components/list.md b/source/references/components/list.md index 679228f..ef68ecd 100644 --- a/source/references/components/list.md +++ b/source/references/components/list.md @@ -40,7 +40,7 @@ Please checkout [Scroller Component Attributes](./scroller.html) to have a look ### Styles -common styles: check out [common styles for components](../common-style.html) +common styles: check out [common styles for components](/wiki/common-styles.html) * support flexbox related styles * support box model related styles @@ -53,10 +53,10 @@ onloadmore 0.5 used with loadmoreoffset attribute. if the view has less than lo scroll <sup class="wx-v">0.12+</sup> used with offset-accuracy attribute. This event is fired when the list scrolls. The current contentOffset value is given in this event callback. See details in [scroll event demo](http://dotwe.org/vue/9ef0e52bacaa20182a693f2187d851aa). -common events: check out the [common events](../common-event.html) +common events: check out the [common events](/wiki/common-events.html) -* support onclick event. Check out [common events](../common-event.html) -* support onappear / ondisappear event. Check out [common events](../common-event.html) +* support onclick event. Check out [common events](/wiki/common-events.html) +* support onappear / ondisappear event. Check out [common events](/wiki/common-events.html) ### API http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/loading.md ---------------------------------------------------------------------- diff --git a/source/references/components/loading.md b/source/references/components/loading.md index fc4389e..25b0971 100644 --- a/source/references/components/loading.md +++ b/source/references/components/loading.md @@ -90,7 +90,7 @@ The `<loading>` Component provide a pullup to loading function for some special ## Styles - - Please check out the [common styles](../common/common-style) + - Please check out the [common styles](/wiki/common-styles.html) ## Events http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/refresh.md ---------------------------------------------------------------------- diff --git a/source/references/components/refresh.md b/source/references/components/refresh.md index 87f1683..dddb79b 100644 --- a/source/references/components/refresh.md +++ b/source/references/components/refresh.md @@ -87,7 +87,7 @@ The `<refresh>` Component provide a pulldown-refresh function for some special c ## Styles - - Please check out the [common styles](../common/common-style) + - Please check out the [common styles](/wiki/common-styles.html) ## Events http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/scroller.md ---------------------------------------------------------------------- diff --git a/source/references/components/scroller.md b/source/references/components/scroller.md index b4ac3b0..64371d5 100644 --- a/source/references/components/scroller.md +++ b/source/references/components/scroller.md @@ -38,7 +38,7 @@ There are two special components that can only be used inside scroller component ## Styles -common styles: check out [common styles for components](../common-style.html) +common styles: check out [common styles for components](/wiki/common-styles.html) * support flexbox related styles * support box model related styles @@ -48,10 +48,10 @@ common styles: check out [common styles for components](../common-style.html) ## Events -**common events**: check out the [common events](../common-event.html) +**common events**: check out the [common events](/wiki/common-events.html) -- support `click` event. Check out [common events](../common-event.html) -- support `appear` / `disappear` event. Check out [common events](../common-event.html) +- support `click` event. Check out [common events](/wiki/common-events.html) +- support `appear` / `disappear` event. Check out [common events](/wiki/common-events.html) - support `loadmore` event. The `loadmore` event should be used in concert with loadmoreoffset. If the view has less than loadmoreoffset to scroll down, the event will be triggered.See details in [example](http://dotwe.org/vue/26e980d5ccd9538941ea6d17761219ff). http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/slider.md ---------------------------------------------------------------------- diff --git a/source/references/components/slider.md b/source/references/components/slider.md index b6bec18..6d3b377 100644 --- a/source/references/components/slider.md +++ b/source/references/components/slider.md @@ -23,12 +23,12 @@ It supports all kinds of weex components as its slides, especially the `indicato - `index`: <number> . This value determines the index of current shown slide. The default value is `0`. - `offset-x-accuracy {float}`ï¼set the scroll event trigger precision, precision value represents the rolling distance of a page width ratio. -- `index {number}`: specify current page index of slider +- `index {number}`: specify current page index of slider [try in dotWe](http://dotwe.org/vue/58a29d38247e7946a6db44e1b616f082) ## Styles -**common styles**: check out [common styles for components](../common-style.html) +**common styles**: check out [common styles for components](/wiki/common-styles.html) - support flexbox related styles - support box model related styles @@ -40,10 +40,10 @@ It supports all kinds of weex components as its slides, especially the `indicato - `change`: triggerd when the slide's index is changed. The event object contains the attribute of `index`, which is the index number of the currently shown slide. - `scroll` <sup class="wx-v">0.11+</sup>ï¼this event is fired when scrolling. The current offsetXRatio value is given in this event callback. -**common events**: check out the [common events](../common-event.html) +**common events**: check out the [common events](/wiki/common-events.html) -- support `click` event. Check out [common events](../common-event.html) -- support `appear` / `disappear` event. Check out [common events](../common-event.html) +- support `click` event. Check out [common events](/wiki/common-events.html) +- support `appear` / `disappear` event. Check out [common events](/wiki/common-events.html) ### Example http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/switch.md ---------------------------------------------------------------------- diff --git a/source/references/components/switch.md b/source/references/components/switch.md index 4b59184..0263732 100644 --- a/source/references/components/switch.md +++ b/source/references/components/switch.md @@ -47,9 +47,9 @@ None. ## Events -* `appear` / `disappear` event. check out [common events](../common-event.html) -* `click` / `longpress`: check out [common events](../common-event.html) -* `change`: check out [common events](../common-event.html) +* `appear` / `disappear` event. check out [common events](/wiki/common-events.html) +* `click` / `longpress`: check out [common events](/wiki/common-events.html) +* `change`: check out [common events](/wiki/common-events.html) ## Parameters of events' object for onchange event: @@ -70,7 +70,7 @@ None. > **Notes:** If the container of `<switch>` is not set to > `align-items:flex-start`, the switch in android will be stretched. -common styles: check out [common styles for components](../common-style.html) +common styles: check out [common styles for components](/wiki/common-styles.html) ## Usage Notes http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/text.md ---------------------------------------------------------------------- diff --git a/source/references/components/text.md b/source/references/components/text.md index d72be39..120d390 100644 --- a/source/references/components/text.md +++ b/source/references/components/text.md @@ -17,9 +17,9 @@ The weex builtin component 'text' is used to render text with specified style this.text = textComponent.attr.value; ## Styles -* Support [common styles for components](../wiki/common-style.html) +* Support [common styles for components](/wiki/common-styles.html) * lines: specify the text lines. Default value is `0` for unlimited. -* Support [text styles](../wiki/text-style.html) +* Support [text styles](/wiki/text-styles.html) * support 'color' style. * support 'font-size' style. iOS: default vlaue `32`. Android: platform specify. HTML5: default value `32`. * support 'font-style' style. @@ -30,7 +30,7 @@ The weex builtin component 'text' is used to render text with specified style * support 'line-height'(available from v0.6.1) style. ## Events -Support [common events](../common-event.html) +Support [common events](/wiki/common-events.html) ## Custom Typeface `support:v0.12.0` http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/textarea.md ---------------------------------------------------------------------- diff --git a/source/references/components/textarea.md b/source/references/components/textarea.md index dd61177..def3734 100644 --- a/source/references/components/textarea.md +++ b/source/references/components/textarea.md @@ -35,7 +35,7 @@ The `textarea` component supports all the properties of the `text` component, in * `disabled` * `enabled` -**text styles**: checkout [text styles](../text-style.html) +**text styles**: checkout [text styles](/wiki/text-styles.html) - support `color` style. - support `font-size` style. @@ -44,7 +44,7 @@ The `textarea` component supports all the properties of the `text` component, in - support `text-align` style. -**common styles**: check out [common styles for components](../common-style.html) +**common styles**: check out [common styles for components](/wiki/common-styles.html) - support flexbox related styles. - support box model related styles. @@ -58,9 +58,9 @@ The `textarea` component supports all the properties of the `text` component, in - `focus`: a component has received focus. - `blur`: a component has lost focus. -**common events**: check out the [common events](../common-event.html) +**common events**: check out the [common events](/wiki/common-events.html) -- support `appear` / `disappear` event. Check out [common events](../common-event.html). +- support `appear` / `disappear` event. Check out [common events](/wiki/common-events.html). **Notes:** `<textarea>` does not support the common-event `click`. Please listen to the `input` or `change` event instead. http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/video.md ---------------------------------------------------------------------- diff --git a/source/references/components/video.md b/source/references/components/video.md index 5e82f9b..24c363d 100644 --- a/source/references/components/video.md +++ b/source/references/components/video.md @@ -21,7 +21,7 @@ The video component can be used to embed video content in a weex page. * auto-play: <boolean> true | false. Use it to control whether it is playing when the page initialization finished. Defalut value is false. ## Styles -common styles: check out [common styles for components](../common-style.html) +common styles: check out [common styles for components](/wiki/common-styles.html) * support flexbox related styles * support box model related styles http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/components/waterfall.md ---------------------------------------------------------------------- diff --git a/source/references/components/waterfall.md b/source/references/components/waterfall.md index 8eccd92..b5e4732 100644 --- a/source/references/components/waterfall.md +++ b/source/references/components/waterfall.md @@ -33,7 +33,7 @@ To see other attributes, please checkout [List Component Attributes](./list.htm ### Styles -common styles: check out [common styles for components](../common-style.html) +common styles: check out [common styles for components](/wiki/common-styles.html) * support flexbox related styles * support box model related styles @@ -42,10 +42,10 @@ common styles: check out [common styles for components](../common-style.html) ### Events -common events: check out the [common events](../common-event.html) +common events: check out the [common events](/wiki/common-events.html) -* support onclick event. Check out [common events](../common-event.html) -* support onappear / ondisappear event. Check out [common events](../common-event.html) +* support onclick event. Check out [common events](/wiki/common-events.html) +* support onappear / ondisappear event. Check out [common events](/wiki/common-events.html) ### API http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/references/weex-variable.md ---------------------------------------------------------------------- diff --git a/source/references/weex-variable.md b/source/references/weex-variable.md index 0439179..6dcc80d 100644 --- a/source/references/weex-variable.md +++ b/source/references/weex-variable.md @@ -92,7 +92,7 @@ weex.requireModule(name: string): Object | void; ### Use Native Module -You can require a native module and use its APIs just like normal javascript functions. Here is [a simple example](http://dotwe.org/vue/cd7e97f7da08d6d4ca627fc127ab8828) of using the [`modal`](../components/modal.html) module: +You can require a native module and use its APIs just like normal javascript functions. Here is [a simple example](http://dotwe.org/vue/cd7e97f7da08d6d4ca627fc127ab8828) of using the [`modal`](/examples/modal.html) module: ```html <template> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/releasenote.md ---------------------------------------------------------------------- diff --git a/source/releasenote.md b/source/releasenote.md index 5ead271..ba3ab43 100644 --- a/source/releasenote.md +++ b/source/releasenote.md @@ -174,7 +174,7 @@ layout: post The former front-end framework (commonly known as `.we`), which is inspired by Vue 1.0, is deprecated. Although it still works well in this release, we suggest to migrate it to Vue 2.0. - SDK - New CSS support - - [text `font-weight`](https://weex.apache.org/wiki/text-styles.html) + - [text `font-weight`](https://weex-project.io/references/text-style.html) `font-weight` can set to [`normal`|`bold`] or 100-900. - gradient like CSS3, now you can use gradient in Weex. For example: @@ -183,7 +183,7 @@ layout: post background-image: linear-gradient(to right, blue, white); ```  - [Read more about gradient](https://weex.apache.org/wiki/common-styles.html#linear-gradient-v0-10). + [Read more about gradient](https://weex-project.io/references/common-style.html). - Pseudo class Currently, Weex supports 4 pseudo classes:`active`, `focus`, `disabled`, `enabled`. - New BroadcastChannel API @@ -225,7 +225,7 @@ layout: post - Has full set of commands for developers to setup android/ios application with his .we/.vue files. - Developers could easily pack/install his application with simple command. - Has full set of commands for developers to manage weex plugins, including create plugin template, add plugin to his project etc. - - [Plugin market](https://market.dotwe.org) was formally used for developers to publish/download weex plugins. + - [Plugin market](http://market.weex-project.io) was formally used for developers to publish/download weex plugins. ## v0.9.4 http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/tools/index.md ---------------------------------------------------------------------- diff --git a/source/tools/index.md b/source/tools/index.md index 98a07c7..2188a70 100644 --- a/source/tools/index.md +++ b/source/tools/index.md @@ -7,7 +7,7 @@ version: 2.1 # å¼åå·¥å · -+ [Playground App](./playground.html) ++ [Playground App](/cn/tools/playground.html) + [Online Playground](http://dotwe.org/vue/) + [Weex Toolkit](./toolkit.html) -+ [Syntax Highlight Plugins](./helpers.html) ++ [Syntax Highlight Plugins](/tools/helpers.html) http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/tools/toolkit.md ---------------------------------------------------------------------- diff --git a/source/tools/toolkit.md b/source/tools/toolkit.md index b2d181d..e2cf62b 100644 --- a/source/tools/toolkit.md +++ b/source/tools/toolkit.md @@ -17,7 +17,7 @@ $ npm install -g weex-toolkit You can use the `weex -v` command to confirm that the installation is successful. -> If you have never installed node.js, you should go [node.js.org]( https://nodejs.org/en/) to download and install it. The node version needs to be upper 6.0. You can try [n](https://github.com/tj/n) to manage your node versions. +> If you have never installed node.js, you should go [node.js.org]( https://nodejs.org/en/) to download and install it. The node version needs to be upper 6.0. You can try [n](https://github.com/tj/n) to manage your node versions. If you meet some errors when installing, please go [weex-toolkit issues](https://github.com/weexteam/weex-toolkit/issues) or [weex-toolkit faq](https://github.com/weexteam/weex-toolkit#faq) to find some solution or have a discuss with us. @@ -42,7 +42,7 @@ weex-toolkit supports previewing your Weex file(`.vue`) in a watch mode. You onl $ weex preview src/foo.vue ``` -The browser automatically opens the preview page and you can see the layout and effects of your weex page. If you have a [Playground App](https://weex.apache.org/tools/playground.html) in your mobile devices, you can scan the QR code at the opened page. +The browser automatically opens the preview page and you can see the layout and effects of your weex page. If you have a [Playground App](https://weex.apache.org/cn/playground.html) in your mobile devices, you can scan the QR code at the opened page. Try the command below, youâll preview the whole directory files. @@ -62,7 +62,7 @@ $ weex compile [source] [dist] [options] #### options -| Option | Description | +| Option | Description | | -------- | :----- | |`-w, --watch` | watch we file changes auto build them and refresh debugger page! [default `true`]| |`-d,--devtool [devtool]` |set webpack devtool mode| @@ -119,7 +119,7 @@ $ weex run web weex debug [we_file|bundles_dir] [options] ``` -| Option | Description | +| Option | Description | | -------- | :----- | |`-V, --verbose` | display logs of debugger server| |`-v, --version` | display version| @@ -141,7 +141,7 @@ $ weex debug ``` This command will start debug server and launch a chrome opening `DeviceList` page. -this page will display a QR code, you can use [Playground](https://weex.apache.org/tools/playground.html) scan it for starting debug or integrate [Weex devtools](#Integrate devtool) into your application. +this page will display a QR code, you can use [Playground](https://weex.apache.org/cn/playground.html) scan it for starting debug or integrate [Weex devtools](#Integrate devtool) into your application.  @@ -192,6 +192,6 @@ Click on the upper right corner of the Prophet to view the timing diagram (iOS i #### Integrate devtool * Android - * See the doc [Weex devtools (Android)](../../references/advanced/integrate-devtool-to-android.html), it will lead you to config and use it step by step. + * See the doc [Weex devtools (Android)](/guide/integrate-devtool-to-android.html), it will lead you to config and use it step by step. * iOS - * See the doc [Weex devtools (iOS)](../../references/advanced/integrate-devtool-to-ios.html), it will lead you to config and use it step by step. + * See the doc [Weex devtools (iOS)](/guide/integrate-devtool-to-ios.html), it will lead you to config and use it step by step. http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/wiki/faq.md ---------------------------------------------------------------------- diff --git a/source/wiki/faq.md b/source/wiki/faq.md index b6b7f3a..1f32787 100644 --- a/source/wiki/faq.md +++ b/source/wiki/faq.md @@ -17,7 +17,7 @@ version: 2.1 ## Command errors in MS Windows -Please install [Git for Windows](https://git-scm.com/download/win) first, see [For Windows](https://github.com/apache/incubator-weex/tree/master#for-windows) for more information. +Please install [Git for Windows](https://git-scm.com/download/win) first, see [For Windows](https://github.com/apache/incubator-weex/tree/dev#for-windows) for more information. ## Gradle errors in Android Studio @@ -32,7 +32,7 @@ Weex's native runtime support load image file from device's disk, all you have t This's is caused by weex-toolkit's dependency 'http-server', whose old version is not working well in chinese windows environment. We have fixed that, you should upgrade weex-toolkit before use that. ## Playground app display nothing (white screen) after scan -Best way to find out what's happening is read debug log, you can follow [this document](./guide/index.html) to firgure out how to do that. +Best way to find out what's happening is read debug log, you can follow [this document](/guide/index.html) to firgure out how to do that. ## About ECMAScript Version @@ -131,8 +131,8 @@ else { If you have 2 pages, A and B. -0. A -> B, use [storage module](./references/modules/storage.html) to transfer data -0. B -> A, use [storage module](./references/modules/storage.html) to transfer data +0. A -> B, use [storage module](/references/modules/storage.html) to transfer data +0. B -> A, use [storage module](/references/modules/storage.html) to transfer data ## How to use `repeat` in Parent-Child components http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/wiki/index.md ---------------------------------------------------------------------- diff --git a/source/wiki/index.md b/source/wiki/index.md index 6157d04..c53db88 100644 --- a/source/wiki/index.md +++ b/source/wiki/index.md @@ -20,7 +20,7 @@ The WeexSDK would prepare a JavaScript engine to run corresponding JS bundle whe Even if a user does not install the App, he can still open a same web page in the browser, using the same source code. - + ## Local Development Environment @@ -32,8 +32,8 @@ Also same as the best practice of web development, each Weex page will be built **Links** -* [Platform differences between Weex and web](../../references/platform-difference.html) -* [Differences of using Vue between Weex with web](../../references/vue/difference-with-web.html) +* [Platform differences between Weex and web](/wiki/platform-difference.html) +* [Differences of using Vue between Weex with web](/wiki/platform-difference.html) * [Get Started](../index.html) * [Using Devtools](./devtools.html) @@ -56,10 +56,10 @@ Although Weex has provided a group of most commonly used components and modules **Links** * [Differences between Weex and web standard](../../references/web-standards.html) -* [Using Weex in iOS](../../references/ios-apis.html) -* [Using Weex in Android](../../references/android-apis.html) -* [Extend to iOS](../../references/advanced/extend-to-ios.html) -* [Extend to Android](../../references/advanced/extend-to-android.html) +* [Using Weex in iOS](/references/ios-apis.html) +* [Using Weex in Android](/references/android-apis.html) +* [Extend to iOS](/guide/extend-ios.html) +* [Extend to Android](/guide/extend-android.html) ## In the Browser http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/06f9ee6c/source/wiki/text-styles.md ---------------------------------------------------------------------- diff --git a/source/wiki/text-styles.md b/source/wiki/text-styles.md index e1b7d90..f7f0cd9 100644 --- a/source/wiki/text-styles.md +++ b/source/wiki/text-styles.md @@ -8,7 +8,7 @@ version: 2.1 <!-- toc --> -Text alike components share some common style rules. The text alike components currently includes [`text`](./components/text.html) and [`input`](./components/input.html). +Text alike components share some common style rules. The text alike components currently includes [`text`](/references/components/text.html) and [`input`](/references/components/input.html). ## Properties
