We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3222acb commit 6b1807eCopy full SHA for 6b1807e
CHANGELOG.md
@@ -10,6 +10,7 @@
10
- twikoo:切换页面时清理旧评论容器,避免多评论区叠加
11
- twikoo:增加路由令牌,防止旧页面异步回流导致重复评论区
12
- docsify:统一侧边栏到根目录,避免子目录 `_sidebar.md` 404
13
+- docsify:同步 vercel 版本的根目录侧边栏 alias 配置
14
15
### 腾讯云 COS CORS 设置要点
16
- 路径:对象存储 COS → 存储桶 → 安全管理 → 跨域访问 CORS
docs/index_vercelWithTwikoo_20260201.html
@@ -107,6 +107,10 @@
107
// ,repo: 'https://github.com/SICNU-Application/wiki-SICNU'
108
// load DIY SideBar
109
,loadSidebar: true
110
+ // 统一使用根目录侧边栏,避免子目录 404
111
+ ,alias: {
112
+ '/.*/_sidebar.md': '/_sidebar.md'
113
+ }
114
//设置侧边栏的目录名作为正文的标题
115
,autoHeader: true
116
//侧边栏顶部标题
@@ -193,4 +197,4 @@
193
197
<!-- Twikoo评论系统 -->
194
198
<script src="https://cdn.staticfile.org/twikoo/1.6.5/twikoo.all.min.js"></script>
195
199
</body>
196
-</html>
200
+</html>
0 commit comments