-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (52 loc) · 1.72 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"> <meta name="description" content="Description">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="Keywords" content="薄荷,薄荷前端,前端,文档">
<meta name="description" content="薄荷前端文档">
<link rel="shortcut icon" type="image/png" href="//up.boohee.cn/house/u/fe/logo/BooheeFE.png">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<title>Docs</title>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: '薄荷前端',
nameLink: 'https://github.com/BooheeFE',
logo: './_assets/BooheeFE_200.png',
repo: 'https://github.com/BooheeFE/docs',
coverpage: true,
loadSidebar: true,
subMaxLevel: 3,
search: {
noData: {
'/': '没有相关内容'
},
placeholder: {
'/': '搜索'
}
},
basePath: '/docs/',
plugins: [
function (hook, vm) {
hook.beforeEach(function (html) {
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
url = 'https://github.com/BooheeFE/docs/blob/master/docs/' + vm.route.file
}
var editHtml = '[:memo: Edit On Github](' + url + ')\n'
return editHtml + html
})
}
]
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
</body>
</html>