diff --git a/index.html b/index.html index 25b76e9..fbc7a1a 100644 --- a/index.html +++ b/index.html @@ -15,12 +15,17 @@ window.$docsify = { name: '', repo: 'https://git.tool.dwoodauto.com/ykxiao/docsify-jsonrpc.git', - subMaxLevel: 2, 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'