Skip to content

Commit 7dcd929

Browse files
committed
refactor: update the dictories
1 parent 75566b8 commit 7dcd929

File tree

7 files changed

+64
-62
lines changed

7 files changed

+64
-62
lines changed

docs/config/services.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@ search:
139139
140140
打开 LeanCloud 官网,进入[注册页面](https://leancloud.cn/login.html#/signup)注册。完成邮箱激活后,点击头像,进入控制台页面,如下:
141141
142-
![](https://qiniu.viosey.com/img/leancloud-config-1.png)
142+
![leancloud-config-1.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-1.png)
143143
144144
创建一个新应用 (默认类型为JavaScript SDK),点击应用进入;
145145
146146
创建名称为 `Counter` 的 Class
147147
注意:`ACL 权限` 必须为 `无限制`
148148
149-
![](https://qiniu.viosey.com/img/leancloud-config-2.png)
150-
![](https://qiniu.viosey.com/img/leancloud-config-3.png)
149+
![leancloud-config-2.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-2.png)
150+
![leancloud-config-3.png](https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/img/leancloud-config-3.png)
151151
152152
编辑 `主题配置文件` ,修改 `leancloud` 条目,将 `enable` 改为 `true`,再填入 `app_id` 与 `app_key`。在 `应用->设置->应用 Key` 可看到 `APP ID` 与 `APP Key`
153153

docs/en/config/services.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ You should left the all the site_id empty below. Then you can add the analytics
101101

102102
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:
103103

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

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

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

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

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

docs/index.html

+58-56
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,71 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
4-
<meta charset="utf-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="description" content="Material theme, an elegant & Material Design theme.">
7-
<meta name="keywords" content="Hexo, hexo, theme, hexo theme, viosey, material theme, material design, material 主题">
8-
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
9-
<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">
10-
<link rel="icon" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@1.5.1/static/favicon.ico" type="image/x-icon">
11-
<title>Material Theme</title>
12-
<meta property="og:url" content="https://material.viosey.com">
13-
<meta property="og:type" content="website">
14-
<meta property="og:title" content="Material Theme">
15-
<meta property="og:description" content="Material theme, an elegant & Material Design theme.">
16-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@1.5.1/static/style.min.css">
17-
<link rel="stylesheet" href="https://fonts.geekzu.org/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600">
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="description" content="Material theme, an elegant & Material Design theme.">
8+
<meta name="keywords" content="Hexo, hexo, theme, hexo theme, viosey, material theme, material design, material 主题">
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
10+
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/favicon.ico" type="image/x-icon">
11+
<link rel="icon" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/favicon.ico" type="image/x-icon">
12+
<title>Material Theme</title>
13+
<meta property="og:url" content="https://material.viosey.com">
14+
<meta property="og:type" content="website">
15+
<meta property="og:title" content="Material Theme">
16+
<meta property="og:description" content="Material theme, an elegant & Material Design theme.">
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/static/css/style.min.css">
18+
<link rel="stylesheet" href="https://fonts.geekzu.org/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600">
1819
</head>
20+
1921
<body>
20-
<nav>
21-
<a href="#/">简体中文</a>
22-
<a href="#/en/">English</a>
23-
</nav>
24-
<div id="app">Loading . . . . | 正在加载</div>
22+
<nav>
23+
<a href="#/">简体中文</a>
24+
<a href="#/en/">English</a>
25+
</nav>
26+
<div id="app">Loading . . . . | 正在加载</div>
2527
</body>
2628
<script>
27-
window.$docsify = {
28-
name: '<b>Material Theme</b><br>Verison: 1.5.0',
29-
nameLink: {
30-
'/en/': '/#/en/',
31-
'/': '/'
32-
},
29+
window.$docsify = {
30+
name: '<b>Material Theme</b><br>Verison: 1.5.0',
31+
nameLink: {
32+
'/en/': '/#/en/',
33+
'/': '/'
34+
},
35+
36+
// GitHub Icon
37+
repo: 'https://github.com/viosey/hexo-theme-material/',
38+
39+
// Google Analytics
40+
ga: 'UA-83419544-1',
41+
42+
themeColor: '#757575',
3343

34-
// GitHub Icon
35-
repo: 'https://github.com/viosey/hexo-theme-material/',
44+
// Search Support
45+
search: {
46+
maxAge: 43200000, // 过期时间,单位毫秒,默认一天
47+
paths: 'auto',
48+
placeholder: {
49+
'/en/': 'Search',
50+
'/': '搜索',
51+
},
52+
noData: {
53+
'/en/': 'No Results',
54+
'/': '找不到结果',
55+
},
56+
},
3657

37-
// Google Analytics
38-
ga: 'UA-83419544-1',
58+
// load sidevar from _sidebar.md
59+
loadSidebar: '_sidebar.md',
60+
subMaxLevel: 2,
61+
autoHeader: true,
3962

40-
themeColor: '#757575',
41-
42-
// Search Support
43-
search: {
44-
maxAge: 43200000, // 过期时间,单位毫秒,默认一天
45-
paths: 'auto',
46-
placeholder: {
47-
'/en/': 'Search',
48-
'/': '搜索',
49-
},
50-
noData: {
51-
'/en/': 'No Results',
52-
'/': '找不到结果',
53-
},
54-
},
63+
// use jsdelivr load markdown file
64+
basePath: 'https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/docs/',
5565

56-
// load sidevar from _sidebar.md
57-
loadSidebar: '_sidebar.md',
58-
subMaxLevel: 2,
59-
autoHeader: true,
60-
61-
// use jsdelivr load markdown file
62-
basePath: 'https://cdn.jsdelivr.net/gh/neko-dev/material-theme-docs@latest/docs/',
63-
64-
//Auto2Top
65-
auto2top: true,
66-
}
66+
//Auto2Top
67+
auto2top: true,
68+
}
6769
</script>
6870
<script src="https://cdnjs.cat.net/ajax/libs/docsify/4.3.1/docsify.min.js"></script>
6971
<script src="https://cdnjs.cat.net/ajax/libs/docsify/4.3.1/plugins/search.min.js"></script>
@@ -72,4 +74,4 @@
7274
<script src="https://cdnjs.cat.net/ajax/libs/docsify/4.3.1/plugins/ga.min.js"></script>
7375

7476

75-
</html>
77+
</html>
File renamed without changes.

static/img/leancloud-config-1.png

62.3 KB
Loading

static/img/leancloud-config-2.png

110 KB
Loading

static/img/leancloud-config-3.png

81.4 KB
Loading

0 commit comments

Comments
 (0)