We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent defa675 commit 6398eb7Copy full SHA for 6398eb7
src/frame/lib/page-data.ts
@@ -144,6 +144,12 @@ async function translateTree(
144
let data
145
let content
146
try {
147
+ // HACK: Skip known-broken translation files and fall back to English.
148
+ // Remove once the translation repos have been fixed.
149
+ if (fullPath.includes('translations/') && relativePath === 'code-security/concepts/index.md') {
150
+ throw new FrontmatterParsingError('Skipping known-broken translation file')
151
+ }
152
+
153
const read = await readFileContents(fullPath)
154
// If it worked, great!
155
content = read.content
0 commit comments