Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Added support for localisation #1188

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,20 @@ markdown_extensions:
permalink: true
use_directory_urls: false
plugins:
- i18n:
default_language: en
languages:
en:
name: English
build: true
fr:
name: French
build: true
zh:
name: Chinese
build: true
material_alternate: true
- search
- awesome-pages
- macros:
module_name: main
- minify:
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ mkdocs-material==8.0.2
mkdocs-awesome-pages-plugin==2.5.1
mkdocs-macros-plugin==0.6.0
requests==2.26.0
mkdocs-minify-plugin==0.5.0
mkdocs-minify-plugin==0.5.0
mkdocs-static-i18n==0.44