zshshr closed pull request #242: fix link for <a> and <div> docs
URL: https://github.com/apache/incubator-weex-site/pull/242
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/docs/components/a.md b/docs/docs/components/a.md
index cf128b23b..1c4004f3d 100644
--- a/docs/docs/components/a.md
+++ b/docs/docs/components/a.md
@@ -6,6 +6,8 @@ order: 8.01
 version: 2.1
 ---
 
+## Introduction
+
 `<a>` is mainly used for navigation between weex pages。
 
 > **Note:** The behavior of `<a>` is similar to [`<div>`](./div.html) except 
 > for the aspect mentioned in current page.
@@ -22,18 +24,15 @@ Wrap the element navigating from with `<a>`
 Refer the [demo](http://dotwe.org/vue/1cec564d6e25c169a0a9a92db3a00955).
 
 ## Attributes:
-| Attribute       | Type    |Value| Default Value|
-| -------------   | ------  | --- | ------------ |
-| `href` | String | {URL}   | -   | -            |
 
-### `href`
-`href` defines the URL that current page will navigate. `href` **must** point 
to a weex page, the behavior of other case is **undefined**.
+
+* **href** String ,`href` defines the URL that current page will navigate. 
`href` **must** point to a weex page, the behavior of other case is 
**undefined**.
 
 ## Style
-Support [common styles](../../wiki/common-styles.html).
+Support [common styles](../styles/common-styles.html).
 
 ## Events
-Support [common events](../../wiki/common-events.html)
+Support [common events](../events/common-events.html)
 
 ### `click`
 > **Notes:** The execution order of callback function of click and href is 
 > **undefined**. Do **not** use click event to do the preprocessing of `href`.
diff --git a/docs/docs/components/div.md b/docs/docs/components/div.md
index 6e3807903..aea9c2ae4 100644
--- a/docs/docs/components/div.md
+++ b/docs/docs/components/div.md
@@ -2,7 +2,6 @@
 
 `<div>` is a base container component.support all 
 
-- [common attributes](/wiki/common-attributes.html).
 - [common styles](/wiki/common-styles.html)
 - [common events](/wiki/common-events.html)
 - flexbox layout
@@ -15,14 +14,14 @@ similar to `div` in `html`
 
 ## Attributes
 
-* **common attributes**. Check out [common 
attributes](/wiki/common-attributes.html).
+* **common attributes**. 
 
 ## Styles
 
-* **common styles**. Check out [common styles](/wiki/common-styles.html).
+* **common styles**. support [common styles](../styles/common-styles.html).
 
 ## Events
-* **common events**. Check out the [common events](/wiki/common-events.html).
+* **common events**. support [common events](../events/common-events.html).
 
 ## Other
 
diff --git a/docs/zh/docs/components/a.md b/docs/zh/docs/components/a.md
index fe88dbc6b..8db92bb6d 100644
--- a/docs/zh/docs/components/a.md
+++ b/docs/zh/docs/components/a.md
@@ -9,11 +9,11 @@
 
 ## 样式
 
-* **通用样式**. 参见[通用样式](/wiki/common-styles.html).
+* **通用样式**. 参见[通用样式](../styles/common-styles.html).
 
 ## 事件
 
-* **通用事件**. 参见[通用事件](/wiki/common-events.html)
+* **通用事件**. 参见[通用事件](../events/common-events.html)
 
 ## 其它
 
diff --git a/docs/zh/docs/components/div.md b/docs/zh/docs/components/div.md
index 86b965f09..5eacf2db8 100644
--- a/docs/zh/docs/components/div.md
+++ b/docs/zh/docs/components/div.md
@@ -8,15 +8,15 @@
 
 ## 属性
 
-* **通用属性**. 参见[通用属性](/wiki/common-attributes.html).
+* **通用属性**. 
 
 ## 样式
 
-* **通用样式**. 参见[通用样式](/wiki/common-styles.html).
+* **通用样式**. 参见[通用样式](../styles/common-styles.html).
 
 ## 事件
 
-* **通用事件**. 参见[通用事件](/wiki/common-events.html).
+* **通用事件**. 参见[通用事件](../events/common-events.html).
 
 ## 其它
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to