refactor: OEM 更新日志章节目录改用中性名,消除站点 JS 里的品牌字眼 - #59
Merged
Merged
Conversation
章节目录、urlPrefix 与封面目录不再含第三方品牌字眼:Docusaurus 会把草稿的 doc id(由目录名决定) 写进站点 JS 的 draftIds,用中性目录名后,草稿页面在站点产物里不再留下任何品牌字眼。 发行版 id 与接口文件名(changelog-<id>.json)是客户端读取接口的约定,保持不变;发布流程从本配置读取目录,无需改动。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
变更说明 / Description
中文
12-oem-changelog(中英),urlPrefix改为/more/oem-changelog,封面目录改为static/img/changelog/oem。draftIds。改用中性目录名后,草稿页面在站点产物里不再留下任何第三方品牌字眼。changelog-<id>.json)是客户端读取接口的约定,保持不变;OEM 发布流程从本配置读取目录,主仓无需改动。urlPrefix与封面目录要用中性名。English
12-oem-changelog(zh + en), seturlPrefixto/more/oem-changelogand the cover directory tostatic/img/changelog/oem.draftIds. With a neutral directory name, draft pages leave no third-party brand text in the site output at all.changelog-<id>.json) are the contract the client reads, so they stay unchanged; the OEM release workflow reads the directories from this config, so the main repository needs no change.urlPrefixand cover directories must use neutral names.测试方式 / Test Plan
draftIds为中性的more/oem-changelog/...;公开态构建成功,实际路由/more/oem-changelog/...与接口里的url、封面地址一致 / Real Docusaurus 3.9.2 production builds of a minimal site: the draft build succeeds with 0 output files containing third-party brand text and neutraldraftIds(more/oem-changelog/...); the published build succeeds and the real routes/more/oem-changelog/...match theurland cover URLs in the API.检查清单 / Checklist