Skip to content

Commit 1b305f1

Browse files
docs: upgrade mkdocs version (#734)
1 parent 1fb2453 commit 1b305f1

File tree

3 files changed

+58
-23
lines changed

3 files changed

+58
-23
lines changed

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
### macOS ###
2+
# General
3+
.DS_Store
4+
.AppleDouble
5+
.LSOverride
6+
7+
# Icon must end with two \r
8+
Icon
9+
10+
11+
# Thumbnails
12+
._*
13+
14+
# Files that might appear in the root of a volume
15+
.DocumentRevisions-V100
16+
.fseventsd
17+
.Spotlight-V100
18+
.TemporaryItems
19+
.Trashes
20+
.VolumeIcon.icns
21+
.com.apple.timemachine.donotpresent
22+
23+
# Directories potentially created on remote AFP share
24+
.AppleDB
25+
.AppleDesktop
26+
Network Trash Folder
27+
Temporary Items
28+
.apdisk
29+
30+
### macOS Patch ###
31+
# iCloud generated files
32+
*.icloud
33+
34+
### Python ###
135
# Byte-compiled / optimized / DLL files
236
__pycache__/
337
*.py[cod]

mkdocs.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -119,28 +119,29 @@ plugins:
119119
# Docstrings
120120
docstring_section_style: spacy
121121
- i18n:
122-
default_language: en
123122
docs_structure: folder
123+
fallback_to_default: true
124124
languages:
125-
en:
125+
- locale: en
126+
default: true
126127
name: English
127-
zh:
128+
- locale: zh
129+
default: false
128130
name: 中文
129-
nav_translations:
130-
zh:
131-
Home: 主页
132-
Installation: 安装
133-
Model Zoo: 模型仓库
134-
Tutorials: 教程
135-
Quick Start: 快速开始
136-
Configuration: 配置
137-
Finetune: 微调
138-
Inference: 推理
139-
Deployment: 部署
140-
Notes: 说明
141-
Change Log: 更新日志
142-
Code of Conduct: 行为准则
143-
FAQ: 常见问题
131+
nav_translations:
132+
Home: 主页
133+
Installation: 安装
134+
Model Zoo: 模型仓库
135+
Tutorials: 教程
136+
Quick Start: 快速开始
137+
Configuration: 配置
138+
Finetune: 微调
139+
Inference: 推理
140+
Deployment: 部署
141+
Notes: 说明
142+
Change Log: 更新日志
143+
Code of Conduct: 行为准则
144+
FAQ: 常见问题
144145

145146
extra:
146147
generator: false

requirements/docs.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-r ../requirements.txt
2-
mkdocs>=1.4.2
3-
mkdocs-material>=9.1.7
4-
mkdocstrings[python]>=0.21.2
5-
mkdocs-static-i18n>=0.56
6-
mkdocs-include-markdown-plugin>=4.0.4
2+
mkdocs>=1.5.2
3+
mkdocs-material>=9.2.6
4+
mkdocstrings[python]>=0.22.0
5+
mkdocs-static-i18n>=1.0.2
6+
mkdocs-include-markdown-plugin>=6.0.1

0 commit comments

Comments
 (0)