]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
Enable Hindi language translation
authorYurii Motov <yurii.motov.monte@gmail.com>
Mon, 18 May 2026 15:43:51 +0000 (17:43 +0200)
committerYurii Motov <yurii.motov.monte@gmail.com>
Mon, 18 May 2026 16:04:33 +0000 (18:04 +0200)
docs/en/mkdocs.yml
docs/hi/mkdocs.yml [new file with mode: 0644]
pyproject.toml
scripts/docs.py

index bb67bca917e41a50dc949bd5301a29ccf96319ab..5eddc03796579fec115f925183e256ad4426e4a8 100644 (file)
@@ -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 (file)
index 0000000..de18856
--- /dev/null
@@ -0,0 +1 @@
+INHERIT: ../en/mkdocs.yml
index 8b066c125e75e6cf6ffdffd0feb66c889e16f886..c9ad24a6b5e745315c8068c66ae3606effbfd6d7 100644 (file)
@@ -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/",
index c36f976d5f8d6f55fe30857877674d8e992cc687..e134ce80b25ebd95e4928bc4b0a8737c140f9d89 100644 (file)
@@ -32,6 +32,7 @@ SUPPORTED_LANGS = {
     "uk",
     "zh",
     "zh-hant",
+    "hi",
 }