refactor: reorganize files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Yuhui Huang 2022-05-04 23:58:35 +08:00
parent 07c67a215b
commit 069b524c17
23 changed files with 169 additions and 22 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

57
_layouts/download.html Normal file
View File

@ -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>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

8
_pages/launcher.md Normal file
View File

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

8
_pages/modpack.md Normal file
View File

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

8
_pages/multiplayer.md Normal file
View File

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

View File

@ -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 进行整理
# HMCL 新手导航