docs: 新增开发者平台免责声明与 API 许可协议,优化法律文档导航#1066
Merged
Merged
Conversation
- 新增《开发者平台免责声明》《API 许可协议》两份法律文档,HK/SG × en/zh-CN/zh-HK 共 12 个页面 - 新增 legal 索引首页;通过 _category_.json 的 indexLink 字段将分类在侧边栏折叠为单入口 - 法律文档侧边栏顺序统一为 SG 在前、HK 在后 - AppFooter 法律区收敛为单个「协议与免责声明」入口,指向 /legal - 修复文档顶部被固定导航栏遮挡(.VPDoc.has-sidebar 顶部留白) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
新增开发者平台两份法律文档(HK/SG),并优化「法律文件」在站内的导航与布局。
改动
新增法律文档
title提供,与既有 legal 页保持一致legal/index.md索引首页,按 SG / HK 分组索引全部协议侧边栏
gen.ts新增_category_.json的indexLink字段:配置后该分类在侧边栏渲染为指向索引页的单链接、不展开子页面(避免平铺过多);特意不复用语义不同的link字段,避免误伤quote/subscribeFooter
/docs/legal布局修复
.VPDoc.has-sidebar增加顶部留白)🤖 Generated with Claude Code