diff --git a/_config.yml b/_config.yml index c7aed63..85ad542 100644 --- a/_config.yml +++ b/_config.yml @@ -20,6 +20,7 @@ remote_theme : "mmistakes/minimal-mistakes@4.24.0" minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise" +locale: "zh-CN" title: Hello Minecraft! Launcher 帮助文档 email: hmcl@huangyuhui.net @@ -78,60 +79,7 @@ collections: defaults: - scope: - path: "assets/img" - values: - image: true - - scope: - path: "assets/css" - values: - css: true - - scope: - path: "_docs" - type: docs - values: - layout: single - read_time: false - author_profile: false - share: false - comments: false - sidebar: - nav: "docs" - - scope: - path: "_launcher" - type: launcher - values: - layout: single - read_time: false - author_profile: false - share: false - comments: false - sidebar: - nav: "launcher" - - scope: - path: "_modpack" - type: modpack - values: - layout: single - read_time: false - author_profile: false - share: false - comments: false - sidebar: - nav: "modpack" - - scope: - path: "_eula" - type: eula - values: - layout: single - read_time: false - author_profile: false - share: false - comments: false - sidebar: - nav: "eula" - - scope: - path: "_multiplayer" - type: multiplayer + path: "" values: layout: single read_time: false @@ -139,29 +87,15 @@ defaults: share: false comments: false sidebar: - nav: "multiplayer" + nav: docs - scope: - path: "_changelog" - type: changelog + path: "assets/img" values: - layout: single - read_time: false - author_profile: false - share: false - comments: false - sidebar: - nav: "changelog" + image: true - scope: - path: "_downloads" - type: downloads + path: "assets/css" values: - layout: single - read_time: false - author_profile: false - share: false - comments: false - sidebar: - nav: "downloads" + css: true # Exclude from processing. # The following items will not be processed, by default. @@ -189,4 +123,4 @@ permalink: /:categories/:title/ compress_html: clippings: all ignore: - envs: development \ No newline at end of file + envs: development diff --git a/_data/navigation.yml b/_data/navigation.yml new file mode 100644 index 0000000..f90c5d1 --- /dev/null +++ b/_data/navigation.yml @@ -0,0 +1,58 @@ +main: + - title: 常见问题 + url: /faq.html + - title: GitHub + url: https://github.com/HMCL-dev/HMCL + +docs: + - title: 问题集合 + children: + - title: 常见问题 + url: /faq.html + - title: 启动器使用相关 + url: /launcher/ + - title: 整合包帮助 + url: /modpack/ + - title: 多人联机帮助 + url: /multiplayer/ + - title: 使用者帮助 + children: + - title: 版本隔离 + url: /launcher/isolation.html + description: 本文可以帮助你更好的分离地图、模组等。 + - title: 多人联机帮助 + url: /multiplayer/ + description: 本文将告诉你如何进行多人联机,以及一些问题。 + - title: 设置离线皮肤 + url: /launcher/offline-skin.html + description: 本文将告诉你如何设置一个属于自己的离线皮肤。 + - title: HMCL 的自动安装使用教程 + url: /launcher/auto-installing.html + description: 本文将告诉你如何用 HMCL 安装 Forge、Fabric、Fabric API、LiteLoader、Optifine 以及 模组 等。 + - title: 安装 Optifine / 光影 + url: /launcher/shader.html + description: 本文将告诉你如何安装 Optifine 来使用光影。 + - title: 设置项详解 + url: /launcher/set-item-details.html + description: 这篇文章针对 HMCL 的各个设置项进行了详细的解释。 + - title: 开发者帮助 + children: + - title: 制作 HMCL 格式的数据包 + url: /launcher/datapack.html + description: 本文将告诉你如何制作 HMCL 能够识别的数据包(Datapacks)。 + - title: 制作整合包 + url: /modpack/serverpack.html + description: 本文将告诉你如何制作整合包。 + - title: 添加默认 authalic-injector 验证服务器 + url: /launcher/authlib-injector.html + description: 本文将告诉你如何设置默认的验证服务器。 + - title: 其他 + children: + - title: 为 HMCL 做出贡献 + url: /contribution.html + - title: HMCL GitHub 地址 + url: https://github.com/HMCL-dev/HMCL + - title: HMCL 帮助文档 GitHub 地址 + url: https://github.com/HMCL-dev/HMCL-docs + - title: HMCL 官网 + url: https://hmcl.huangyuhui.net diff --git a/_launcher/auto-installing.md b/_launcher/auto-installing.md index baa69f5..d708f1d 100644 --- a/_launcher/auto-installing.md +++ b/_launcher/auto-installing.md @@ -14,7 +14,7 @@ toc: true 当你在安装新的游戏客户端时候, 会看到其中有 -`Forge, LiteLoader, Fabric, Quilt`这 4 个 Mod 加载器可供选择。 +`Forge, LiteLoader, Fabric, Quilt` 这 4 个 Mod 加载器可供选择。 以及 `Fabric API, QSL/QFAPI` 这两个随 Fabric 与 Quilt 的 API(实际是模组)可供选择。 @@ -22,19 +22,19 @@ toc: true 当你使用 1.14 及以上的游戏版本时, 推荐使用 *Fabric* -1.14 以下的版本推荐使用 *Forge* +1.14 以下的版本推荐使用 *Forge* *LiteLoader* 只适用于 1.12.2 及以前的版本 (目前已停更) -**注意: +**注意:** 选择完合适的Mod加载器之后就可以点击右下角的`安装`继续进行安装。 -**注意: ** +**注意:** -***LiteLoader* 和 *Forge* 是兼容的 ( *Forge* 较新版本和 *LiteLoader* 较老版本可能不兼容)** +***LiteLoader* 和 *Forge* 是兼容的 (*Forge* 较新版本和 *LiteLoader* 较老版本可能不兼容)** -***Fabric* 和 *Forge* 不兼容!**** +***Fabric* 和 *Forge* 不兼容!** **如果选择 *Fabric* , 那么建议同时选择 *Fabric API*** @@ -56,7 +56,7 @@ HMCL 内置了 CurseForge 和 Modrinth 下载源的搜索和下载功能, 目前 ![AddingModAutomatically](/assets/img/docs/auto-installing/AutoInstaller_ModAutoAdding.png) -#### Fabric Mod / Quilt Mod +#### Fabric Mod / Quilt Mod *Fabric Mod* 和 *Quilt Mod* 的安装和 *Forge Mod* 的安装类似, [参照上文](#forge-mod)。 @@ -98,4 +98,4 @@ HMCL 内置了 CurseForge 和 Modrinth 下载源的搜索和下载功能, 目前 3. 如果你的能力很优秀, 也可以直接查看游戏日志来找出问题的原因。 -4. 如果无法理解日志内容, 那么请将 `\.minecraft\crash-reports` 和 `\.minecraft\logs` 文件夹打包发给其他人寻求帮助。 \ No newline at end of file +4. 如果无法理解日志内容, 那么请将 `\.minecraft\crash-reports` 和 `\.minecraft\logs` 文件夹打包发给其他人寻求帮助。 diff --git a/_modpack/serverpack3.md b/_modpack/serverpack3.md index e65a637..abf80a0 100644 --- a/_modpack/serverpack3.md +++ b/_modpack/serverpack3.md @@ -1,6 +1,6 @@ --- title: "Nginx作为静态资源服务器,使用HMCL启动器配置服务器客户端自动更新" -permalink: /modpack/serverpack2.html +permalink: /modpack/serverpack3.html date: 2023-01-11 14:13:45 +0800 categories: 整合包 toc: true @@ -261,4 +261,3 @@ unzip /home/ftp/client2.0.zip -d /minecraftClientStatic/modepack > HMCL官方文章:https://hmcl.huangyuhui.net/help/launcher/serverpack.html > 使用Gitee作为静态资源服务器:https://www.kdocs.cn/l/ck0hwms5llq8 > Nginx配置静态资源服务器:https://buggzd.github.io/2023/01/11/Nginx%E9%9D%99%E6%80%81%E8%B5%84%E6%BA%90%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BD%BF%E7%94%A8/ - diff --git a/_multiplayer/multiplayer.md b/_multiplayer/multiplayer.md deleted file mode 100644 index 861155e..0000000 --- a/_multiplayer/multiplayer.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: "目前 HMCL 多人联机正处于维护状态。" -permalink: /multiplayer/ -date: 2022-11-20 09:02:00 +0800 -categories: 多人联机 -toc: true ---- - -![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fdocs.hmcl.net%2Fmultiplayer%2F&count_bg=%233E4245&title_bg=%233E4245&icon=&icon_color=%23E7E7E7&title=%F0%9F%91%80&edge_flat=false) - -> 本文由 zkitfly 编写。 - -## 注意 - -目前 HMCL 多人联机正处于维护状态。[详情](https://hmcl.huangyuhui.net/api/redirect/multiplayer-migrate) diff --git a/_pages/multiplayer.md b/_pages/multiplayer.md index 6dc25a7..55a9449 100644 --- a/_pages/multiplayer.md +++ b/_pages/multiplayer.md @@ -5,4 +5,4 @@ permalink: /multiplayer/ collection: multiplayer entries_layout: grid classes: wide ---- \ No newline at end of file +--- diff --git a/index.markdown b/index.markdown index 9a6fbf5..5350c29 100644 --- a/index.markdown +++ b/index.markdown @@ -2,18 +2,18 @@ # Feel free to add content and custom Front Matter to this file. # To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults -layout: home +layout: single +title: HMCL 新手导航 +toc: true --- ![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fdocs.hmcl.net&count_bg=%233E4245&title_bg=%233E4245&icon=&icon_color=%23E7E7E7&title=%F0%9F%91%80&edge_flat=false) > 由 wifi-left 进行整理 -# HMCL 新手导航 - ## 注意 Notice -The passages were written in Simplified Chinese. If you want to help translate them, please send a pull request on https://github.com/HMCL-dev/HMCL-docs/pulls. Or you can enable your translation tool to read. +The articles were written in Simplified Chinese. If you want to help translate them, please send a pull request to [GitHub: HMCL-dev/HMCL-docs](https://github.com/HMCL-dev/HMCL-docs/pulls). Or you can enable your translation tool to read. If you encounter a BUG, please send feedback in time to [GitHub: huanghongxun/HMCL/issues](https://github.com/HMCL-dev/HMCL/issues). @@ -23,58 +23,17 @@ You can also submit your suggestions here. 您也可以在这里提交您的建议。 -## HMCL 问题集合 - -1. [新手问题](/faq.html) -1. [启动器使用相关](/launcher/) -2. [整合包帮助](/modpack/) -2. [多人联机帮助](/multiplayer/) - -## HMCL 教程 / 帮助 - -### 对于使用者 - -1. [版本隔离](/launcher/isolation.html) - - 它可以帮助你更好的分离地图、模组等。 - -2. [多人联机帮助](/multiplayer) - - 他将告诉你如何进行多人联机,以及一些问题。 - -3. [设置离线皮肤](/launcher/offline-skin.html) - - 他将告诉你如何设置一个属于自己的离线皮肤。 - -4. [HMCL 的自动安装使用教程](/launcher/auto-installing.html) - - 它将告诉你如何用 HMCL 安装 Forge、Fabric、Fabric API、LiteLoader、Optifine 以及 模组 等。 - -5. [安装 Optifine / 光影](/launcher/shader.html) - - 他将告诉你如何安装 Optifine 来使用光影。 - -6. [设置项详解](/launcher/set-item-details.html) - - 这篇文章针对于HMCL的各个设置项进行了详细的解释。 - -### 对于开发者 - -1. [制作 HMCL 格式的数据包](/launcher/datapack.html) - - 他将告诉你如何制作 HMCL 能够识别的数据包(Datapacks)。 - -2. [制作整合包](/modpack/serverpack.html) - - 他将告诉你如何制作整合包。 - -3. [添加默认 authalic-injector 验证服务器](/launcher/authlib-injector.html) - - 他将告诉你如何设置默认的验证服务器。 +{% comment %} +此处的目录从 `_data/navigation.yml` 中的 docs 条目渲染,请修改该文件以更新目录 +{% endcomment %} +{% for group in site.data.navigation.docs %} +## {{ group.title }} -## 其他 +{% for item in group.children %} +{{ forloop.index }}. [{{ item.title }}]({{ item.url }}) +{%- if item.description %} -1. [为 HMCL 做出贡献](/contribution.html) -2. [HMCL GitHub 地址](https://github.com/HMCL-dev/HMCL) -3. [HMCL 帮助文档 GitHub 地址](https://github.com/HMCL-dev/HMCL-docs) -4. [HMCL 官网](https://hmcl.huangyuhui.net) + {{ item.description }} +{% endif %} +{% endfor %} +{% endfor %}