Skip to content

Commit a91300d

Browse files
authored
Apply suggestions from code review
1 parent f3749b8 commit a91300d

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

docs/astro.config.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ const plugins = [
3434
mainStarlightTypeDoc({
3535
sidebar: {
3636
label: 'Main API',
37-
translations: {
38-
ja: 'メイン API',
39-
zh: '主要 API',
40-
ko: '주요 API',
41-
},
4237
},
4338
entryPoints: ['../packages/agents/src/index.ts'],
4439
output: 'openai/agents',
@@ -48,11 +43,6 @@ const plugins = [
4843
mainRealtimeStarlightTypeDoc({
4944
sidebar: {
5045
label: '@openai/agents/realtime',
51-
translations: {
52-
ja: '@openai/agents/realtime',
53-
zh: '@openai/agents/realtime',
54-
ko: '@openai/agents/realtime',
55-
},
5646
},
5747
entryPoints: ['../packages/agents/src/realtime/index.ts'],
5848
output: 'openai/agents/realtime',

docs/src/scripts/translate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ function shouldSkipFile(filePath: string): boolean {
725725
if (
726726
rel.startsWith('ja/') ||
727727
rel.startsWith('ko/') ||
728-
rel.startsWith('fr/') ||
728+
rel.startsWith('zh/') ||
729729
(!filePath.endsWith('.md') && !filePath.endsWith('.mdx'))
730730
) {
731731
return true;

0 commit comments

Comments
 (0)