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/19 02:51:11 UTC

[incubator-weex-site] branch draft updated: modify the syntax and fix 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 26d6ab0  modify the syntax and fix compiling errors
26d6ab0 is described below

commit 26d6ab08bc1818fdfbf1728f2cd9059b199acec7
Author: Hanks <zh...@gmail.com>
AuthorDate: Wed Dec 19 10:50:58 2018 +0800

    modify the syntax and fix compiling errors
---
 docs/docs/components/a.md        | 10 +---------
 docs/docs/components/cell.md     |  8 --------
 docs/docs/components/div.md      | 10 +++++-----
 docs/docs/components/image.md    |  8 +-------
 docs/docs/components/input.md    | 10 +---------
 docs/docs/components/list.md     | 10 +---------
 docs/docs/components/loading.md  |  8 --------
 docs/docs/components/scroller.md |  9 +--------
 8 files changed, 10 insertions(+), 63 deletions(-)

diff --git a/docs/docs/components/a.md b/docs/docs/components/a.md
index 1c4004f..70dd550 100644
--- a/docs/docs/components/a.md
+++ b/docs/docs/components/a.md
@@ -1,11 +1,3 @@
----
-title: <a>
-type: references
-group: Build-in Components
-order: 8.01
-version: 2.1
----
-
 ## Introduction
 
 `<a>` is mainly used for navigation between weex pages。
@@ -19,7 +11,7 @@ Wrap the element navigating from with `<a>`
 
     <a href="http://dotwe.org/raw/dist/a5e3760925ac3b9d68a3aa0cc0298857.bundle.wx">
       <text>Jump</text>
-    </a> 
+    </a>
 
 Refer the [demo](http://dotwe.org/vue/1cec564d6e25c169a0a9a92db3a00955).
 
diff --git a/docs/docs/components/cell.md b/docs/docs/components/cell.md
index d948a43..c8575eb 100644
--- a/docs/docs/components/cell.md
+++ b/docs/docs/components/cell.md
@@ -1,11 +1,3 @@
----
-title: <cell>
-type: references
-group: Build-in Components
-order: 8.08
-version: 2.1
----
-
 # &lt;cell&gt;
 
 ### Summary
diff --git a/docs/docs/components/div.md b/docs/docs/components/div.md
index aea9c2a..f9ce7f6 100644
--- a/docs/docs/components/div.md
+++ b/docs/docs/components/div.md
@@ -1,6 +1,6 @@
-# Introduction
+# Div Component
 
-`<div>` is a base container component.support all 
+`<div>` is a base container component.support all
 
 - [common styles](/wiki/common-styles.html)
 - [common events](/wiki/common-events.html)
@@ -14,7 +14,7 @@ similar to `div` in `html`
 
 ## Attributes
 
-* **common attributes**. 
+* **common attributes**.
 
 ## Styles
 
@@ -32,7 +32,7 @@ similar to `div` in `html`
 ## Example
 
 
-- code 
+- code
 
 	``` vue{2}
 	<template>
@@ -42,4 +42,4 @@ similar to `div` in `html`
 	</template>
 	```
 
-- [try it](http://dotwe.org/vue/57cc2dd8955b0ead3e5b46e3df2f58b9) (naitve can't scroll automatic)you scan use [&lt;list&gt;](/docs/list.html)、[&lt;scroller&gt;](/docs/scroller.html) for scroll
\ No newline at end of file
+- [try it](http://dotwe.org/vue/57cc2dd8955b0ead3e5b46e3df2f58b9) (naitve can't scroll automatic)you scan use [&lt;list&gt;](/docs/list.html)、[&lt;scroller&gt;](/docs/scroller.html) for scroll
diff --git a/docs/docs/components/image.md b/docs/docs/components/image.md
index 7b688ab..d18d4f7 100644
--- a/docs/docs/components/image.md
+++ b/docs/docs/components/image.md
@@ -1,10 +1,4 @@
----
-title: <image>
-type: references
-group: Build-in Components
-order: 8.04
-version: 2.1
----
+# Image Component
 
 `<image>` is used to display a single image in your interface.
 
diff --git a/docs/docs/components/input.md b/docs/docs/components/input.md
index c67d742..f3afd02 100644
--- a/docs/docs/components/input.md
+++ b/docs/docs/components/input.md
@@ -1,12 +1,4 @@
----
-title: <input>
-type: references
-group: Build-in Components
-order: 8.06
-version: 2.1
----
-
-# input
+# Input Component
 
 The weex builtin component `input` is used to create input controls to receive the user's input characters. How a `input` component works varies considerably depending on the value of its `type` attribute, such as `text`, `password`, `url`, `email`, `tel` etc.
 
diff --git a/docs/docs/components/list.md b/docs/docs/components/list.md
index 052e415..14f449a 100644
--- a/docs/docs/components/list.md
+++ b/docs/docs/components/list.md
@@ -1,11 +1,3 @@
----
-title: <list>
-type: references
-group: Build-in Components
-order: 8.07
-version: 2.1
----
-
 # List
 
 <span class="weex-version">v0.6.1+</span>
@@ -42,7 +34,7 @@ Notes: The list now supports the following child components: cell, header, refre
 * 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. 
+* 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/loading.md b/docs/docs/components/loading.md
index d776ff3..93e33ba 100644
--- a/docs/docs/components/loading.md
+++ b/docs/docs/components/loading.md
@@ -1,11 +1,3 @@
----
-title: <loading>
-type: references
-group: Build-in Components
-order: 8.09
-version: 2.1
----
-
 # &lt;loading&gt;
 
 ### <span class="weex-version">v0.6.1+</span>
diff --git a/docs/docs/components/scroller.md b/docs/docs/components/scroller.md
index 64371d5..722b1c8 100644
--- a/docs/docs/components/scroller.md
+++ b/docs/docs/components/scroller.md
@@ -1,17 +1,10 @@
----
-title: <scroller>
-type: references
-order: 8.20
-version: 2.1
----
-
 # &lt;scroller&gt;
 
 <span class="weex-version">v0.6.1+</span>
 
 Scroller is a component which can have multiple child components in one column. It supports both direcitons. If the content size of child components exceeds the frame of the scroller, the whole child components will be scrollable.
 
-Notes: A <scroller> can be used as a root element or a embed element. The scroll direction of this component is column, and it can't be changed.
+Notes: A `<scroller>` can be used as a root element or a embed element. The scroll direction of this component is column, and it can't be changed.
 
 
 ## Child Components