Skip to content

Commit fe3ac63

Browse files
committed
astro config
1 parent b98e323 commit fe3ac63

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

docs/astro.config.mjs

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ const plugins = [
3434
mainStarlightTypeDoc({
3535
sidebar: {
3636
label: 'Main API',
37+
translations: {
38+
ja: 'メイン API',
39+
zh: '主要 API',
40+
ko: '주요 API',
41+
},
3742
},
3843
entryPoints: ['../packages/agents/src/index.ts'],
3944
output: 'openai/agents',
@@ -43,6 +48,11 @@ const plugins = [
4348
mainRealtimeStarlightTypeDoc({
4449
sidebar: {
4550
label: '@openai/agents/realtime',
51+
translations: {
52+
ja: '@openai/agents/realtime',
53+
zh: '@openai/agents/realtime',
54+
ko: '@openai/agents/realtime',
55+
},
4656
},
4757
entryPoints: ['../packages/agents/src/realtime/index.ts'],
4858
output: 'openai/agents/realtime',
@@ -87,7 +97,7 @@ const plugins = [
8797
paths: ['api/**'],
8898
},
8999
],
90-
exclude: ['ja/**', 'zh/**'],
100+
exclude: ['ja/**', 'zh/**', 'ko/**'],
91101
}),
92102
];
93103

@@ -98,6 +108,7 @@ const sidebar = [
98108
translations: {
99109
ja: '概要',
100110
zh: '概述',
111+
ko: '개요',
101112
},
102113
},
103114
{
@@ -106,13 +117,15 @@ const sidebar = [
106117
translations: {
107118
ja: 'クイックスタート',
108119
zh: '快速开始',
120+
ko: '빠른 시작',
109121
},
110122
},
111123
{
112124
label: 'Guides',
113125
translations: {
114126
ja: 'ガイド',
115127
zh: '指南',
128+
ko: '가이드',
116129
},
117130
items: [
118131
{
@@ -121,6 +134,7 @@ const sidebar = [
121134
translations: {
122135
ja: 'エージェント',
123136
zh: '智能体',
137+
ko: '에이전트',
124138
},
125139
},
126140
{
@@ -129,6 +143,7 @@ const sidebar = [
129143
translations: {
130144
ja: 'エージェントの実行',
131145
zh: '运行智能体',
146+
ko: '에이전트 실행',
132147
},
133148
},
134149
{
@@ -137,6 +152,7 @@ const sidebar = [
137152
translations: {
138153
ja: 'エージェントの実行結果',
139154
zh: '执行结果',
155+
ko: '실행 결과',
140156
},
141157
},
142158
{
@@ -145,6 +161,7 @@ const sidebar = [
145161
translations: {
146162
ja: 'ツール',
147163
zh: '工具',
164+
ko: '도구',
148165
},
149166
},
150167
{
@@ -153,6 +170,7 @@ const sidebar = [
153170
translations: {
154171
ja: 'マルチエージェント',
155172
zh: '多智能体编排',
173+
ko: '멀티 에이전트 오케스트레이션',
156174
},
157175
},
158176
{
@@ -161,6 +179,7 @@ const sidebar = [
161179
translations: {
162180
ja: 'ハンドオフ',
163181
zh: '交接',
182+
ko: '핸드오프',
164183
},
165184
},
166185
{
@@ -169,6 +188,7 @@ const sidebar = [
169188
translations: {
170189
ja: 'コンテキスト管理',
171190
zh: '上下文管理',
191+
ko: '컨텍스트 관리',
172192
},
173193
},
174194
{
@@ -177,6 +197,7 @@ const sidebar = [
177197
translations: {
178198
ja: 'モデル',
179199
zh: '模型',
200+
ko: '모델',
180201
},
181202
},
182203
{
@@ -185,6 +206,7 @@ const sidebar = [
185206
translations: {
186207
ja: 'ガードレール',
187208
zh: '护栏',
209+
ko: '가드레일',
188210
},
189211
},
190212
{
@@ -193,6 +215,7 @@ const sidebar = [
193215
translations: {
194216
ja: 'ストリーミング',
195217
zh: '流式传输',
218+
ko: '스트리밍',
196219
},
197220
},
198221
{
@@ -201,6 +224,7 @@ const sidebar = [
201224
translations: {
202225
ja: '人間の介入(HITL)',
203226
zh: '人机协作',
227+
ko: '휴먼 인 더 루프 (HITL)',
204228
},
205229
},
206230
{
@@ -209,6 +233,7 @@ const sidebar = [
209233
translations: {
210234
ja: 'MCP 連携',
211235
zh: 'MCP 集成',
236+
ko: '모델 컨텍스트 프로토콜 (MCP)',
212237
},
213238
},
214239
{
@@ -217,6 +242,7 @@ const sidebar = [
217242
translations: {
218243
ja: 'トレーシング',
219244
zh: '追踪',
245+
ko: '트레이싱',
220246
},
221247
},
222248
{
@@ -225,6 +251,7 @@ const sidebar = [
225251
translations: {
226252
ja: 'SDK の設定',
227253
zh: 'SDK 配置',
254+
ko: 'SDK 설정',
228255
},
229256
},
230257
{
@@ -233,6 +260,7 @@ const sidebar = [
233260
translations: {
234261
ja: 'トラブルシューティング',
235262
zh: '故障排除',
263+
ko: '문제 해결',
236264
},
237265
},
238266
{
@@ -241,6 +269,7 @@ const sidebar = [
241269
translations: {
242270
ja: 'リリースプロセス',
243271
zh: '发布流程',
272+
ko: '릴리스 프로세스',
244273
},
245274
},
246275
],
@@ -250,6 +279,7 @@ const sidebar = [
250279
translations: {
251280
ja: '音声エージェント',
252281
zh: '语音智能体',
282+
ko: '음성 에이전트',
253283
},
254284
items: [
255285
{
@@ -258,6 +288,7 @@ const sidebar = [
258288
translations: {
259289
ja: '音声エージェントの概要',
260290
zh: '语音智能体概述',
291+
ko: '음성 에이전트 개요',
261292
},
262293
},
263294
{
@@ -266,6 +297,7 @@ const sidebar = [
266297
translations: {
267298
ja: 'クイックスタート',
268299
zh: '快速开始',
300+
ko: '빠른 시작',
269301
},
270302
},
271303
{
@@ -274,6 +306,7 @@ const sidebar = [
274306
translations: {
275307
ja: '音声エージェントの構築',
276308
zh: '构建语音智能体',
309+
ko: '음성 에이전트 구축',
277310
},
278311
},
279312
{
@@ -282,6 +315,7 @@ const sidebar = [
282315
translations: {
283316
ja: 'リアルタイムトランスポート',
284317
zh: '传输机制',
318+
ko: '전송 방식',
285319
},
286320
},
287321
],
@@ -291,6 +325,7 @@ const sidebar = [
291325
translations: {
292326
ja: '拡張機能',
293327
zh: '扩展',
328+
ko: '확장 기능',
294329
},
295330
items: [
296331
{
@@ -299,6 +334,7 @@ const sidebar = [
299334
translations: {
300335
ja: 'AI SDK で任意モデルを指定',
301336
zh: '使用 AI SDK 指定任意模型',
337+
ko: 'AI SDK로 어떤 모델이든 사용',
302338
},
303339
},
304340
{
@@ -307,6 +343,7 @@ const sidebar = [
307343
translations: {
308344
ja: 'Realtime Agent を Twilio に接続',
309345
zh: '将实时智能体连接到 Twilio',
346+
ko: 'Realtime 에이전트를 Twilio에 연결',
310347
},
311348
},
312349
{
@@ -315,6 +352,7 @@ const sidebar = [
315352
translations: {
316353
ja: 'Cloudflare Workers 用トランスポート',
317354
zh: 'Cloudflare Workers 传输',
355+
ko: 'Cloudflare Workers 전송',
318356
},
319357
},
320358
],
@@ -324,6 +362,7 @@ const sidebar = [
324362
translations: {
325363
ja: 'APIリファレンス',
326364
zh: 'API 参考',
365+
ko: 'API 레퍼런스',
327366
},
328367
collapsed: false,
329368
items: [
@@ -390,6 +429,10 @@ export default defineConfig({
390429
label: '中文',
391430
lang: 'zh',
392431
},
432+
ko: {
433+
label: '한국어',
434+
lang: 'ko',
435+
},
393436
},
394437
social: [
395438
{

0 commit comments

Comments
 (0)