docs
parent
b5b74c4724
commit
10bb419ae1
|
@ -0,0 +1 @@
|
||||||
|
/* /index.html 200
|
|
@ -7,7 +7,7 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<meta charset="UTF-8" />
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -37,29 +37,42 @@
|
||||||
color: 'rgb(90,90,90)',
|
color: 'rgb(90,90,90)',
|
||||||
language: 'chinese'
|
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') {
|
if (typeof navigator.serviceWorker !== 'undefined') {
|
||||||
navigator.serviceWorker.register('sw.js')
|
navigator.serviceWorker.register('sw.js')
|
||||||
}
|
}
|
||||||
|
console.log(window.Docsify.version)
|
||||||
</script>
|
</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/docsify-copy-code"></script>
|
||||||
<!-- 代码高亮 -->
|
<!-- 代码高亮 -->
|
||||||
<script src="//fastly.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
|
<script src="//fastly.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
|
||||||
|
|
||||||
<!-- emoji -->
|
<!-- 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="//unpkg.com/docsify-count/dist/countable.js"></script>
|
||||||
|
|
||||||
<script src="//fastly.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue