Refactor documentation layout and add blog module#118
Merged
Conversation
- 将发布日志列表改为网格布局(移动端1列,平板2列,桌面3列) - 移除列表页的左侧版本导航,使用全宽布局 - 在所有发布日志 Markdown 文件的 frontmatter 中添加日期和描述 - 美化版本卡片样式:渐变背景、圆形箭头按钮、日历图标、悬停动画 - 修复顶部菜单发布日志选中状态,支持子路径匹配 - 优化 releases.ts 数据结构,手动维护版本元数据
- 移除 GitHub badge,直接显示最新版本号 - 列出所有版本及其发布日期 - 为每个版本提供 Windows(.exe 和 .msi)和 macOS(.dmg)下载链接 - 标记最新版本,方便用户识别 - 每个版本可跳转到对应的发布说明页面 - 优化卡片布局和交互效果
- 修复 releases.ts 自动从 Markdown frontmatter 读取 date 和 description - 无需手动维护版本数据,新增版本只需创建 Markdown 文件 - 在发布日志列表页为最新版本添加最新标签 - 保持与下载页面的视觉一致性
- 在 releases.ts 中将 ISO 8601 格式的日期转换为 YYYY-MM-DD - 移除不必要的日期格式化函数 - 统一日期显示格式
- 创建博客列表页和详情页布局 - 支持博客 frontmatter 元数据(title, date, author, description, tags) - 博客详情页包含右侧目录导航(自动提取 h2/h3 标题) - 添加上一篇/下一篇文章导航 - 支持滚动时自动高亮当前阅读位置 - 在顶部导航和页脚添加博客入口 - 响应式布局,大屏显示目录,小屏自动隐藏
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.
No description provided.