From aa53404a780737d394d9c8117042ca0d8ffd6895 Mon Sep 17 00:00:00 2001 From: CDN18 Date: Sat, 2 Nov 2024 06:31:00 +0800 Subject: [PATCH] [docs] update mkdocs zh config --- docs/locales/zh/mkdocs.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/locales/zh/mkdocs.yml b/docs/locales/zh/mkdocs.yml index 7b434702d..768f609f2 100644 --- a/docs/locales/zh/mkdocs.yml +++ b/docs/locales/zh/mkdocs.yml @@ -2,8 +2,15 @@ INHERIT: ../../../mkdocs.yml site_name: "GoToSocial 文档" theme: language: zh + palette: + - scheme: slate + toggle: + name: 切换到浅色模式 + - scheme: default + toggle: + name: 切换到深色模式 docs_dir: . -edit_uri: edit/main/docs/locales/zh-cn/ +edit_uri: edit/main/docs/locales/zh/ copyright: GoToSocial 以 GNU AGPL v3 许可授权。版权所有 (C) 全体 GoToSocial 开发者 admin@gotosocial.org nav: