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/12/20 09:58:47 UTC

[incubator-weex-site] branch draft updated: Fix more compiling errors

This is an automated email from the ASF dual-hosted git repository.

hanks pushed a commit to branch draft
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git


The following commit(s) were added to refs/heads/draft by this push:
     new 020e3d5  Fix more compiling errors
020e3d5 is described below

commit 020e3d5e31643f682c28457c76c21e46cc18a6f0
Author: Hanks <zh...@gmail.com>
AuthorDate: Thu Dec 20 17:58:23 2018 +0800

    Fix more compiling errors
---
 docs/docs/components/list.md                    | 12 ++++++------
 docs/docs/components/text.md                    |  2 +-
 docs/guide/develop/setup-develop-environment.md | 12 ++----------
 3 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/docs/docs/components/list.md b/docs/docs/components/list.md
index 14f449a..f608555 100644
--- a/docs/docs/components/list.md
+++ b/docs/docs/components/list.md
@@ -29,12 +29,12 @@ Notes: The list now supports the following child components: cell, header, refre
 
 ### Attributes
 
-* show-scrollbar: true/false whether show the scroll bar or not, default value is true
-* loadmoreoffset : <number> default value is 0. The loadmore event will be triggered when the list is loadmoreoffset left to reach the bottom of the list view. e.g. a list has total content length of 1000, and the loadmoreoffset is set to 400, the loadmore event will be triggered when 600 has beed scrolled and there is less than 400 left.
-* loadmoreretry : <number> default value 0,whether to reset loadmore related UI when loadmore failed, will be deprecated in further release.
-* offset-accuracy:<number> default value is 0, the vertical offset distance required to trigger the scroll event.
-* pagingEnabled: <boolean> default value is false. supporting pager style snapping in vertical orientation. support version: `0`<span class="api-version">v0.20+</span>. Example : [pagingEnabled](http://dotwe.org/vue/1323c218072f17f10e14a5c336dac3c4)
-* scrollable: <boolean> default value is true.  set whether list is scrollable.
+* `show-scrollbar`: true/false whether show the scroll bar or not, default value is true
+* `loadmoreoffset` : `Number` default value is 0. The loadmore event will be triggered when the list is loadmoreoffset left to reach the bottom of the list view. e.g. a list has total content length of 1000, and the loadmoreoffset is set to 400, the loadmore event will be triggered when 600 has beed scrolled and there is less than 400 left.
+* `loadmoreretry` : `Number` default value 0,whether to reset loadmore related UI when loadmore failed, will be deprecated in further release.
+* `offset-accuracy`:`Number` default value is 0, the vertical offset distance required to trigger the scroll event.
+* `pagingEnabled`: `Boolean` default value is false. supporting pager style snapping in vertical orientation. support version: `0`<span class="api-version">v0.20+</span>. Example : [pagingEnabled](http://dotwe.org/vue/1323c218072f17f10e14a5c336dac3c4)
+* scrollable: `Boolean` default value is true.  set whether list is scrollable.
 
 Please checkout [Scroller Component Attributes](./scroller.html) to have a look at the inherited attributes from direct parent.
 
diff --git a/docs/docs/components/text.md b/docs/docs/components/text.md
index 6dff34d..eebc172 100644
--- a/docs/docs/components/text.md
+++ b/docs/docs/components/text.md
@@ -1,6 +1,6 @@
 # Text
 
-The weex builtin component 'text' is used to render text with specified style rule. <text> tag can contain text value only. You can use variable interpolation in the text content with the mark `{% raw %}{{}}{% endraw %}`.
+The weex builtin component 'text' is used to render text with specified style rule. `<text>` tag can contain text value only. You can use variable interpolation in the text content with the mark `{% raw %}{{}}{% endraw %}`.
 
 > **Note:** This component supports no child components.
 
diff --git a/docs/guide/develop/setup-develop-environment.md b/docs/guide/develop/setup-develop-environment.md
index bb03b91..d972ea8 100644
--- a/docs/guide/develop/setup-develop-environment.md
+++ b/docs/guide/develop/setup-develop-environment.md
@@ -1,15 +1,7 @@
----
-title: Setup Develop Environment
-type: guide
-group: Develop
-order: 5.1
-version: 2.1
----
+# Setup Develop Environment
 
 <!-- toc -->
 
-# Setup Develop Environment
-
 Using [dotWe](http://dotwe.org/vue) is a good choice, but if you want to develop locally on your own machine, you will need to set up your develop environment.
 
 You will need Node.js and the [Weex CLI](https://github.com/weexteam/weex-toolkit).
@@ -31,7 +23,7 @@ Run the following commands in a terminal:
 $ npm install -g weex-toolkit
 $ weex -v
 ```
-You can use 'weex update <component>@x.x.x' to update weex-devtool, weex-previewer, weex-builder and weexpack to a specific version.
+You can use 'weex update {component}@x.x.x' to update weex-devtool, weex-previewer, weex-builder and weexpack to a specific version.
 ```
 weex update weex-devtool@latest // Here latest means to install the latest version
 ```