Skip to content

Commit

Permalink
refactor: update the dictories
Browse files Browse the repository at this point in the history
  • Loading branch information
neoFelhz committed Sep 11, 2017
1 parent 75566b8 commit 7dcd929
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 62 deletions.
6 changes: 3 additions & 3 deletions docs/config/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ search:
打开 LeanCloud 官网,进入[注册页面](https://leancloud.cn/login.html#/signup)注册。完成邮箱激活后,点击头像,进入控制台页面,如下:
![](https://qiniu.viosey.com/img/leancloud-config-1.png)
![leancloud-config-1.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-1.png)
创建一个新应用 (默认类型为JavaScript SDK),点击应用进入;
创建名称为 `Counter` 的 Class
注意:`ACL 权限` 必须为 `无限制`
![](https://qiniu.viosey.com/img/leancloud-config-2.png)
![](https://qiniu.viosey.com/img/leancloud-config-3.png)
![leancloud-config-2.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-2.png)
![leancloud-config-3.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-3.png)
编辑 `主题配置文件` ,修改 `leancloud` 条目,将 `enable` 改为 `true`,再填入 `app_id` 与 `app_key`。在 `应用->设置->应用 Key` 可看到 `APP ID` 与 `APP Key`
Expand Down
6 changes: 3 additions & 3 deletions docs/en/config/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ You should left the all the site_id empty below. Then you can add the analytics

Open the LeanCloud website and go to the [registration page](https://leancloud.cn/login.html#/signup) to register. After the mailbox is activated, click on the avatar to access the console page as following:

![](https://qiniu.viosey.com/img/leancloud-config-1.png)
![leancloud-config-1.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-1.png)

Create a new application (the default type is JavaScript SDK), click Apply to enter;

Create a Class named `Counter`
Note: `ACL Permissions` must be `unrestricted`

![](https://qiniu.viosey.com/img/leancloud-config-2.png)
![](https://qiniu.viosey.com/img/leancloud-config-3.png)
![leancloud-config-2.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-2.png)
![leancloud-config-3.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-3.png)

You can find `app_id` and `app_key` in `application -> Settings -> Application Key`.

Expand Down
114 changes: 58 additions & 56 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,69 +1,71 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Material theme, an elegant & Material Design theme.">
<meta name="keywords" content="Hexo, hexo, theme, hexo theme, viosey, material theme, material design, material 主题">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@1.5.1/static/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@1.5.1/static/favicon.ico" type="image/x-icon">
<title>Material Theme</title>
<meta property="og:url" content="https://material.viosey.com">
<meta property="og:type" content="website">
<meta property="og:title" content="Material Theme">
<meta property="og:description" content="Material theme, an elegant & Material Design theme.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@1.5.1/static/style.min.css">
<link rel="stylesheet" href="https://fonts.geekzu.org/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Material theme, an elegant & Material Design theme.">
<meta name="keywords" content="Hexo, hexo, theme, hexo theme, viosey, material theme, material design, material 主题">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/favicon.ico" type="image/x-icon">
<title>Material Theme</title>
<meta property="og:url" content="https://material.viosey.com">
<meta property="og:type" content="website">
<meta property="og:title" content="Material Theme">
<meta property="og:description" content="Material theme, an elegant & Material Design theme.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/css/style.min.css">
<link rel="stylesheet" href="https://fonts.geekzu.org/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600">
</head>

<body>
<nav>
<a href="#/">简体中文</a>
<a href="#/en/">English</a>
</nav>
<div id="app">Loading . . . . | 正在加载</div>
<nav>
<a href="#/">简体中文</a>
<a href="#/en/">English</a>
</nav>
<div id="app">Loading . . . . | 正在加载</div>
</body>
<script>
window.$docsify = {
name: '<b>Material Theme</b><br>Verison: 1.5.0',
nameLink: {
'/en/': '/#/en/',
'/': '/'
},
window.$docsify = {
name: '<b>Material Theme</b><br>Verison: 1.5.0',
nameLink: {
'/en/': '/#/en/',
'/': '/'
},

// GitHub Icon
repo: 'https://github.com/viosey/hexo-theme-material/',

// Google Analytics
ga: 'UA-83419544-1',

themeColor: '#757575',

// GitHub Icon
repo: 'https://github.com/viosey/hexo-theme-material/',
// Search Support
search: {
maxAge: 43200000, // 过期时间,单位毫秒,默认一天
paths: 'auto',
placeholder: {
'/en/': 'Search',
'/': '搜索',
},
noData: {
'/en/': 'No Results',
'/': '找不到结果',
},
},

// Google Analytics
ga: 'UA-83419544-1',
// load sidevar from _sidebar.md
loadSidebar: '_sidebar.md',
subMaxLevel: 2,
autoHeader: true,

themeColor: '#757575',

// Search Support
search: {
maxAge: 43200000, // 过期时间,单位毫秒,默认一天
paths: 'auto',
placeholder: {
'/en/': 'Search',
'/': '搜索',
},
noData: {
'/en/': 'No Results',
'/': '找不到结果',
},
},
// use jsdelivr load markdown file
basePath: 'https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/docs/',

// load sidevar from _sidebar.md
loadSidebar: '_sidebar.md',
subMaxLevel: 2,
autoHeader: true,

// use jsdelivr load markdown file
basePath: 'https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/docs/',

//Auto2Top
auto2top: true,
}
//Auto2Top
auto2top: true,
}
</script>
<script src="https://cdnjs.cat.net/ajax/libs/docsify/4.3.1/docsify.min.js"></script>
<script src="https://cdnjs.cat.net/ajax/libs/docsify/4.3.1/plugins/search.min.js"></script>
Expand All @@ -72,4 +74,4 @@
<script src="https://cdnjs.cat.net/ajax/libs/docsify/4.3.1/plugins/ga.min.js"></script>


</html>
</html>
File renamed without changes.
Binary file added static/img/leancloud-config-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/leancloud-config-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/leancloud-config-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7dcd929

Please sign in to comment.