docsify/index.html

69 lines
2.1 KiB
HTML
Raw Normal View History

2016-11-26 18:37:17 +08:00
<!DOCTYPE html>
<html lang="en">
2016-11-26 18:37:17 +08:00
<head>
<meta charset="UTF-8">
2017-02-12 15:51:26 +08:00
<title>docsify</title>
2017-10-12 00:36:23 +08:00
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
2017-10-30 21:58:33 +08:00
<meta name="viewport" content="width=device-width,initial-scale=1">
2017-02-19 13:35:12 +08:00
<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>
2017-03-12 08:44:52 +08:00
<style>
nav.app-nav li ul {
min-width: 100px;
}
</style>
2016-11-26 18:37:17 +08:00
</head>
2017-02-05 09:50:08 +08:00
<body>
2016-11-26 18:37:17 +08:00
<div id="app"></div>
<script>
window.$docsify = {
alias: {
'.*?/changelog': 'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG',
'/.*/_navbar.md': '/_navbar.md',
'/zh-cn/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-zh/master/$1',
2018-07-01 19:46:46 +08:00
'/de-de/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-de/master/$1',
'/ru/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1',
'/es/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-es/master/$1'
},
notFoundPage: '_404.html',
auto2top: true,
basePath: '/docs/',
executeScript: true,
loadNavbar: true,
loadSidebar: true,
coverpage: true,
name: 'docsify',
subMaxLevel: 2,
mergeNavbar: true,
formatUpdated: '{MM}/{DD} {HH}:{mm}',
plugins: [
function (hook, vm) {
hook.beforeEach(function (html) {
var url
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
url = 'https://github.com/docsifyjs/docsify/blob/master/' + vm.route.file
}
var editHtml = '[:memo: Edit Document](' + url + ')\n'
return editHtml
+ html
2018-03-07 17:54:50 +08:00
+ '\n\n----\n\n'
+ 'Last modified {docsify-updated} '
+ editHtml
})
}
]
}
</script>
<script src="/lib/docsify.js"></script>
2016-11-26 18:37:17 +08:00
</body>
</html>