-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
81 lines (77 loc) · 2.55 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!--
* @Author: Carl
* @Date: 2020-05-25 19:50:00
* @LastEditors: Carl
* @LastEditTime: 2020-10-30 16:13:24
-->
<!DOCTYPE html>
<html lang="zh-Hans-CN">
<head>
<meta charset="UTF-8">
<title>酷宅开放平台 4.0</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="./media/img/favicon.ico">
<link rel="stylesheet" href="./media/css/vue.css">
<link rel="stylesheet" href="./media/css/style.css">
<link rel="stylesheet" media="screen and (min-width:640px)" href="./media/css/phone.css" />
</head>
<body>
<nav>
<a href="#/en/PlatformOverview">English</a>
<a href="#/zh-cmn/平台概述">简体中文</a>
</nav>
<div id="app"></div>
<script>
// 兼容旧域名
const my_href = new Set(['https://coolkit-technologies.github.io/apiDocs/index.html','https://coolkit-technologies.github.io/apiDocs/index.html#/', 'https://coolkit-technologies.github.io/apiDocs/', 'https://coolkit-technologies.github.io/apiDocs/#/']);
let my_url = window.location.href;
if(my_href.has(my_url) ){
window.location.href = 'https://coolkit-technologies.github.io/eWeLink-API/#/'
}
window.$docsify = {
name: {
'/zh-cmn/': '酷宅开放平台 4.0',
'/en/': 'CoolKit Open Platform 4.0'
},
nameLink: {
'/zh-cmn/': '#/zh-cmn/平台概述',
'/en/': '#/en/PlatformOverview'
},
repo: '',
coverpage: true,
onlyCover: true,
search: 'auto', // 默认值
search : [
'/zh-cmn',
'/en' // => /README.md
],
loadSidebar: true,
autoHeader: false,
subMaxLevel: 3,
notFoundPage: {
'/': 'zh-cmn/_404.md',
'/zh-cmn': 'zh-cmn/_404.md',
'/en': 'en/_404.md'
},
formatUpdated: '{MM}/{DD} {HH}:{mm}',
search: {
paths: 'auto',
placeholder: {
'/zh-cmn/': 'Search',
'/en/': 'Search'
},
noData: {
'/zh-cmn/': '找不到结果',
'/en/': 'No Results'
},
},
}
</script>
<!-- <script src="//unpkg.com/docsify/lib/docsify.min.js"></script> -->
<!-- <script src="https://unpkg.com/docsify/lib/plugins/search.js"></script> -->
<script src="./media/js/docsify_4.11.4.js"></script>
<script src="./media/js/search.js"></script>
</body>
</html>