Skip to content

Commit

Permalink
docs add YAML meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
Minwe committed Jan 7, 2015
1 parent a80d0ac commit 6821ad2
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 25 deletions.
13 changes: 13 additions & 0 deletions docs/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
id: about
title: 关于我们
titleEn: About
next: about/wantu.html
---

# 关于我们
---

Amaze UI 是一个轻量级、 Mobile first 的前端框架, 由 Amaze UI 小组基于开源社区流行前端框架编写。

Amaze UI 小组目前有两位成员,我们崇尚开放、自由,欢迎大家参与到 Amaze UI 开发、维护中来。
17 changes: 0 additions & 17 deletions docs/about/about.md

This file was deleted.

8 changes: 8 additions & 0 deletions docs/about/contact.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
id: contact
title: 关于我们
titleEn: Contact
prev: about/about.html
next: about/contact.html
---

# 联系我们
---

Expand Down
16 changes: 12 additions & 4 deletions docs/about/resources.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
---
id: resources
title: 相关资源
titleEn: Resources
permalink: about/resources.html
prev: about/contact.html
---

# Amaze UI 相关
---

<div class="am-alert am-alert-warning">域名备案中,CDN 暂时无法使用!如有需要可直接从 <a href="https://github.com/allmobilize/amazeui/tree/master/vendor/amazeui" target="_blank">GitHub 下载</a>。</div>

## Logo

Amaze UI Logo 存放在 [项目 vendor/amazeui](https://github.com/allmobilize/amazeui/tree/master/vendor/amazeui) 下面,也可以直接引用 CDN 中链接。
Expand Down Expand Up @@ -60,9 +68,9 @@ __SVG:__
```html
<img width="200" src="http://cdn.amazeui.org/assets/i/brand/amazeui-w.svg" alt="Amaze UI Logo"/>
```

### 独立图形

`````html
<img width="60" style="padding: 10px; margin-right: 10px" src="http://cdn.amazeui.org/assets/i/brand/amazeui-s.png" alt="Amaze UI Logo"/>

Expand All @@ -87,4 +95,4 @@ __SVG:__

<!-- 白色 -->
<img src="http://cdn.amazeui.org/assets/i/brand/amazeui-sw.svg" alt="Amaze UI Logo"/>
```
```
8 changes: 8 additions & 0 deletions docs/about/wantu.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
id: wantu
title: 妹子招亲
titleEn: Want U
permalink: about/wantu.html
next: about/contact.html
---

# 妹子招亲
---

Expand Down
8 changes: 8 additions & 0 deletions docs/css.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
id: css
title: CSS
titleEn: CSS
permalink: css.html
next: css/normalize.html
---

# CSS
---

Expand Down
8 changes: 8 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
id: getting-started
title: 开始使用
titleEn: Getting Started
permalink: getting-started.html
next: getting-started/layouts.html
---

# 开始使用 Amaze UI
---

Expand Down
8 changes: 8 additions & 0 deletions docs/javascript.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
id: javaScript
title: JS 插件
titleEn: JavaScript
permalink: javaScript.html
next: javascript/alert.html
---

# JavaScript
---

Expand Down
6 changes: 2 additions & 4 deletions docs/javascript/fullscreen.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ API 兼容性列表](http://caniuse.com/fullscreen)),免去苦逼写各种

## 方法

一下方法通过 `$.AMUI.fullscreen` 接口调用。
以下方法通过 `$.AMUI.fullscreen` 接口调用。

### `.request()`

Expand Down Expand Up @@ -67,9 +67,7 @@ $(document).on($.AMUI.fullscreen.raw.fullscreenerror, function () {});

### `.raw`

返回包含原始方法名称的对象,对象 `key` 包括: `requestFullscreen`, `exitFullscreen`, `fullscreenElement`, `fullscreenEnabled`, `
fullscreenchange`,
`fullscreenerror`
返回包含原始方法名称的对象,对象 `key` 包括: `requestFullscreen`, `exitFullscreen`, `fullscreenElement`, `fullscreenEnabled`, `fullscreenchange`,`fullscreenerror`

```js
$(document).on($.AMUI.fullscreen.raw.fullscreenchange, function () {
Expand Down
8 changes: 8 additions & 0 deletions docs/widgets.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
id: widgets
title: Web 组件
titleEn: Web Components
permalink: widgets.html
next: widgets/accordion.html
---

# Web 组件
---

Expand Down

0 comments on commit 6821ad2

Please sign in to comment.