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, }, ];