Skip to content

Commit 390bc2a

Browse files
authored
支持自动转换相对链接 (#324)
1 parent 47f39cd commit 390bc2a

12 files changed

Lines changed: 54 additions & 19 deletions

File tree

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
---
2-
layout: splash
3-
---
4-
5-
<div class="notice--danger">
6-
<h1 id="">404</h1>
7-
<p><strong>页面不存在</strong></p>
8-
</div>
1+
---
2+
layout: splash
3+
---
4+
5+
<div class="notice--danger">
6+
<h1 id="">404</h1>
7+
<p><strong>页面不存在</strong></p>
8+
</div>

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ end
3030
gem "wdm", "0.2.0", :platforms => [:windows]
3131

3232
gem "http_parser.rb", "0.8.0", :platforms => [:jruby]
33+
34+
# plugin dependencies
35+
gem "nokogiri", "1.18.10"
36+
gem "addressable", "2.8.7"

_docs/contribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ author: huanghongxun
66

77
如果你认为你有能力为 HMCL 添加高质量的帮助文档,或希望修改错误,你可以到 [https://github.com/HMCL-dev/HMCL-docs](https://github.com/HMCL-dev/HMCL-docs) 仓库中发 Pull Request,或者提 Issue。
88

9-
或者你可以进入我们的 [Discord](https://discord.gg/jVvC7HfM6U)[HMCL 用户群](/groups.html) 群以向 HMCL 反馈。
9+
或者你可以进入我们的 [Discord](https://discord.gg/jVvC7HfM6U)[HMCL 用户群](/_docs/groups.md) 群以向 HMCL 反馈。

_docs/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ contributors:
7878
- [CurseForge](https://www.curseforge.com/minecraft/search?class=mc-mods)
7979
- [Modrinth](https://modrinth.com/mods)
8080

81-
HMCL 自动安装与使用模组教程: [跳转](/launcher/auto-installing.html)
81+
HMCL 自动安装与使用模组教程: [跳转](/_launcher/auto-installing.md)
8282

8383
#### 安装模组后游戏报错怎么办
8484

8585
安装模组后游戏无法启动或崩溃是常见的情况,通常是模组冲突或缺少前置模组导致的。别担心,大部分问题都能轻松解决。
8686

87-
在 HMCL《自动安装与模组下载简介》的末尾讲到了常用的解决方法: [跳转](/launcher/auto-installing.html#%E5%AE%89%E8%A3%85-mod-%E5%90%8E%E6%B8%B8%E6%88%8F%E6%8A%A5%E9%94%99%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8)
87+
在 HMCL《自动安装与模组下载简介》的末尾讲到了常用的解决方法: [跳转](/_launcher/auto-installing.md#安装-mod-后游戏报错无法启动)
8888

89-
或者前往模组包报错排查手册中查看: [跳转](/modpack/error-handbook.html)
89+
或者前往模组包报错排查手册中查看: [跳转](/_modpack/error-handbook.md)
9090

9191
如果无法解决错误,尝试 [寻求帮助](help.html)
9292

_docs/groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ contributors:
3131

3232
## 报错崩溃交流群
3333

34-
如果你遇到了游戏非正常退出问题,欢迎加入报错崩溃交流群咨询解决方案:[Minecraft 报错崩溃交流群](/crash-support-group.html)
34+
如果你遇到了游戏非正常退出问题,欢迎加入报错崩溃交流群咨询解决方案:[Minecraft 报错崩溃交流群](/_docs/crash-support-group.md)
3535

3636
**本群仅处理游戏报错崩溃问题,无关话题请前往其他群聊讨论。**
3737

_docs/help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: zkitefly
88

99
Hello Minecraft! Launcher 的官方 QQ 群聊。
1010

11-
[点击前往](/groups.html)
11+
[点击前往](/_docs/groups.md)
1212

1313
## Discord 频道
1414

_launcher/auto-installing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ HMCL 内置了 CurseForge 和 Modrinth 下载源的搜索和下载功能, 目前
6868

6969
#### OptiFine
7070

71-
[详情请查阅此](/launcher/shader.html)
71+
[详情请查阅此](/_launcher/shader.md)
7272

7373
### 手动安装
7474

_launcher/fabric_and_optifine_install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ OptiFine [页面](https://optifine.net/downloads) 操作:
5454

5555
OptiFine 非官方 [中文页面](https://optifine.cn/downloads) 操作:
5656

57-
![OptiFine非官方中文页面操作](/assets/img/docs/fabric_and_optifine_install/3.png)
57+
<!-- ![OptiFine非官方中文页面操作](/assets/img/docs/fabric_and_optifine_install/3.png) -->
5858

5959
#### 安装
6060

_launcher/shader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ contributors:
4242

4343
### 方式四:OptiFine 与 Mod 加载器共存
4444

45-
[ OptiFine 官网](https://www.optifine.net/)上下载的 Jar 文件本身也可作为 Mod 被加载,可以用 Java 运行下载的文件并导出 Mod 版本。Mod 安装具体方法见 [ Mod 安装教程](auto-installing.html)
45+
[ OptiFine 官网](https://www.optifine.net/)上下载的 Jar 文件本身也可作为 Mod 被加载,可以用 Java 运行下载的文件并导出 Mod 版本。Mod 安装具体方法见 [ Mod 安装教程](/_launcher/auto-installing.md)
4646

4747
注意:
4848

_modpack/error-handbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ author: LIPiston
4141
...
4242
```
4343

44-
我们极力推荐您打开版本隔离,因为这样能避免模组之间的一部分冲突 [跳转](/launcher/global-version-isolation.html)
44+
我们极力推荐您打开版本隔离,因为这样能避免模组之间的一部分冲突 [跳转](/_launcher/isolation.md)
4545

4646
## 简单排查
4747

0 commit comments

Comments
 (0)