Skip to content

Commit c8941fe

Browse files
committed
Create index.html
1 parent 2078ae1 commit c8941fe

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

index.html

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>JavaGuide</title>
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7+
<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+
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
10+
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/prism.css">
11+
</head>
12+
<body>
13+
<div id="app"></div>
14+
<script>
15+
window.$docsify = {
16+
name: 'JavaGuide',
17+
repo: 'https://github.com/Snailclimb/JavaGuide',
18+
maxLevel: 3,//最大支持渲染的标题层级
19+
homepage: 'HomePage.md',
20+
coverpage: true,//封面,_coverpage.md
21+
auto2top: true,//切换页面后是否自动跳转到页面顶部
22+
//logo: 'https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-3logo-透明.png' ,
23+
search: {
24+
//maxAge: 86400000, // 过期时间,单位毫秒,默认一天
25+
paths: 'auto',
26+
placeholder: '搜索',
27+
noData: '找不到结果',
28+
// 搜索标题的最大程级, 1 - 6
29+
depth: 3,
30+
},
31+
32+
}
33+
</script>
34+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
35+
<!--Java代码高亮-->
36+
<script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
37+
<!--全文搜索,直接用官方提供的无法生效-->
38+
<script src="https://cdn.bootcss.com/docsify/4.5.9/plugins/search.min.js"></script>
39+
40+
</body>
41+
</html>

0 commit comments

Comments
 (0)