Browse Source

Skip languages that are not ready yet in `scripts/docs.py update-languages`

pull/14555/head
Yurii Motov 7 months ago
parent
commit
842ab2d952
  1. 3
      scripts/docs.py

3
scripts/docs.py

@ -340,6 +340,9 @@ def get_updated_config_content() -> Dict[str, Any]:
for lang_path in get_lang_paths(): for lang_path in get_lang_paths():
if lang_path.name in {"en", "em"} or not lang_path.is_dir(): if lang_path.name in {"en", "em"} or not lang_path.is_dir():
continue continue
if lang_path.name not in ("de", "es", "pt", "ru"):
# Skip languages that are not yet ready
continue
code = lang_path.name code = lang_path.name
languages.append({code: f"/{code}/"}) languages.append({code: f"/{code}/"})
for lang_dict in languages: for lang_dict in languages:

Loading…
Cancel
Save