From: Yurii Motov Date: Mon, 18 May 2026 15:43:51 +0000 (+0200) Subject: Enable Hindi language translation X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5e5e855d76e08a673912988e41edcdda950405b2;p=thirdparty%2Ffastapi%2Ffastapi.git Enable Hindi language translation --- diff --git a/docs/en/mkdocs.yml b/docs/en/mkdocs.yml index bb67bca91..5eddc0379 100644 --- a/docs/en/mkdocs.yml +++ b/docs/en/mkdocs.yml @@ -347,6 +347,8 @@ extra: name: zh - 简体中文 - link: /zh-hant/ name: zh-hant - 繁體中文 + - link: /hi/ + name: hi - हिन्दी extra_css: - css/termynal.css - css/custom.css diff --git a/docs/hi/mkdocs.yml b/docs/hi/mkdocs.yml new file mode 100644 index 000000000..de18856f4 --- /dev/null +++ b/docs/hi/mkdocs.yml @@ -0,0 +1 @@ +INHERIT: ../en/mkdocs.yml diff --git a/pyproject.toml b/pyproject.toml index 8b066c125..c9ad24a6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -354,6 +354,7 @@ extend-exclude = [ "docs/uk/", "docs/zh/", "docs/zh-hant/", + "docs/hi/", "htmlcov/", "scripts/general-llm-prompt.md", "scripts/tests/test_translation_fixer/test_complex_doc/", diff --git a/scripts/docs.py b/scripts/docs.py index c36f976d5..e134ce80b 100644 --- a/scripts/docs.py +++ b/scripts/docs.py @@ -32,6 +32,7 @@ SUPPORTED_LANGS = { "uk", "zh", "zh-hant", + "hi", }