57 lines
2.0 KiB
HTML
57 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Document</title>
|
|
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
|
<meta name="description" content="Description">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script>
|
|
window.$docsify = {
|
|
name: '<img src="/_media/logo.png" style="width:50px; height:auto;" alt="">',
|
|
repo: 'https://git.tool.dwoodauto.com/ykxiao/docsify-jsonrpc.git',
|
|
formatUpdated: '{MM}/{DD} {HH}:{mm}',
|
|
routerMode: 'history',
|
|
subMaxLevel: 2,
|
|
loadSidebar: '_sidebar.md',
|
|
basePath: '/', // 保证路径正确
|
|
|
|
// 添加 alias 配置来共用侧边栏
|
|
alias: {
|
|
'/.*/_sidebar.md': '/_sidebar.md'
|
|
},
|
|
|
|
search: {
|
|
maxAge: 86400000, // 过期时间,单位毫秒,默认一天
|
|
paths: [], // or 'auto'
|
|
placeholder: '输入关键词搜索',
|
|
|
|
noData: '没有搜索到结果!',
|
|
|
|
// 搜索标题的最大层级, 1 - 6
|
|
depth: 2,
|
|
|
|
hideOtherSidebarContent: false, // 是否隐藏其他侧边栏内容
|
|
|
|
// 避免搜索索引冲突
|
|
// 同一域下的多个网站之间
|
|
namespace: 'website-1',
|
|
|
|
// 您可以提供一个正则表达式来匹配前缀。在这种情况下,
|
|
// 匹配到的字符串将被用来识别索引
|
|
pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/
|
|
}
|
|
}
|
|
</script>
|
|
<!-- Docsify v4 -->
|
|
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
|
</body>
|
|
</html>
|