mirror of
https://github.com/youthlql/JavaYouth.git
synced 2026-03-13 21:33:42 +08:00
修复docsify失效
This commit is contained in:
43
index.html
43
index.html
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Document</title>
|
<title>JavaYouth</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<meta name="description" content="Description">
|
<meta name="description" content="Description">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||||
@@ -10,12 +10,49 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
<!-- docsify-edit-on-github -->
|
||||||
|
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
name: '',
|
name: 'JavaYouth',
|
||||||
repo: ''
|
repo: 'git@github.com:youthlql/JavaYouth.git',
|
||||||
|
maxLevel: 6,//最大支持渲染的标题层级
|
||||||
|
coverpage: true,
|
||||||
|
auto2top: true,//切换页面后是否自动跳转到页面顶部
|
||||||
|
loadNavbar: true,//导航栏
|
||||||
|
search: {
|
||||||
|
//maxAge: 86400000, // 过期时间,单位毫秒,默认一天
|
||||||
|
paths: 'auto',
|
||||||
|
placeholder: '搜索',
|
||||||
|
noData: '找不到结果',
|
||||||
|
// 搜索标题的最大程级, 1 - 6
|
||||||
|
depth: 6,
|
||||||
|
},
|
||||||
|
// 字数统计
|
||||||
|
count: {
|
||||||
|
countable: true,
|
||||||
|
fontsize: '0.9em',
|
||||||
|
color: 'rgb(90,90,90)',
|
||||||
|
language: 'chinese'
|
||||||
|
},
|
||||||
|
plugins: [
|
||||||
|
EditOnGithubPlugin.create('https://github.com/youthlql/JavaYouth')
|
||||||
|
],
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
|
||||||
|
<!--Java代码高亮-->
|
||||||
|
<script src="//unpkg.com/prismjs/components/prism-java.js"></script>
|
||||||
|
<!--全文搜索,直接用官方提供的无法生效-->
|
||||||
|
<script src="https://cdn.bootcss.com/docsify/4.5.9/plugins/search.min.js"></script>
|
||||||
|
<!-- 复制到剪贴板 -->
|
||||||
|
<script src="//unpkg.com/docsify-copy-code"></script>
|
||||||
|
<!-- 图片缩放 -->
|
||||||
|
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
|
||||||
|
<!-- 表情 -->
|
||||||
|
<script src="//unpkg.com/docsify/lib/plugins/emoji.js"></script>
|
||||||
|
<!-- 字数统计 -->
|
||||||
|
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
|
||||||
<!-- Docsify v4 -->
|
<!-- Docsify v4 -->
|
||||||
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user