Skip to content

Commit f1f0341

Browse files
committed
Update index.html
1 parent 3d198c0 commit f1f0341

File tree

1 file changed

+25
-14
lines changed

1 file changed

+25
-14
lines changed

index.html

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<title>JavaGuide</title>
67
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
78
<meta name="description" content="Description">
8-
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
9+
<meta name="viewport"
10+
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
911
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
1012
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/prism.css">
1113
</head>
14+
1215
<body>
1316
<div id="app"></div>
1417
<script>
1518
window.$docsify = {
1619
name: 'JavaGuide',
1720
repo: 'https://github.com/Snailclimb/JavaGuide',
18-
maxLevel: 3,//最大支持渲染的标题层级
19-
coverpage: true,//封面,_coverpage.md
20-
auto2top: true,//切换页面后是否自动跳转到页面顶部
21-
//ga: 'UA-138586553-1',
22-
//logo: 'https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-3logo-%E9%80%8F%E6%98%8E.png' ,
23-
search: {
24-
//maxAge: 86400000, // 过期时间,单位毫秒,默认一天
21+
maxLevel: 3,//最大支持渲染的标题层级
22+
coverpage: true,//封面,_coverpage.md
23+
auto2top: true,//切换页面后是否自动跳转到页面顶部
24+
//ga: 'UA-138586553-1',
25+
//logo: 'https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-3logo-%E9%80%8F%E6%98%8E.png' ,
26+
search: {
27+
//maxAge: 86400000, // 过期时间,单位毫秒,默认一天
2528
paths: 'auto',
26-
placeholder: '搜索',
27-
noData: '找不到结果',
28-
// 搜索标题的最大程级, 1 - 6
29+
placeholder: '搜索',
30+
noData: '找不到结果',
31+
// 搜索标题的最大程级, 1 - 6
2932
depth: 3,
30-
},
31-
33+
},
34+
plugins: [
35+
EditOnGithubPlugin.create('https://github.com/Snailclimb/JavaGuide/tree/master/docs')
36+
],
37+
3238
}
3339
</script>
3440
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
@@ -40,5 +46,10 @@
4046
<script src="//unpkg.com/docsify" data-ga="UA-138586553-1"></script>
4147
<script src="//unpkg.com/docsify/lib/plugins/ga.js"></script>
4248
-->
49+
<!-- 复制到剪贴板 -->
50+
<script src="//unpkg.com/docsify-copy-code"></script>
51+
<!-- docsify-edit-on-github -->
52+
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
4353
</body>
44-
</html>
54+
55+
</html>

0 commit comments

Comments
 (0)