Skip to content

Conversation

@neveler
Copy link
Contributor

@neveler neveler commented Oct 16, 2025

Warning

改动较大,未经充分测试

  • 提取版本信息到 _data
  • 更新日志添加 root_version 信息,路径由 /changelog/xxx 迁移至 /changelogs/xxx,为避免影响客户端获取更新日志,旧链接页面仅保留 nowchange nowpreview 两个版本的更新日志,用户访问旧链接会自动跳转至新链接。
  • 优化 _data/navigation.yml_pages 中的页面导航添加到主导航等
  • 优化 _pages/crash-support-group.md 中弹出层样式
  • 将集合页面迁移至 _pages/collections
  • index.md 迁移至 _pages
  • 添加重定向插件
  • 删除集合 docs eula,将集合内的文档移动至 _pages 并通过重定向插件链接旧地址

本次改动尝试使用以下方式实现在 md 中显示而产物中忽略
参考: https://github.com/neveler/HMCL-docs/blob/be7d516e0b392a07a8c46b79114c9c737be0efc8/_pages/changelog/dev.md

<!--{% comment %}-->
[!NOTE]
md 中显示而产物中忽略
<!--{% endcomment %}-->

本次改动尝试使用以下方式实现在产物中显示而 md 中忽略
参考: https://github.com/neveler/HMCL-docs/blob/be7d516e0b392a07a8c46b79114c9c737be0efc8/_pages/index.md

<!----{{ '>' }}
<script>location = "/"</script>
{{ '<' }}!---->

@neveler neveler changed the title 优化 _pages 文件夹 优化文章结构 Oct 17, 2025
@neveler neveler marked this pull request as draft October 20, 2025 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant