File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 20
20
coverpage : true , //封面,_coverpage.md
21
21
auto2top : true , //切换页面后是否自动跳转到页面顶部
22
22
//logo: 'https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-3logo-透明.png' ,
23
- depth : 4 ,
24
23
search : {
25
- paths : 'auto' ,
26
- placeholder : '搜索' ,
27
- noData : '找不到结果' ,
28
- // Headline depth, 1 - 6
29
- depth : 6
24
+ maxAge : 86400000 , // 过期时间,单位毫秒,默认一天
25
+ paths : 'auto' ,
26
+ placeholder : '搜索' ,
27
+ noData : '找不到结果' ,
28
+ // Headline depth, 1 - 6
29
+ depth : 2
30
30
} ,
31
31
32
32
}
33
33
</ script >
34
34
< script src ="//unpkg.com/docsify/lib/docsify.min.js "> </ script >
35
35
<!--Java代码高亮-->
36
36
< script src ="//unpkg.com/prismjs/components/prism-java.min.js "> </ script >
37
- <!--全文搜索-->
38
- < script src ="//unpkg. com/docsify/lib /plugins/search.js "> </ script >
37
+ <!--全文搜索,直接用官方提供的无法生效 -->
38
+ < script src ="https://cdn.bootcss. com/docsify/4.5.9 /plugins/search.min .js "> </ script >
39
39
40
40
</ body >
41
41
</ html >
You can’t perform that action at this time.
0 commit comments