mirror of
https://github.com/zhigang1992/docsify.git
synced 2026-03-30 23:19:39 +08:00
feat: add search, close #43
This commit is contained in:
19
dev.html
19
dev.html
@@ -6,7 +6,24 @@
|
||||
<link rel="stylesheet" href="/themes/vue.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<a href="#/">En</a>
|
||||
<a href="#/zh-cn">中文</a>
|
||||
</nav>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
<script src="/lib/docsify.js" data-repo="qingwei-li/docsify" data-name="docsify" data-auto2top></script>
|
||||
<script>
|
||||
window.$docsify = {
|
||||
search: {
|
||||
maxAge: 0
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script
|
||||
src="/lib/docsify.js"
|
||||
data-repo="qingwei-li/docsify"
|
||||
data-name="docsify"
|
||||
data-base-path="docs/"
|
||||
data-auto2top></script>
|
||||
<script src="/lib/plugins/search.js"></script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user