Skip to content

Commit 24bacf3

Browse files
committed
add support for localization
1 parent 50a8191 commit 24bacf3

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

mkdocs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ plugins:
3232
- ru
3333
- glightbox
3434
- render_swagger
35+
- i18n:
36+
docs_structure: suffix
37+
languages:
38+
- locale: en
39+
default: true
40+
name: English
41+
build: true
42+
- locale: ru
43+
name: Russian
44+
build: true
3545

3646
extra:
3747
repo_icon: github

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ docs = [
8080
"mkdocs-material==9.1.0",
8181
"mkdocs-glightbox",
8282
"mkdocs-render-swagger-plugin",
83+
"mkdocs-static-i18n[material]"
8384
]
8485

8586
[tool.ruff]

uv.lock

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)