Repository navigation
feat: 新增官网的框架与首页 - #92
Merged
Merged
Conversation
This was referenced Nov 20, 2026
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.
新增官网:
website/下用 Astro 与 Starlight 搭的站点,这次带来整站的框架与首页。手册的 40 页先只有标题与简介,正文、截图与其余语言的翻译由后续的 PR 补上。改动
Localizable.strings(:ui[…]与UiLabel),官网用到的资源键改名或删除时构建失败::screenshot),每个画面要有 8 种语言 × 2 种外观,缺一张构建就失败;截图存进 Git LFS,这次只带首页用到的四个画面scripts/make-icon/的绘制脚本画成 SVGmise run website:dev与mise run website:build:后者按锁文件安装依赖,运行自测,检查类型与站内链接,再构建;Node 只为这两个 task 安装website.yml:PR 上只构建,推送到main后发布到 GitHub Pages验证
mise run website:build通过:自测 33 条,类型检查 0 错误,329 页,站内链接全部有效未验证
website.yml的 “发布” 一步注意
main上的 “发布” 一步会失败;启用(Source 选 GitHub Actions)之后才上线,上线时手册各页还只有标题