File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 - name : Install MkDocs and theme
4040 run : |
4141 python -m pip install --upgrade pip
42- pip install "mkdocs>=1.6.0" "mkdocs-material>=9.0.0"
42+ pip install "mkdocs>=1.6.0" "mkdocs-material>=9.0.0" "mkdocs-static-i18n"
4343
4444 - name : Build site
4545 run : mkdocs build --strict
Original file line number Diff line number Diff line change 2222
2323theme :
2424 name : material
25- language : en
2625
2726markdown_extensions :
2827 - admonition
@@ -32,3 +31,26 @@ markdown_extensions:
3231
3332plugins :
3433 - search
34+ - i18n :
35+ docs_structure : folder
36+ reconfigure_material : true
37+ languages :
38+ - locale : en
39+ name : English
40+ default : true
41+ build : true
42+ - locale : zh
43+ name : 中文
44+ build : true
45+ nav_translations :
46+ Home : 首页
47+ Quickstart : 快速开始
48+ Core : 核心组件
49+ Async client : 异步客户端
50+ Base bot : Bot 基类
51+ Bot runner : Bot 运行器
52+ Commands : 命令系统
53+ Config : 配置
54+ Logging : 日志
55+ Models : 数据模型
56+ Storage : 存储
You can’t perform that action at this time.
0 commit comments