Repository navigation
docs: 官网改为 Anthropic 风格的暖色版式并重写文案,所有页面补上 SpaceOS 9 菜单 - #1
Merged
Merged
Conversation
版式 - 暖米色底、近黑暖灰字、陶土色点缀;标题用衬线,正文用无衬线 - 顶部导航 + 下拉菜单(下载、存档)、首屏大标题、分区留白、扁平色块 - 页脚改为站点地图;去掉 3D 架构图、发光、滚动动效和卡片图标 - 配色值参考第三方整理的 Anthropic 色板,不是官方数据,用对比度检查兜底 文案 - 去掉口号式标题和空泛形容,改用版本号、路径、命令和边界条件 - 保留所有“已验证 / 未验证”的标注 - 存档页的提示改为指向 PySpOS 和 SpaceOS 9(原来只写 PySpOS) - 配置要求页补上 SpaceOS 9 菜单缺失的根因与修复 - 8 个页面各抄一份导航,新增 SpaceOS 9 时漏改 - 新增 tools/sync_docs_chrome.py:页眉、菜单、页脚、CSS/JS 版本号只在这里定义, 由页面里的标记区间生成;check_docs_html 校验各页与它一致,并断言每页都有 SpaceOS 9 入口 顺带修复 - check_docs_html 不认识首页的 SpaceOS 9,CI 的 Docs 任务和 tests/web 已经是红的 - ota/releases.html 的兜底变量名与 build_update.py 约定不一致,同步一直在静默跳过 - 版本历史页的更新内容改成按行渲染的列表 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SdLheqvbhbobVxS1NvgLpw
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.
做了什么
重做
docs/下的官网页面:版式改成 Anthropic 风格,文案按"人话"重写,所有页面补上 SpaceOS 9 菜单。版式
文案
菜单缺失的根因与修复
8 个页面各抄一份导航,新增 SpaceOS 9 时漏改。
新增
tools/sync_docs_chrome.py:页眉、菜单、页脚、CSS/JS 版本号只在这里定义,由页面里的标记区间生成。check_docs_html校验各页与它一致,并断言每页都有 SpaceOS 9 入口。新增页面时:加进脚本里的菜单列表,运行python tools/sync_docs_chrome.py。顺带修复
check_docs_html不认识首页的 SpaceOS 9,CI 的 Docs 任务和tests/web已经是红的ota/releases.html的兜底变量名与build_update.py约定不一致,同步一直在静默跳过,现已对上验证
check_tokens_contrast/check_design_layer/check_docs_html/check_ota_manifest全部通过pytest tests/web:4 passed;ruff check tools/ build_update.py通过check_docs_html会报红,已恢复需要注意
reports/web-refresh-20261011/记录的是上一版设计,未改动docs/vortexglass.md、docs/services.md是开发文档,未改动Generated by Claude Code