From 9c1d8d645e27d633fec5d2fcfd3942c146e11f93 Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Wed, 17 Dec 2025 11:36:33 +0100 Subject: [PATCH] Skip not supported langs in `langs-json` command --- scripts/docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docs.py b/scripts/docs.py index 056f4033f..b35bb3627 100644 --- a/scripts/docs.py +++ b/scripts/docs.py @@ -428,7 +428,7 @@ def verify_docs(): def langs_json(): langs = [] for lang_path in get_lang_paths(): - if lang_path.is_dir(): + if lang_path.is_dir() and lang_path.name in SUPPORTED_LANGS: langs.append(lang_path.name) print(json.dumps(langs))