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: folderlanguages:
- locale: rudefault: truename: Русскийbuild: true
- locale: enname: Englishbuild: truenav_translations:
...
- locale: dename: Deutschbuild: truenav_translations:
Главная: HomeПреимущества: Advantages...- Send a Pull Request!