Docs: skip unsupported Mintlify locale nav

This commit is contained in:
Vignesh Natarajan
2026-04-29 14:37:39 -07:00
parent aaf4cc6862
commit 05627f797e
2 changed files with 6 additions and 2 deletions

View File

@@ -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",

View File

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