Files
lps-community-guide/mkdocs.yml

87 lines
2.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

site_name: MTR 齐齐玩服务器社区非官方指南
site_description: 这里是由 MTR 齐齐玩服务器玩家社区搭建的非官方指南,希望你能找到你想要的内容!
site_author: LPS Community Team
site_url: https://www.lpsguide.cn
# 文档目录
docs_dir: docs
# 站点输出目录
site_dir: site
# 语言设置
theme:
name: material
language: zh
palette:
# 浅色主题
- scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: 切换到深色模式
# 深色主题
- scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: 切换到浅色模式
features:
- navigation.tabs
- navigation.sections
- navigation.top
- search.suggest
- search.highlight
- content.code.annotate
# logo: assets/logo.png # TODO: 添加站点logo建议尺寸120x120px
# favicon: assets/favicon.ico # TODO: 添加站点favicon建议尺寸32x32px
# 导航结构
nav:
- 首页: index.md
- 官方资源:
- Wiki: official/wiki.md
- 线路图与世界地图: official/maps.md
- Discord: official/discord.md
- 服务器 IP: official/acceleration.md
- 社区资源:
- QQ 群聊: community/qq.md
- 网盘资源与线路图: community/downloads.md
- 图册: gallery/index.md
- 关于网站: about.md
# 插件
plugins:
- search:
lang: zh
# - git-revision-date-localized:
# enable_creation_date: true
# 如需使用 git-revision-date-localized 插件请先安装pip install mkdocs-git-revision-date-localized-plugin
# 扩展配置
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- admonition
- pymdownx.details
- pymdownx.superfences
- attr_list
- md_in_html
- tables
- toc:
permalink: true
# 版权信息(可选)
copyright: Copyright © 2026 LPS Community Team
extra_javascript:
- javascripts/umami.js