Compare commits

..

4 Commits

Author SHA1 Message Date
neveler
df53ff9f4f
构建前执行分支合并 (#320)
All checks were successful
continuous-integration/drone/push Build is passing
2025-11-02 22:32:51 +08:00
neveler
70ba60e045
为预览站点添加提示信息 (#319)
Co-authored-by: Burning_TNT <pangyl08@163.com>
2025-11-02 22:32:42 +08:00
neveler
c852e380d8
添加重定向插件 (#305) 2025-11-02 22:30:46 +08:00
fbcfa2aa2e
Add 3.8.0.306 changelog (#321)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 22:01:30 +08:00
8 changed files with 46 additions and 28 deletions

View File

@ -192,12 +192,17 @@ jobs:
outputs: outputs:
artifact-id: ${{ steps.upload-site.outputs.artifact-id }} artifact-id: ${{ steps.upload-site.outputs.artifact-id }}
steps: steps:
- name: Checkout PR - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
ref: ${{ needs.preview-create-init.outputs.sha }} fetch-depth: 0
repository: ${{ needs.preview-create-init.outputs.repository }} - name: Merge PR
fetch-depth: 1 run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch https://github.com/${{ needs.preview-create-init.outputs.repository }} ${{ needs.preview-create-init.outputs.sha }}
git merge --squash ${{ needs.preview-create-init.outputs.sha }} --no-edit
git commit -m "Merge #${{ env.GITHUB_PR_NUMBER }} for preview build"
- name: Setup Ruby - name: Setup Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
@ -210,6 +215,8 @@ jobs:
echo "baseurl: ${{ needs.preview-create-init.outputs.pathname }}/PR${{ env.GITHUB_PR_NUMBER }}" >> _action.yml echo "baseurl: ${{ needs.preview-create-init.outputs.pathname }}/PR${{ env.GITHUB_PR_NUMBER }}" >> _action.yml
echo "source: ${{ github.workspace }}" >> _action.yml echo "source: ${{ github.workspace }}" >> _action.yml
echo "destination: /home/runner/site" >> _action.yml echo "destination: /home/runner/site" >> _action.yml
echo "preview:" >> _action.yml
echo " pr-number: ${{ env.GITHUB_PR_NUMBER }}" >> _action.yml
bundle exec jekyll build --config _config.yml,_action.yml bundle exec jekyll build --config _config.yml,_action.yml
- id: upload-site - id: upload-site
name: Upload Site name: Upload Site

View File

@ -16,6 +16,7 @@ group :jekyll_plugins do
gem "jekyll-gist", "1.5.0" gem "jekyll-gist", "1.5.0"
gem "jekyll-feed", "0.17.0" gem "jekyll-feed", "0.17.0"
gem "jekyll-include-cache", "0.2.1" gem "jekyll-include-cache", "0.2.1"
gem "jekyll-redirect-from", "0.16.0"
end end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem

View File

@ -0,0 +1,15 @@
---
---
详细版本介绍: [cv43585405](https://www.bilibili.com/opus/1130662046380064777)
- GP-4723: 将陶瓦联机更新至 0.3.13 (by Burning_TNT)
- GP-4742: 更新 Chunkbase 种子地图链接 (by Wulian233)
- GP-4735: 在不支持的平台上打开陶瓦联机页面时弹出提示 (by Glavo)
- GP-4734: 调整模组管理页面“模组文件夹”按钮的文本 (by 3gf8jv4dv)
- GP-4743: 优化检查更新日志的方式 (by Glavo)
- GP-4749: 恢复对 JavaFX 14 的兼容性 (by Glavo)
错误修复:
- GP-4736: 修复 FreeBSD x86-64 平台上错误地将所有版本视作未经测试的版本的问题 (by Glavo)

View File

@ -66,13 +66,15 @@ plugins:
- jekyll-gist - jekyll-gist
- jekyll-feed - jekyll-feed
- jekyll-include-cache - jekyll-include-cache
- jekyll-redirect-from
# minimal-mistakes (mimic GitHub Pages with --safe) # minimal-mistakes (mimic GitHub Pages with --safe)
# whitelist: whitelist:
# - jekyll-paginate - jekyll-paginate
# - jekyll-sitemap - jekyll-sitemap
# - jekyll-gist - jekyll-gist
# - jekyll-feed - jekyll-feed
# - jekyll-include-cache - jekyll-include-cache
- jekyll-redirect-from
# Conversion # Conversion
# markdown: kramdown # markdown: kramdown

View File

@ -1,6 +1,8 @@
--- ---
title: 下载 HMCL 和 Minecraft 依赖的 Java title: 下载 HMCL 和 Minecraft 依赖的 Java
date: 2023-09-05 14:00:00 +0800 date: 2023-09-05 14:00:00 +0800
redirect_from:
- /downloads/loongnix.html
--- ---
龙芯平台存在 “**新世界**” 和 “**旧世界**” 两个 ABI不同 ABI 的 Java 暂时互不兼容。 龙芯平台存在 “**新世界**” 和 “**旧世界**” 两个 ABI不同 ABI 的 Java 暂时互不兼容。

View File

@ -1,17 +0,0 @@
---
title: 下载适用于龙芯的 HMCL 和 Minecraft 依赖的 Java
date: 2022-12-03 17:30:00 +0800
---
页面已移动至 [/downloads/linux/loongarch64](/downloads/linux/loongarch64.html)
---
The page has moved to [/downloads/linux/loongarch64](/downloads/linux/loongarch64.html)
<script>
/* 等待 5 秒. */
setTimeout(function() {
window.location.href = "{{ '/downloads/linux/loongarch64.html' | relative_url }}";
}, 5000);
</script>

View File

@ -11,6 +11,10 @@ layout: compress
</head> </head>
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}" dir="{% if site.rtl %}rtl{% else %}ltr{% endif %}"> <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}" dir="{% if site.rtl %}rtl{% else %}ltr{% endif %}">
{% if site.preview and site.preview.pr-number %}
<div class="notice--warning text-center m0">当前站点为预览构建而非官方文档,如需反馈问题请前往 <a href="https://github.com/HMCL-dev/HMCL-docs/pull/{{ site.preview.pr-number }}">#{{ site.preview.pr-number }}</a> 反馈。</div>
{% endif %}
{% include_cached skip-links.html %} {% include_cached skip-links.html %}
{% include_cached masthead.html %} {% include_cached masthead.html %}
@ -34,4 +38,4 @@ layout: compress
{% include scripts.html %} {% include scripts.html %}
</body> </body>
</html> </html>

View File

@ -10,3 +10,7 @@ a, span, code, kbd, pre, em, strong, b, i {
word-wrap: break-word; word-wrap: break-word;
word-break: break-word; word-break: break-word;
} }
.m0 {
margin: 0 !important;
}