Skip to content

Commit df6c484

Browse files
authored
一些小修小改 (#115)
* index: Minor changes * index: Fix Chinese & English grammar * Add left sidebar * chore: Cleanup stuff _config.yml: Merge defaults _launcher/auto-installing: Fix Markdown formatting _modpack/serverpack3: Replace permalink _multiplayer/multiplayer: Remove duplicate file * index: Render menu from navigation data
1 parent 8058175 commit df6c484

File tree

7 files changed

+92
-157
lines changed

7 files changed

+92
-157
lines changed

_config.yml

Lines changed: 8 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
remote_theme : "mmistakes/[email protected]"
2222
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
23+
locale: "zh-CN"
2324

2425
title: Hello Minecraft! Launcher 帮助文档
2526
@@ -78,90 +79,23 @@ collections:
7879

7980
defaults:
8081
- scope:
81-
path: "assets/img"
82-
values:
83-
image: true
84-
- scope:
85-
path: "assets/css"
86-
values:
87-
css: true
88-
- scope:
89-
path: "_docs"
90-
type: docs
91-
values:
92-
layout: single
93-
read_time: false
94-
author_profile: false
95-
share: false
96-
comments: false
97-
sidebar:
98-
nav: "docs"
99-
- scope:
100-
path: "_launcher"
101-
type: launcher
102-
values:
103-
layout: single
104-
read_time: false
105-
author_profile: false
106-
share: false
107-
comments: false
108-
sidebar:
109-
nav: "launcher"
110-
- scope:
111-
path: "_modpack"
112-
type: modpack
113-
values:
114-
layout: single
115-
read_time: false
116-
author_profile: false
117-
share: false
118-
comments: false
119-
sidebar:
120-
nav: "modpack"
121-
- scope:
122-
path: "_eula"
123-
type: eula
124-
values:
125-
layout: single
126-
read_time: false
127-
author_profile: false
128-
share: false
129-
comments: false
130-
sidebar:
131-
nav: "eula"
132-
- scope:
133-
path: "_multiplayer"
134-
type: multiplayer
82+
path: ""
13583
values:
13684
layout: single
13785
read_time: false
13886
author_profile: false
13987
share: false
14088
comments: false
14189
sidebar:
142-
nav: "multiplayer"
90+
nav: docs
14391
- scope:
144-
path: "_changelog"
145-
type: changelog
92+
path: "assets/img"
14693
values:
147-
layout: single
148-
read_time: false
149-
author_profile: false
150-
share: false
151-
comments: false
152-
sidebar:
153-
nav: "changelog"
94+
image: true
15495
- scope:
155-
path: "_downloads"
156-
type: downloads
96+
path: "assets/css"
15797
values:
158-
layout: single
159-
read_time: false
160-
author_profile: false
161-
share: false
162-
comments: false
163-
sidebar:
164-
nav: "downloads"
98+
css: true
16599

166100
# Exclude from processing.
167101
# The following items will not be processed, by default.
@@ -189,4 +123,4 @@ permalink: /:categories/:title/
189123
compress_html:
190124
clippings: all
191125
ignore:
192-
envs: development
126+
envs: development

_data/navigation.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
main:
2+
- title: 常见问题
3+
url: /faq.html
4+
- title: GitHub
5+
url: https://github.com/HMCL-dev/HMCL
6+
7+
docs:
8+
- title: 问题集合
9+
children:
10+
- title: 常见问题
11+
url: /faq.html
12+
- title: 启动器使用相关
13+
url: /launcher/
14+
- title: 整合包帮助
15+
url: /modpack/
16+
- title: 多人联机帮助
17+
url: /multiplayer/
18+
- title: 使用者帮助
19+
children:
20+
- title: 版本隔离
21+
url: /launcher/isolation.html
22+
description: 本文可以帮助你更好的分离地图、模组等。
23+
- title: 多人联机帮助
24+
url: /multiplayer/
25+
description: 本文将告诉你如何进行多人联机,以及一些问题。
26+
- title: 设置离线皮肤
27+
url: /launcher/offline-skin.html
28+
description: 本文将告诉你如何设置一个属于自己的离线皮肤。
29+
- title: HMCL 的自动安装使用教程
30+
url: /launcher/auto-installing.html
31+
description: 本文将告诉你如何用 HMCL 安装 Forge、Fabric、Fabric API、LiteLoader、Optifine 以及 模组 等。
32+
- title: 安装 Optifine / 光影
33+
url: /launcher/shader.html
34+
description: 本文将告诉你如何安装 Optifine 来使用光影。
35+
- title: 设置项详解
36+
url: /launcher/set-item-details.html
37+
description: 这篇文章针对 HMCL 的各个设置项进行了详细的解释。
38+
- title: 开发者帮助
39+
children:
40+
- title: 制作 HMCL 格式的数据包
41+
url: /launcher/datapack.html
42+
description: 本文将告诉你如何制作 HMCL 能够识别的数据包(Datapacks)。
43+
- title: 制作整合包
44+
url: /modpack/serverpack.html
45+
description: 本文将告诉你如何制作整合包。
46+
- title: 添加默认 authalic-injector 验证服务器
47+
url: /launcher/authlib-injector.html
48+
description: 本文将告诉你如何设置默认的验证服务器。
49+
- title: 其他
50+
children:
51+
- title: 为 HMCL 做出贡献
52+
url: /contribution.html
53+
- title: HMCL GitHub 地址
54+
url: https://github.com/HMCL-dev/HMCL
55+
- title: HMCL 帮助文档 GitHub 地址
56+
url: https://github.com/HMCL-dev/HMCL-docs
57+
- title: HMCL 官网
58+
url: https://hmcl.huangyuhui.net

_launcher/auto-installing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@ toc: true
1414

1515
当你在安装新的游戏客户端时候, 会看到其中有
1616

17-
`Forge, LiteLoader, Fabric, Quilt`这 4 个 Mod 加载器可供选择。
17+
`Forge, LiteLoader, Fabric, Quilt` 这 4 个 Mod 加载器可供选择。
1818

1919
以及 `Fabric API, QSL/QFAPI` 这两个随 Fabric 与 Quilt 的 API(实际是模组)可供选择。
2020

2121
![AutoInstaller_ModLoader](/assets/img/docs/auto-installing/AutoInstaller_ModLoader.png)
2222

2323
当你使用 1.14 及以上的游戏版本时, 推荐使用 *Fabric*
2424

25-
1.14 以下的版本推荐使用 *Forge*
25+
1.14 以下的版本推荐使用 *Forge*
2626

2727
*LiteLoader* 只适用于 1.12.2 及以前的版本 (目前已停更)
2828

29-
**注意:
29+
**注意**
3030

3131
选择完合适的Mod加载器之后就可以点击右下角的`安装`继续进行安装。
3232

33-
**注意: **
33+
**注意**
3434

35-
***LiteLoader**Forge* 是兼容的 ( *Forge* 较新版本和 *LiteLoader* 较老版本可能不兼容)**
35+
***LiteLoader**Forge* 是兼容的 (*Forge* 较新版本和 *LiteLoader* 较老版本可能不兼容)**
3636

37-
***Fabric**Forge* 不兼容!****
37+
***Fabric**Forge* 不兼容!**
3838

3939
**如果选择 *Fabric* , 那么建议同时选择 *Fabric API***
4040

@@ -56,7 +56,7 @@ HMCL 内置了 CurseForge 和 Modrinth 下载源的搜索和下载功能, 目前
5656

5757
![AddingModAutomatically](/assets/img/docs/auto-installing/AutoInstaller_ModAutoAdding.png)
5858

59-
#### Fabric Mod / Quilt Mod
59+
#### Fabric Mod / Quilt Mod
6060

6161
*Fabric Mod**Quilt Mod* 的安装和 *Forge Mod* 的安装类似, [参照上文](#forge-mod)
6262

@@ -98,4 +98,4 @@ HMCL 内置了 CurseForge 和 Modrinth 下载源的搜索和下载功能, 目前
9898

9999
3. 如果你的能力很优秀, 也可以直接查看游戏日志来找出问题的原因。
100100

101-
4. 如果无法理解日志内容, 那么请将 `\.minecraft\crash-reports``\.minecraft\logs` 文件夹打包发给其他人寻求帮助。
101+
4. 如果无法理解日志内容, 那么请将 `\.minecraft\crash-reports``\.minecraft\logs` 文件夹打包发给其他人寻求帮助。

_modpack/serverpack3.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Nginx作为静态资源服务器,使用HMCL启动器配置服务器客户端自动更新"
3-
permalink: /modpack/serverpack2.html
3+
permalink: /modpack/serverpack3.html
44
date: 2023-01-11 14:13:45 +0800
55
categories: 整合包
66
toc: true
@@ -261,4 +261,3 @@ unzip /home/ftp/client2.0.zip -d /minecraftClientStatic/modepack
261261
> HMCL官方文章:https://hmcl.huangyuhui.net/help/launcher/serverpack.html
262262
> 使用Gitee作为静态资源服务器:https://www.kdocs.cn/l/ck0hwms5llq8
263263
> 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/
264-

_multiplayer/multiplayer.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

_pages/multiplayer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ permalink: /multiplayer/
55
collection: multiplayer
66
entries_layout: grid
77
classes: wide
8-
---
8+
---

index.markdown

Lines changed: 16 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# Feel free to add content and custom Front Matter to this file.
33
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
44

5-
layout: home
5+
layout: single
6+
title: HMCL 新手导航
7+
toc: true
68
---
79

810
![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)
911

1012
> 由 wifi-left 进行整理
1113
12-
# HMCL 新手导航
13-
1414
## 注意 Notice
1515

16-
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.
16+
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.
1717

1818
If you encounter a BUG, please send feedback in time to [GitHub: huanghongxun/HMCL/issues](https://github.com/HMCL-dev/HMCL/issues).
1919

@@ -23,58 +23,17 @@ You can also submit your suggestions here.
2323

2424
您也可以在这里提交您的建议。
2525

26-
## HMCL 问题集合
27-
28-
1. [新手问题](/faq.html)
29-
1. [启动器使用相关](/launcher/)
30-
2. [整合包帮助](/modpack/)
31-
2. [多人联机帮助](/multiplayer/)
32-
33-
## HMCL 教程 / 帮助
34-
35-
### 对于使用者
36-
37-
1. [版本隔离](/launcher/isolation.html)
38-
39-
它可以帮助你更好的分离地图、模组等。
40-
41-
2. [多人联机帮助](/multiplayer)
42-
43-
他将告诉你如何进行多人联机,以及一些问题。
44-
45-
3. [设置离线皮肤](/launcher/offline-skin.html)
46-
47-
他将告诉你如何设置一个属于自己的离线皮肤。
48-
49-
4. [HMCL 的自动安装使用教程](/launcher/auto-installing.html)
50-
51-
它将告诉你如何用 HMCL 安装 Forge、Fabric、Fabric API、LiteLoader、Optifine 以及 模组 等。
52-
53-
5. [安装 Optifine / 光影](/launcher/shader.html)
54-
55-
他将告诉你如何安装 Optifine 来使用光影。
56-
57-
6. [设置项详解](/launcher/set-item-details.html)
58-
59-
这篇文章针对于HMCL的各个设置项进行了详细的解释。
60-
61-
### 对于开发者
62-
63-
1. [制作 HMCL 格式的数据包](/launcher/datapack.html)
64-
65-
他将告诉你如何制作 HMCL 能够识别的数据包(Datapacks)。
66-
67-
2. [制作整合包](/modpack/serverpack.html)
68-
69-
他将告诉你如何制作整合包。
70-
71-
3. [添加默认 authalic-injector 验证服务器](/launcher/authlib-injector.html)
72-
73-
他将告诉你如何设置默认的验证服务器。
26+
{% comment %}
27+
此处的目录从 `_data/navigation.yml` 中的 docs 条目渲染,请修改该文件以更新目录
28+
{% endcomment %}
29+
{% for group in site.data.navigation.docs %}
30+
## {{ group.title }}
7431

75-
## 其他
32+
{% for item in group.children %}
33+
{{ forloop.index }}. [{{ item.title }}]({{ item.url }})
34+
{%- if item.description %}
7635

77-
1. [为 HMCL 做出贡献](/contribution.html)
78-
2. [HMCL GitHub 地址](https://github.com/HMCL-dev/HMCL)
79-
3. [HMCL 帮助文档 GitHub 地址](https://github.com/HMCL-dev/HMCL-docs)
80-
4. [HMCL 官网](https://hmcl.huangyuhui.net)
36+
{{ item.description }}
37+
{% endif %}
38+
{% endfor %}
39+
{% endfor %}

0 commit comments

Comments
 (0)