2023-02-05 17:40:22 +00:00
|
|
|
<!-- index.html -->
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
|
|
<meta charset="UTF-8" />
|
2023-02-06 03:21:16 +00:00
|
|
|
<link href="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/themes/vue.min.css" rel="stylesheet">
|
2023-02-05 17:40:22 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="app">EasyImage2.0 简单图床文档...</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
window.$docsify = {
|
|
|
|
name: '简单图床 | 文档',
|
|
|
|
// homepage: '../README.md',
|
|
|
|
repo: 'icret/EasyImages2.0',//渲染github挂件 配置本地或线上地址
|
|
|
|
search: 'auto', //默认的全局搜索 详细参数请看插件文档
|
|
|
|
loadSidebar: true, //开启侧边栏 使用_sidebar.md
|
|
|
|
subMaxLevel: 1, //侧边栏层级最大层级2
|
|
|
|
loadNavbar: true, //加载导航栏 需要编写_navbar.md
|
|
|
|
autoHeader: true, //配合loadSidebar 自动添加标题
|
2023-02-05 18:11:23 +00:00
|
|
|
alias: {
|
|
|
|
'/.*/_sidebar.md': '/_sidebar.md'
|
|
|
|
},
|
2023-02-05 17:40:22 +00:00
|
|
|
copyCode: {
|
|
|
|
buttonText: '复制',
|
|
|
|
errorText: '错误',
|
|
|
|
successText: '复制成功'
|
|
|
|
},
|
|
|
|
count: {
|
|
|
|
countable: true,
|
|
|
|
fontsize: '0.9em',
|
|
|
|
color: 'rgb(90,90,90)',
|
|
|
|
language: 'chinese'
|
|
|
|
},
|
2023-02-06 03:21:16 +00:00
|
|
|
plugins: [
|
|
|
|
function (hook) {
|
|
|
|
var footer = [
|
|
|
|
'<hr/>',
|
|
|
|
'<footer>',
|
|
|
|
'<span>Copyright © 2018 <a href="https://github.com/icret/EasyImages2.0" target="_blank">EasyImage</a> Developer By <a href="https://github.com/icret" target="_blank">Icret</a>.</span>',
|
|
|
|
'</footer>'
|
|
|
|
].join('');
|
|
|
|
|
|
|
|
hook.afterEach(function (html) {
|
|
|
|
return html + footer;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
]
|
2023-02-05 17:40:22 +00:00
|
|
|
}
|
|
|
|
// 离线模式
|
|
|
|
if (typeof navigator.serviceWorker !== 'undefined') {
|
|
|
|
navigator.serviceWorker.register('sw.js')
|
|
|
|
}
|
2023-02-06 03:21:16 +00:00
|
|
|
console.log(window.Docsify.version)
|
2023-02-05 17:40:22 +00:00
|
|
|
</script>
|
2023-02-06 03:21:16 +00:00
|
|
|
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/docsify.min.js"></script>
|
2023-02-05 17:40:22 +00:00
|
|
|
<!-- 全文搜索插件 -->
|
2023-02-06 03:21:16 +00:00
|
|
|
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/search.min.js"></script>
|
2023-02-05 17:40:22 +00:00
|
|
|
<!-- 图片缩放插件 -->
|
2023-02-06 03:21:16 +00:00
|
|
|
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/zoom-image.min.js"></script>
|
2023-02-05 17:40:22 +00:00
|
|
|
<!-- 代码拷贝插件 -->
|
|
|
|
<script src="//fastly.jsdelivr.net/npm/docsify-copy-code"></script>
|
2023-02-05 18:11:23 +00:00
|
|
|
<!-- 代码高亮 -->
|
2023-02-06 02:39:41 +00:00
|
|
|
<script src="//fastly.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
|
2023-02-05 17:40:22 +00:00
|
|
|
<!-- emoji -->
|
2023-02-06 03:21:16 +00:00
|
|
|
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/emoji.min.js"></script>
|
2023-02-05 17:40:22 +00:00
|
|
|
<!-- 外链脚本 -->
|
2023-02-06 03:21:16 +00:00
|
|
|
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/external-script.min.js"></script>
|
2023-02-05 17:40:22 +00:00
|
|
|
<!-- 字数统计 -->
|
|
|
|
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|