docsify/index.html

85 lines
2.8 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: {
2019-04-14 05:22:36 +08:00
'.*?/awesome': 'https://raw.githubusercontent.com/docsifyjs/awesome-docsify/master/README.md',
'.*?/changelog': 'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG.md',
'/.*/_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'
},
auto2top: true,
basePath: '/docs/',
2019-04-14 05:22:36 +08:00
coverpage: true,
executeScript: true,
loadSidebar: true,
2019-04-14 05:22:36 +08:00
loadNavbar: true,
mergeNavbar: true,
2019-04-14 05:22:36 +08:00
maxLevel: 4,
subMaxLevel: 2,
name: 'docsify',
search: {
noData: {
'/de-de/': 'Keine Ergebnisse!',
'/zh-cn/': '没有结果!',
'/': 'No results!'
},
paths: 'auto',
placeholder: {
'/de-de/': 'Suche',
'/zh-cn/': '搜索',
'/': 'Search'
}
},
formatUpdated: '{MM}/{DD} {HH}:{mm}',
plugins: [
function (hook, vm) {
hook.beforeEach(function (html) {
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
2019-04-14 05:22:36 +08:00
url = 'https://github.com/docsifyjs/docsify/blob/master/docs/' + 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'
2019-04-14 05:22:36 +08:00
+ '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
})
2019-04-14 05:22:36 +08:00
},
]
}
</script>
<script src="/lib/docsify.js"></script>
2019-04-14 05:22:36 +08:00
<script src="/lib/plugins/search.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-markdown.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-nginx.min.js"></script>
2016-11-26 18:37:17 +08:00
</body>
</html>