mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-11-30 11:08:58 +08:00
53 lines
1.4 KiB
HTML
53 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>docsify</title>
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<link rel="stylesheet" href="/themes/vue.css" title="vue">
|
|
<link rel="stylesheet" href="/themes/dark.css" title="dark" disabled>
|
|
<link rel="stylesheet" href="/themes/buble.css" title="buble" disabled>
|
|
<style>
|
|
nav.app-nav li ul {
|
|
min-width: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
<script>
|
|
window.$docsify = {
|
|
alias: {
|
|
'.*?/changelog': 'https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG',
|
|
'/.*/_navbar.md': '/_navbar.md'
|
|
},
|
|
auto2top: true,
|
|
basePath: '/docs/',
|
|
executeScript: true,
|
|
loadNavbar: true,
|
|
loadSidebar: true,
|
|
coverpage: true,
|
|
name: 'docsify',
|
|
subMaxLevel: 0,
|
|
mergeNavbar: true,
|
|
formatUpdated: '{MM}/{DD} {HH}:{mm}',
|
|
plugins: [
|
|
function(hook, vm) {
|
|
hook.beforeEach(function (html) {
|
|
var url = 'https://github.com/QingWei-Li/docsify/blob/master/' + vm.route.file
|
|
var editHtml = '[:memo: Edit Document](' + url + ')\n'
|
|
|
|
return editHtml
|
|
+ html
|
|
+ '\n----\n'
|
|
+ 'Last modified {docsify-updated} '
|
|
+ editHtml
|
|
})
|
|
}
|
|
]
|
|
}
|
|
</script>
|
|
<script src="/lib/docsify.js"></script>
|
|
</html>
|