forked from docsifyjs/docsify
-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
72 lines (66 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Docsify</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css">
<link href="http://cdn.bootcss.com/highlight.js/9.9.0/styles/github.min.css" rel="stylesheet">
<link href="http://cdn.bootcss.com/prism/9000.0.1/themes/prism.min.css" rel="stylesheet">
<link href="http://cdn.bootcss.com/prism/9000.0.1/plugins/line-numbers/prism-line-numbers.min.css" rel="stylesheet">
<link rel="stylesheet" href="/template/assets/css/vue.css">
<style>
nav.app-nav li ul {
min-width: 100px;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
search: {
placeholder: '搜索',
noData: "无结果"
},
alias: {
'/.*/_sidebar.md': '/_sidebar.md'
},
auto2top: true,
repo: 'zhangjikai/docsify',
basePath: '/template/',
executeScript: true,
loadNavbar: false,
loadSidebar: true,
coverpage: false,
name: '',
subMaxLevel: 2,
mergeNavbar: false,
formatUpdated: '{YYYY}-{MM}-{DD}',
showLevel: true,
tocLevel: 3,
plugins: [
//window.DocsifyCopyCodePlugin.init()
]
}
</script>
<script src="template/assets/docsify.min.js"></script>
<script src="template/assets/plugins/highlight.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script>
const gitalk = new Gitalk({
clientID: '50e084bdd0cdc796bc78',
clientSecret: '872e784b58329de3eab105528488e78358758ef9',
repo: 'comment',
owner: 'zhangjikai',
admin: ['zhangjikai'],
distractionFreeMode: false
})
</script>
</body>
</html>