Browse Source

refactor: reorganize files

zkitefly-patch-1
Yuhui Huang 3 years ago
parent
commit
069b524c17
  1. 4
      .drone.yml
  2. 21
      _config.yml
  3. 8
      _docs/about-questions.md
  4. 2
      _docs/contribution.md
  5. 2
      _launcher/authlib-injector.md
  6. 4
      _launcher/auto-installing.md
  7. 4
      _launcher/datapack.md
  8. 4
      _launcher/global-version-isolation.md
  9. 7
      _launcher/install_optifine.md
  10. 4
      _launcher/offline-skin.md
  11. 57
      _layouts/download.html
  12. 7
      _modpack/modpack-in-java.md
  13. 4
      _modpack/serverpack.md
  14. 7
      _modpack/serverpack2.md
  15. 7
      _multiplayer/multiplayer-faq.md
  16. 4
      _multiplayer/multiplayer-help.md
  17. 4
      _multiplayer/multiplayer-symmetric.md
  18. 4
      _multiplayer/multiplayer.md
  19. 4
      _pages/docs.md
  20. 8
      _pages/launcher.md
  21. 8
      _pages/modpack.md
  22. 8
      _pages/multiplayer.md
  23. 7
      index.markdown

4
.drone.yml

@ -22,11 +22,13 @@ steps:
path: /drone/src/_site path: /drone/src/_site
- name: cache - name: cache
path: /drone/src/.jekyll-cache path: /drone/src/.jekyll-cache
when:
branch: [main]
volumes: volumes:
- name: dist - name: dist
host: host:
path: /home/ubuntu/docs.hmcl.net/site path: /home/ubuntu/docs.hmcl.net/www
- name: cache - name: cache
host: host:
path: /home/ubuntu/docs.hmcl.net/cache path: /home/ubuntu/docs.hmcl.net/cache

21
_config.yml

@ -52,6 +52,18 @@ collections:
output: true output: true
permalink: /:collection/:path/ permalink: /:collection/:path/
launcher:
output: true
permalink: /:collection/:path/
modpack:
output: true
permalink: /:collection/:path/
multiplayer:
output: true
permalink: /:collection/:path/
defaults: defaults:
- scope: - scope:
path: "assets/img" path: "assets/img"
@ -64,6 +76,15 @@ defaults:
- scope: - scope:
path: "_docs" path: "_docs"
type: docs type: docs
- scope:
path: "_launcher"
type: launcher
- scope:
path: "_modpack"
type: modpack
- scope:
path: "_multiplayer"
type: multiplayer
values: values:
layout: single layout: single
read_time: false read_time: false

8
_docs/about-questions.md

@ -1,3 +1,11 @@
---
title: "各大问题集合"
permalink: /faq.html
date: 2021-10-09 23:18:02 +0800
categories: 启动器
toc: true
---
> 本文由 LIiston 编写。 > 本文由 LIiston 编写。
# 各大问题集合 # 各大问题集合

2
_docs/contribution.md

@ -1,6 +1,6 @@
--- ---
title: "为 HMCL 帮助文档出一份力" title: "为 HMCL 帮助文档出一份力"
permalink: /help/contribution.html permalink: /contribution.html
date: 2021-10-09 23:18:02 +0800 date: 2021-10-09 23:18:02 +0800
categories: HMCL categories: HMCL
toc: true toc: true

2
_docs/authlib-injector.md → _launcher/authlib-injector.md

@ -2,7 +2,7 @@
title: "Authlib-Injector 服务器设置指南" title: "Authlib-Injector 服务器设置指南"
permalink: /launcher/authlib-injector.html permalink: /launcher/authlib-injector.html
date: 2021-08-22 23:18:02 +0800 date: 2021-08-22 23:18:02 +0800
categories: HMCL categories: 启动器
toc: true toc: true
--- ---

4
_docs/auto-installing.md → _launcher/auto-installing.md

@ -1,8 +1,8 @@
--- ---
title: "自动安装与模组下载简介" title: "自动安装与模组下载简介"
permalink: /help/launcher/auto-installing.html permalink: /launcher/auto-installing.html
date: 2021-10-09 23:18:02 +0800 date: 2021-10-09 23:18:02 +0800
categories: HMCL categories: 启动器
toc: true toc: true
--- ---

4
_docs/datapack.md → _launcher/datapack.md

@ -1,8 +1,8 @@
--- ---
title: "数据包制作指南" title: "数据包制作指南"
permalink: /help/launcher/datapack.html permalink: /launcher/datapack.html
date: 2021-08-22 23:18:02 +0800 date: 2021-08-22 23:18:02 +0800
categories: HMCL categories: 启动器
toc: true toc: true
--- ---

4
_docs/global-version-isolation.md → _launcher/global-version-isolation.md

@ -1,8 +1,8 @@
--- ---
title: "全局版本隔离" title: "全局版本隔离"
permalink: /help/launcher/isolation.html permalink: /launcher/isolation.html
date: 2021-10-09 23:18:02 +0800 date: 2021-10-09 23:18:02 +0800
categories: HMCL categories: 启动器
toc: true toc: true
--- ---
> 本文由 LIPiston 编写。 > 本文由 LIPiston 编写。

7
_docs/install_optifine.md → _launcher/install_optifine.md

@ -1,3 +1,10 @@
---
title: "光影和Optifine"
permalink: /launcher/optifine.html
date: 2021-10-09 23:18:02 +0800
categories: 启动器
toc: true
---
# 光影和Optifine # 光影和Optifine
## 安装Optifine ## 安装Optifine

4
_docs/offline-skin.md → _launcher/offline-skin.md

@ -1,8 +1,8 @@
--- ---
title: "离线模式下更换皮肤" title: "离线模式下更换皮肤"
permalink: /help/launcher/offline-skin.html permalink: /launcher/offline-skin.html
date: 2021-10-09 23:18:02 +0800 date: 2021-10-09 23:18:02 +0800
categories: HMCL categories: 启动器
toc: true toc: true
--- ---

57
_layouts/download.html

@ -0,0 +1,57 @@
---
---
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.24.0 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
<head>
{% include head.html %}
{% include head/custom.html %}
</head>
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
{% include_cached skip-links.html %}
{% include browser-upgrade.html %}
{% include masthead.html %}
<div class="initial-content">
{{ content }}
<div align="center" style="margin: 1em 0;">
<ins class="adsbygoogle"
style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
</div>
</div>
{% if site.search == true %}
<div class="search-content">
{% include search/search_form.html %}
</div>
{% endif %}
<div class="page__footer">
<footer>
{% include footer/custom.html %}
{% include footer.html %}
</footer>
</div>
{% include scripts.html %}
<style>
.google-auto-placed {
margin: 2em auto;
}
</style>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
</body>
</html>

7
_docs/modpack-in-java.md → _modpack/modpack-in-java.md

@ -1,3 +1,10 @@
---
title: "整合包自带 Java 教程"
permalink: /modpack/bundled-java.html
date: 2021-10-09 23:18:02 +0800
categories: 整合包
toc: true
---
# 整合包自带 Java 教程 # 整合包自带 Java 教程
## 背景 ## 背景

4
_docs/serverpack.md → _modpack/serverpack.md

@ -1,8 +1,8 @@
--- ---
title: "服务端自动更新整合包制作教程" title: "服务端自动更新整合包制作教程"
permalink: /help/launcher/serverpack.html permalink: /modpack/serverpack.html
date: 2021-08-22 23:18:02 +0800 date: 2021-08-22 23:18:02 +0800
categories: HMCL categories: 整合包
toc: true toc: true
--- ---

7
_docs/serverpack2.md → _modpack/serverpack2.md

@ -1,3 +1,10 @@
---
title: "使用HMCL启动器配置服务器客户端自动更新"
permalink: /modpack/serverpack2.html
date: 2021-08-22 23:18:02 +0800
categories: 整合包
toc: true
---
# **使用HMCL启动器配置服务器客户端自动更新** # **使用HMCL启动器配置服务器客户端自动更新**
## 备注 ## 备注

7
_docs/multiplayer-faq.md → _multiplayer/multiplayer-faq.md

@ -1,3 +1,10 @@
---
title: "HMCL 多人联机常见问题"
permalink: /multiplayer/faq.html
date: 2021-10-09 23:18:02 +0800
categories: 多人联机
toc: true
---
# ![](icon.png)**HMCL 多人联机常见问题** # ![](icon.png)**HMCL 多人联机常见问题**
> 本篇文章由 Zkitefly 编写。 > 本篇文章由 Zkitefly 编写。

4
_docs/multiplayer-help.md → _multiplayer/multiplayer-help.md

@ -1,8 +1,8 @@
--- ---
title: "多人联机教程" title: "多人联机教程"
permalink: /help/launcher/multiplayer/help.html permalink: /multiplayer/help.html
date: 2021-10-09 23:18:02 +0800 date: 2021-10-09 23:18:02 +0800
categories: HMCL categories: 多人联机
toc: true toc: true
--- ---

4
_docs/multiplayer-symmetric.md → _multiplayer/multiplayer-symmetric.md

@ -1,8 +1,8 @@
--- ---
title: "NAT 网络检测为差的时候怎么办?" title: "NAT 网络检测为差的时候怎么办?"
permalink: /help/launcher/multiplayer-symmetric.html permalink: /multiplayer/symmetric.html
date: 2021-10-09 23:18:02 +0800 date: 2021-10-09 23:18:02 +0800
categories: HMCL categories: 多人联机
toc: true toc: true
--- ---

4
_docs/multiplayer.md → _multiplayer/multiplayer.md

@ -1,8 +1,8 @@
--- ---
title: "多人联机帮助" title: "多人联机帮助"
permalink: /help/launcher/multiplayer.html permalink: /multiplayer/
date: 2021-10-09 23:18:02 +0800 date: 2021-10-09 23:18:02 +0800
categories: HMCL categories: 多人联机
toc: true toc: true
--- ---

4
_pages/docs.md

@ -1,8 +1,8 @@
--- ---
title: 文档 title: 文档
layout: collection layout: collection
permalink: /help/ permalink: /docs/
collection: help collection: docs
entries_layout: grid entries_layout: grid
classes: wide classes: wide
--- ---

8
_pages/launcher.md

@ -0,0 +1,8 @@
---
title: 启动器
layout: collection
permalink: /launcher/
collection: launcher
entries_layout: grid
classes: wide
---

8
_pages/modpack.md

@ -0,0 +1,8 @@
---
title: 整合包
layout: collection
permalink: /modpack/
collection: modpack
entries_layout: grid
classes: wide
---

8
_pages/multiplayer.md

@ -0,0 +1,8 @@
---
title: 多人联机
layout: collection
permalink: /multiplayer/
collection: multiplayer
entries_layout: grid
classes: wide
---

7
index.markdown

@ -1,3 +1,10 @@
---
# 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: download
---
> 由 wifi-left 进行整理 > 由 wifi-left 进行整理
# HMCL 新手导航 # HMCL 新手导航

Loading…
Cancel
Save