From c9172a73c9abe5554b3bd902f49cbedc86ae247a Mon Sep 17 00:00:00 2001 From: Rex Zhang Date: Fri, 14 Jun 2024 20:43:14 +0800 Subject: [PATCH] Update contributing document for MkDoc --- docs/contributing.en.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/contributing.en.md b/docs/contributing.en.md index 87bf34f..b742273 100644 --- a/docs/contributing.en.md +++ b/docs/contributing.en.md @@ -61,16 +61,22 @@ cp docs/index.en.md docs/index.ru.md `mkdocs.txt` example ```yaml -languages: - en: English - ru: русский - zh: 中文 -nav_translations: - zh: - Home: 首页 - Setup: 配置 - Reference: 资料 - Trouble Shooting: 故障处理 +- i18n: + docs_structure: suffix + languages: + - locale: en + default: true + name: English + build: true + - locale: zh + name: 中文 + build: true + nav_translations: + Home: 首页 + Getting started: 开始配置 + How To: 如何做 + Reference: 参考 + Trouble Shooting: 问题处理 ``` #### Ref