Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamkaka authored Jan 27, 2024
1 parent 8d3242f commit 8566488
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,53 +34,6 @@
navigator.serviceWorker.register('sw.js')
}
</script>
<script>
window.$docsify = {
search: 'auto', // 默认值

search : [
'/', // => /README.md
'/v2', // => /v2.md

],

// 完整配置参数
search: {
maxAge: 86400000, // 过期时间,单位毫秒,默认一天
paths: [], // or 'auto'
placeholder: '搜索',


noData: 'No Results!',

// 支持本地化
noData: {
'/zh-cn/': '找不到结果',
'/': 'No Results'
},

// 搜索标题的最大层级, 1 - 6
depth: 2,

hideOtherSidebarContent: false, // 是否隐藏其他侧边栏内容



// 使用不同的索引作为路径前缀(namespaces)
// 注意:仅适用于 paths: 'auto' 模式
//
// 初始化索引时,我们从侧边栏查找第一个路径
// 如果它与列表中的前缀匹配,我们将切换到相应的索引
pathNamespaces: ['/zh-cn', '/ru-ru', '/ru-ru/v1'],

// 您可以提供一个正则表达式来匹配前缀。在这种情况下,
// 匹配到的字符串将被用来识别索引
pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/
}
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>


</html>

0 comments on commit 8566488

Please sign in to comment.