From 245d053db3a16b2844479c15cb1266ef37ce6d95 Mon Sep 17 00:00:00 2001 From: fenychn0206 Date: Thu, 22 Jan 2026 21:57:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(doc):=20=E7=BC=96=E8=BE=91=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + mkdocs.yml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 1c68305..0447661 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -8,6 +8,11 @@ docs_dir: docs # 站点输出目录 site_dir: site +# GitHub仓库信息 +repo_name: 'mtrlps-community/lps-community-guide' +repo_url: 'https://github.com/mtrlps-community/lps-community-guide' +edit_uri: 'https://github.com/mtrlps-community/lps-community-guide/edit/main/docs/' + # 语言设置 theme: name: material @@ -34,6 +39,7 @@ theme: - search.suggest - search.highlight - content.code.annotate + - content.action.edit # logo: assets/logo.png # TODO: 添加站点logo,建议尺寸:120x120px # favicon: assets/favicon.ico # TODO: 添加站点favicon,建议尺寸:32x32px @@ -81,8 +87,14 @@ markdown_extensions: permalink: true # 版权信息(可选) -copyright: Copyright © 2026 LPS Community Team +copyright: Copyright © 2026 Let's Play Server Community Team +# 扩展 +extra: + social: + - icon: fontawesome/brands/github + link: https://github.com/mtrlps-community + name: GitHub extra_javascript: - javascripts/umami.js extra_css: