This commit is contained in:
2025-06-06 16:09:18 +08:00
parent 7aecfe4025
commit ca345f2c29

View File

@ -15,12 +15,17 @@
window.$docsify = { window.$docsify = {
name: '<img src="/_media/logo.png" style="width:50px; height:auto;" alt="">', name: '<img src="/_media/logo.png" style="width:50px; height:auto;" alt="">',
repo: 'https://git.tool.dwoodauto.com/ykxiao/docsify-jsonrpc.git', repo: 'https://git.tool.dwoodauto.com/ykxiao/docsify-jsonrpc.git',
subMaxLevel: 2,
formatUpdated: '{MM}/{DD} {HH}:{mm}', formatUpdated: '{MM}/{DD} {HH}:{mm}',
routerMode: 'history', routerMode: 'history',
subMaxLevel: 2,
loadSidebar: '_sidebar.md', loadSidebar: '_sidebar.md',
basePath: '/', // 保证路径正确 basePath: '/', // 保证路径正确
// 添加 alias 配置来共用侧边栏
alias: {
'/.*/_sidebar.md': '/_sidebar.md'
},
search: { search: {
maxAge: 86400000, // 过期时间,单位毫秒,默认一天 maxAge: 86400000, // 过期时间,单位毫秒,默认一天
paths: [], // or 'auto' paths: [], // or 'auto'