mirror of
https://fastgit.cc/github.com/openclaw/openclaw
synced 2026-05-01 06:36:23 +08:00
Docs: skip unsupported Mintlify locale nav
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user