From 05627f797ebf29388c219b481c74a5acec0e00a9 Mon Sep 17 00:00:00 2001 From: Vignesh Natarajan Date: Wed, 29 Apr 2026 14:37:39 -0700 Subject: [PATCH] Docs: skip unsupported Mintlify locale nav --- scripts/check-docs-mdx.mjs | 2 -- scripts/docs-sync-publish.mjs | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/check-docs-mdx.mjs b/scripts/check-docs-mdx.mjs index ea92e651f62..90a391378dd 100644 --- a/scripts/check-docs-mdx.mjs +++ b/scripts/check-docs-mdx.mjs @@ -32,7 +32,6 @@ const MINTLIFY_LANGUAGE_CODES = new Set([ "id", "ar", "tr", - "th", "hi", "sv", "no", @@ -40,7 +39,6 @@ const MINTLIFY_LANGUAGE_CODES = new Set([ "nl", "uk", "vi", - "fa", "pl", "uz", "he", diff --git a/scripts/docs-sync-publish.mjs b/scripts/docs-sync-publish.mjs index de6d4f337f3..09b9042f2c6 100644 --- a/scripts/docs-sync-publish.mjs +++ b/scripts/docs-sync-publish.mjs @@ -115,6 +115,9 @@ const GENERATED_LOCALES = [ navFile: "fa-navigation.json", tmFile: "fa.tm.jsonl", navMode: "clone-en", + // Mintlify does not currently accept `fa` in navigation.languages. + // Preserve generated files/translation memory, but do not publish a nav entry. + navigation: false, }, { language: "tr", @@ -150,6 +153,9 @@ const GENERATED_LOCALES = [ navFile: "th-navigation.json", tmFile: "th.tm.jsonl", navMode: "clone-en", + // Mintlify does not currently accept `th` in navigation.languages. + // Preserve generated files/translation memory, but do not publish a nav entry. + navigation: false, }, ];