mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-04-20 03:24:02 +08:00
This commit is contained in:
parent
93b88d853f
commit
73c09b154f
21
.drone.yml
Normal file
21
.drone.yml
Normal file
@ -0,0 +1,21 @@
|
||||
pipeline:
|
||||
jekyll-build:
|
||||
image: jekyll/jekyll:4.2.2
|
||||
commands:
|
||||
- touch Gemfile.lock
|
||||
- chmod a+w Gemfile.lock
|
||||
- chown -R jekyll:jekyll /drone
|
||||
- gem update --system
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
|
||||
deploy:
|
||||
image: drillster/drone-rsync
|
||||
source: _site/*
|
||||
target: ~/docs.hmcl.net
|
||||
recursive: true
|
||||
delete: true
|
||||
when:
|
||||
branch: [master]
|
||||
event: [push]
|
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
_site
|
||||
.sass-cache
|
||||
.jekyll-cache
|
||||
.jekyll-metadata
|
||||
vendor
|
||||
Gemfile.lock
|
||||
.bundle
|
25
404.html
Normal file
25
404.html
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
permalink: /404.html
|
||||
layout: default
|
||||
---
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
.container {
|
||||
margin: 10px auto;
|
||||
max-width: 600px;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
margin: 30px 0;
|
||||
font-size: 4em;
|
||||
line-height: 1;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<h1>404</h1>
|
||||
|
||||
<p><strong>Page not found :(</strong></p>
|
||||
<p>The requested page could not be found.</p>
|
||||
</div>
|
37
Gemfile
Normal file
37
Gemfile
Normal file
@ -0,0 +1,37 @@
|
||||
source "https://rubygems.org"
|
||||
# Hello! This is where you manage which Jekyll version is used to run.
|
||||
# When you want to use a different version, change it below, save the
|
||||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
||||
#
|
||||
# bundle exec jekyll serve
|
||||
#
|
||||
# This will help ensure the proper Jekyll version is running.
|
||||
# Happy Jekylling!
|
||||
gem "jekyll", "~> 4.2.2"
|
||||
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
||||
gem "minimal-mistakes-jekyll"
|
||||
|
||||
group :jekyll_plugins do
|
||||
gem "jekyll-paginate"
|
||||
gem "jekyll-sitemap"
|
||||
gem "jekyll-gist"
|
||||
gem "jekyll-feed"
|
||||
gem "jemoji"
|
||||
gem "jekyll-include-cache"
|
||||
gem "jekyll-algolia"
|
||||
gem "jekyll-remote-theme"
|
||||
gem "jekyll-archives"
|
||||
gem "jekyll-seo-tag"
|
||||
end
|
||||
|
||||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
# and associated library.
|
||||
platforms :mingw, :x64_mingw, :mswin, :jruby do
|
||||
gem "tzinfo"
|
||||
gem "tzinfo-data"
|
||||
end
|
||||
|
||||
# Performance-booster for watching directories on Windows
|
||||
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
|
||||
|
||||
gem "webrick", "~> 1.7"
|
102
_config.yml
Normal file
102
_config.yml
Normal file
@ -0,0 +1,102 @@
|
||||
# Welcome to Jekyll!
|
||||
#
|
||||
# This config file is meant for settings that affect your whole blog, values
|
||||
# which you are expected to set up once and rarely edit after that. If you find
|
||||
# yourself editing this file very often, consider using Jekyll's data files
|
||||
# feature for the data you need to update frequently.
|
||||
#
|
||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
||||
#
|
||||
# If you need help with YAML syntax, here are some quick references for you:
|
||||
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
||||
# https://learnxinyminutes.com/docs/yaml/
|
||||
#
|
||||
# Site settings
|
||||
# These are used to personalize your new site. If you look in the HTML files,
|
||||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
||||
# You can create any custom variable you would like, and they will be accessible
|
||||
# in the templates via {{ site.myvariable }}.
|
||||
|
||||
remote_theme : "mmistakes/minimal-mistakes@4.24.0"
|
||||
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
|
||||
|
||||
title: Hello Minecraft! Launcher 帮助文档
|
||||
email: hmcl@huangyuhui.net
|
||||
description: >- # this means to ignore newlines until "baseurl:"
|
||||
HMCL 启动器 | 跨平台 | 整合包管理 | 自动安装 | 八年历史 | 三亿次使用
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
url: "https://docs.hmcl.net"
|
||||
twitter_username: huanghongxun
|
||||
github_username: huanghongxun
|
||||
breadcrumbs: true
|
||||
|
||||
# Build settings
|
||||
#theme: minimal-mistakes-jekyll
|
||||
plugins:
|
||||
- jekyll-paginate
|
||||
- jekyll-sitemap
|
||||
- jekyll-gist
|
||||
- jekyll-feed
|
||||
- jemoji
|
||||
- jekyll-include-cache
|
||||
- jekyll-remote-theme
|
||||
- jekyll-archives
|
||||
- jekyll-seo-tag
|
||||
|
||||
include:
|
||||
- _pages
|
||||
|
||||
collections:
|
||||
docs:
|
||||
output: true
|
||||
permalink: /:collection/:path/
|
||||
|
||||
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"
|
||||
|
||||
# Exclude from processing.
|
||||
# The following items will not be processed, by default.
|
||||
# Any item listed under the `exclude:` key here will be automatically added to
|
||||
# the internal "default list".
|
||||
#
|
||||
# Excluded items can be processed by explicitly listing the directories or
|
||||
# their entries' file path in the `include:` list.
|
||||
#
|
||||
# exclude:
|
||||
# - .sass-cache/
|
||||
# - .jekyll-cache/
|
||||
# - gemfiles/
|
||||
# - Gemfile
|
||||
# - Gemfile.lock
|
||||
# - node_modules/
|
||||
# - vendor/bundle/
|
||||
# - vendor/cache/
|
||||
# - vendor/gems/
|
||||
# - vendor/ruby/
|
||||
|
||||
# Outputting
|
||||
permalink: /:categories/:title/
|
||||
|
||||
compress_html:
|
||||
clippings: all
|
||||
ignore:
|
||||
envs: development
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Authlib-Injector 服务器设置指南"
|
||||
permalink: /help/launcher/authlib-injector.html
|
||||
permalink: /launcher/authlib-injector.html
|
||||
date: 2021-08-22 23:18:02 +0800
|
||||
categories: HMCL
|
||||
toc: true
|
28
_includes/footer.html
Normal file
28
_includes/footer.html
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
<div class="page__footer-follow">
|
||||
<ul class="social-icons">
|
||||
{% if site.data.ui-text[site.locale].follow_label %}
|
||||
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
|
||||
{% endif %}
|
||||
|
||||
{% if site.footer.links %}
|
||||
{% for link in site.footer.links %}
|
||||
{% if link.label and link.url %}
|
||||
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% unless site.atom_feed.hide %}
|
||||
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
|
||||
{% endunless %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} huangyuhui.
|
||||
<a href="http://www.beian.miit.gov.cn">粤 ICP 备 18071565 号</a>
|
||||
<img src="https://www.huangyuhui.net/ghs.png">
|
||||
<a
|
||||
href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44011302001383"
|
||||
>粤公网安备 44011302001383 号</a
|
||||
> </div>
|
1
_includes/head/custom.html
Normal file
1
_includes/head/custom.html
Normal file
@ -0,0 +1 @@
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
8
_pages/docs.md
Normal file
8
_pages/docs.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 文档
|
||||
layout: collection
|
||||
permalink: /help/
|
||||
collection: help
|
||||
entries_layout: grid
|
||||
classes: wide
|
||||
---
|
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
Reference in New Issue
Block a user