From b3d75f851262ceb1e4f763e093434ec1a2ca578b Mon Sep 17 00:00:00 2001 From: CDN18 Date: Sat, 2 Nov 2024 06:19:43 +0800 Subject: [PATCH] [docs] add lang dropdown --- mkdocs.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 4f179f1a4..9045b26f7 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -34,6 +34,15 @@ plugins: syntaxHighlightTheme: obsidian - include-markdown +extra: + alternate: + - name: English + link: /en/ + lang: en + - name: 中文 + link: /zh-cn/ + lang: zh + extra_css: - assets/css/colours.css