HMCL-docs/_config.yml
2025-10-14 20:43:52 +08:00

322 lines
6.2 KiB
YAML

# https://jekyllrb.com/docs/configuration/default/
# https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml
# source: .
# destination: _site
# collections_dir: .
# plugins_dir: _plugins
# layouts_dir: _layouts
# data_dir: _data
# includes_dir: _includes
# cache_dir: .jekyll-cache
sass:
# sass_dir: _sass
# minimal-mistakes
style: compressed # https://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
quiet_deps: true
silence_deprecations:
- import
collections:
docs:
output: true
permalink: /:path:output_ext
launcher:
output: true
permalink: /:collection/:path:output_ext
changelog:
output: true
permalink: /:collection/:path:output_ext
changelogs:
output: false
modpack:
output: true
permalink: /:collection/:path:output_ext
eula:
output: true
permalink: /:collection/:path:output_ext
multiplayer:
output: true
permalink: /:collection/:path:output_ext
downloads:
output: true
permalink: /:collection/:path:output_ext
# Handling Reading
# safe: false
include:
- _pages
exclude:
- README.md
- LICENSE
keep_files: []
encoding: "utf-8"
# markdown_ext: "markdown,mkdown,mkdn,mkd,md"
strict_front_matter: true
# Filtering Content
# show_drafts: null
# limit_posts: 0
# future: false
# unpublished: false
# Plugins
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jekyll-include-cache
- jemoji
- jekyll-archives
- jekyll-seo-tag
# minimal-mistakes (mimic GitHub Pages with --safe)
# whitelist:
# - jekyll-paginate
# - jekyll-sitemap
# - jekyll-gist
# - jekyll-feed
# - jekyll-include-cache
# Conversion
# markdown: kramdown
# highlighter: rouge
# lsi: false
# excerpt_separator: "\n\n"
# incremental: false
# Serving
# detach: false
# port: 4000
# host: 127.0.0.1
baseurl: ""
# show_dir_listing: false
# Outputting
permalink: /:categories/:title:output_ext
# paginate_path: /page:num
timezone: Asia/Shanghai
# minimal-mistakes (with jekyll-paginate)
# paginate: 5
# quiet: false
# verbose: false
defaults:
- scope:
path: ""
values:
layout: document
read_time: false
author_profile: false
share: false
comments: false
sidebar:
nav: docs
hits: true
toc: true
toc_sticky: true
- scope:
path: ""
type: downloads
values:
toc: false
# liquid:
# error_mode: warn
# strict_filters: false
# strict_variables: false
# Markdown Processors
# kramdown:
# auto_ids: true
# entity_output: as_char
# toc_levels: [1, 2, 3, 4, 5, 6]
# smart_quotes: lsquo,rsquo,ldquo,rdquo
# input: GFM
# hard_wrap: false
# footnote_nr: 1
# show_warnings: false
# # minimal-mistakes
# enable_coderay: false
# Theme Settings
theme: minimal-mistakes-jekyll
minimal_mistakes_skin: default # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
minimal_mistakes_skin_dark: dark
# Site Settings
locale: zh
# rtl:
title: HMCL 文档
# title_separator: -
# subtitle:
# name: ""
description: HMCL 启动器 | 跨平台 | 整合包管理 | 自动安装 | 八年历史 | 三亿次使用
url: https://docs.hmcl.net
# repository:
# teaser:
logo: /assets/img/hmcl.png
# masthead_title:
breadcrumbs: false
# words_per_minute: 200
enable_copy_code_button: true
copyright: huanghongxun
copyright_url: mailto:hmcl@huangyuhui.net
comments:
provider: false # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
# disqus:
# shortname:
# discourse:
# server:
# facebook:
# appid:
# num_posts:
# colorscheme:
# utterances:
# theme:
# issue_term:
# giscus:
# repo_id:
# category_name:
# category_id:
# discussion_term:
# reactions_enabled:
# theme:
# strict:
# input_position:
# emit_metadata:
# lang:
# lazy:
# staticman:
# branch:
# endpoint:
# reCaptcha:
# siteKey:
# secret:
# atom_feed:
# path:
# hide:
# search:
# search_full_content:
# search_provider:
# lunr:
# search_within_pages:
# algolia:
# application_id:
# index_name:
# search_only_api_key:
# powered_by:
# google:
# search_engine_id:
# instant_search:
# SEO Related
# google_site_verification:
# bing_site_verification:
# naver_site_verification:
# yandex_site_verification:
# baidu_site_verification:
# Social Sharing
# twitter:
# username:
# facebook:
# username:
# app_id:
# publisher:
# og_image:
# For specifying social profiles
# social:
# type:
# name:
# links:
# Analytics
analytics:
provider: false # false (default), "google", "google-universal", "google-gtag", "custom"
# google:
# tracking_id:
# anonymize_ip:
# Site Author
# author:
# name: huangyuhui
# avatar:
# bio:
# location:
# email: hmcl@huangyuhui.net
# links:
# - label: Email
# icon: fas fa-fw fa-envelope-square
# url: mailto:hmcl@huangyuhui.net
# - label: GitHub
# icon: fab fa-fw fa-github
# url: https://github.com/huangyuhui
# Site Footer
footer:
links:
- label: Github
icon: fab fa-fw fa-github
url: https://github.com/HMCL-dev/HMCL
- label: 粤ICP备18071565号
url: https://beian.miit.gov.cn
# since:
# minimal-mistakes (with jekyll-paginate-v2) https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#site-configuration
# pagination:
# enabled: false
# debug: false
# collection: posts
# per_page: 10
# permalink: /page/:num/
# title: :title - page :num
# limit: 0
# sort_field: date
# sort_reverse: true
# category: posts
# tag: ""
# locale: ""
# trail:
# before: 2
# after: 2
# Archives
# category_archive:
# type: liquid
# path: /categories/
# tag_archive:
# type: liquid
# path: /tags/
# https://github.com/jekyll/jekyll-archives
# jekyll-archives:
# enabled:
# - categories
# - tags
# layouts:
# category: archive-taxonomy
# tag: archive-taxonomy
# permalinks:
# category: /categories/:name/
# tag: /tags/:name/
# HTML Compression (https://jch.penibelst.de/)
compress_html:
clippings: all
comments: all
ignore:
envs: development
head_scripts:
- /assets/js/theme.js
# jekyll-feed
feed:
collections:
- docs
- launcher
- modpack
- eula
- multiplayer