Browse Source

Skip not supported langs in `langs-json` command

pull/14555/head
Yurii Motov 7 months ago
parent
commit
9c1d8d645e
  1. 2
      scripts/docs.py

2
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))

Loading…
Cancel
Save