Documentation site: https://mxuserbot.github.io/documentation/
Want to add a translation? Great!
The docs use MkDocs i18n plugin with folder-based structure. Each language has its own folder:
docs/ru/— Russian (default)docs/en/— English
- Copy
docs/ru/folder todocs/<your_locale>/ - Translate all
.mdfiles - Add the locale to
mkdocs.ymlinplugins.i18n.languagessection
Example for German:
plugins:
- i18n:
docs_structure: folder
languages:
- locale: ru
default: true
name: Русский
build: true
- locale: en
name: English
build: true
nav_translations:
...
- locale: de
name: Deutsch
build: true
nav_translations:
Главная: Home
Преимущества: Advantages
...- Send a Pull Request!