-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (152 loc) · 5.28 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"/>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css"/>
</head>
<body>
<div id="app">
Please wait...
</div>
<!-- Pre Plugins -->
<script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github"></script>
<script>
window.$docsify = {
name: '夏阳',
nameLink: "/",
repo: 'https://github.com/Mr-XiaYang/site',
logo: "/_media/logo_56.png",
themeColor: "#f6590a",
auto2top: true,
autoHeader: true,
nativeEmoji: true,
notFoundPage: true,
relativePath: true,
cornerExternalLinkTarget: "_blank",
formatUpdated: '{YY}/{MM}/{DD} {HH}:{mm}',
// routerMode: "hash",
routerMode: "history",
requestHeaders: {
'cache-control': 'max-age=600',
},
loadNavbar: true,
mergeNavbar: true,
loadSidebar: false,
subMaxLevel: 3,
coverpage: true,
onlyCover: true,
plugins: [
EditOnGithubPlugin.create("https://github.com/Mr-XiaYang/site/edit/main", null, "编辑")
],
busuanzi: true,
baiduTjId: "f099efb67da269334192418e66fd1558",
ga: 'UA-XXXXX-Y',
count: {
countable: true,
position: 'top',
margin: '10px',
float: 'right',
fontsize: '0.9em',
color: 'rgb(90,90,90)',
language: 'chinese',
localization: {
words: "",
minute: ""
},
isExpected: true
},
search: {
namespace: 'xiayang',
paths: "auto",
depth: 6,
maxAge: 86400000,
noData: "找不到结果",
placeholder: '搜索',
hideOtherSidebarContent: true,
},
pagination: {
previousText: '上一章',
nextText: "下一章",
crossChapter: true,
crossChapterText: true,
},
'flexible-alerts': {
note: {
label: "注释"
},
tip: {
label: "提示"
},
attention: {
label: "注意"
},
warning: {
label: "警告"
},
},
vueGlobalOptions: {
data() {
}
},
vueComponents: {
"gitalk": {
template: `
<div id="gitalk-container"/>
`,
data() {
return {
gitalk: new Gitalk({
id: location.pathname,
clientID: '6b9f963c4df6ad2f9401',
clientSecret: '14cc90ebbcc7d0337d6ca361e1a88534c96789bd',
repo: 'site', owner: 'Mr-XiaYang', admin: ['Mr-XiaYang'],
distractionFreeMode: false,
})
}
},
mounted() {
this.gitalk.render("gitalk-container")
},
}
}
}
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/external-script.min.js"></script>
<!-- Vue支持 -->
<script src="//cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
<!--搜索插件-->
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js"></script>
<!--评论插件-->
<script src="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>
<!--Latex-->
<script src="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/marked@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
<!--流程图-->
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/graphre.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/nomnoml.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-nomnoml@1/dist/plugin.min.js"></script>
<!--提示-->
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
<!--图片缩放-->
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/zoom-image.min.js"></script>
<!--复制代码-->
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<!--分页-->
<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
<!--字数统计-->
<script src="//cdn.jsdelivr.net/npm/docsify-count@latest/dist/countable.min.js"></script>
<!--阅读次数统计-->
<script src="https://unpkg.com/[email protected]/dist/docsify-busuanzi.min.js"></script>
<!--百度统计-->
<script src="https://unpkg.com/[email protected]/dist/docsify-baidu-tj.min.js"></script>
</body>
</html>