pull/141/head
icret 2023-02-06 11:21:16 +08:00
parent b5b74c4724
commit 10bb419ae1
2 changed files with 22 additions and 8 deletions

1
docs/_redirects Normal file
View File

@ -0,0 +1 @@
/* /index.html 200

View File

@ -7,7 +7,7 @@
<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" />
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/docsify/themes/vue.css">
<link href="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/themes/vue.min.css" rel="stylesheet">
</head>
<body>
@ -37,29 +37,42 @@
color: 'rgb(90,90,90)',
language: 'chinese'
},
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;
});
},
]
}
// 离线模式
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
console.log(window.Docsify.version)
</script>
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/docsify.min.js"></script>
<!-- 全文搜索插件 -->
<script src="//fastly.jsdelivr.net/npm/docsify-algolia-search-plugin@1.0.0-beta.5/dist/index.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/search.min.js"></script>
<!-- 图片缩放插件 -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/zoom-image.min.js"></script>
<!-- 代码拷贝插件 -->
<script src="//fastly.jsdelivr.net/npm/docsify-copy-code"></script>
<!-- 代码高亮 -->
<script src="//fastly.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<!-- emoji -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/emoji.min.js"></script>
<!-- 外链脚本 -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/plugins/external-script.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.13.0/plugins/external-script.min.js"></script>
<!-- 字数统计 -->
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
<script src="//fastly.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
</body>
</html>