Skip to content

Commit a5fc259

Browse files
authored
Add guidelines for translation script contributors (#1821)
1 parent c76fc26 commit a5fc259

File tree

6 files changed

+22
-0
lines changed

6 files changed

+22
-0
lines changed

.github/workflows/update-docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,20 @@ name: "Update Translated Docs"
55
# 2. When you add a new page to the left-hand menu, **make sure to manually update mkdocs.yml** to include the new item.
66
# 3. If you switch to a different LLM (for example, from o3 to a newer model), be sure to conduct thorough testing before making the switch.
77

8+
# To add more languages, you will update the following:
9+
# 1. Add '!docs/{lang}/**' to `on.push.paths` in this file
10+
# 2. Update mkdocs.yml to have the new language
11+
# 3. Update docs/scripts/translate_docs.py to have the new language
12+
813
on:
914
push:
1015
branches:
1116
- main
1217
paths:
1318
- 'docs/**'
1419
- mkdocs.yml
20+
- '!docs/ja/**'
21+
- '!docs/ko/**'
1522

1623
permissions:
1724
contents: write
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `Advanced Sqlite Session`
2+
3+
::: agents.extensions.memory.advanced_sqlite_session
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `Encrypt Session`
2+
3+
::: agents.extensions.memory.encrypt_session

docs/ref/memory/util.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `Util`
2+
3+
::: agents.memory.util

docs/ref/realtime/audio_formats.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `Audio Formats`
2+
3+
::: agents.realtime.audio_formats

docs/ref/tool_guardrails.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `Tool Guardrails`
2+
3+
::: agents.tool_guardrails

0 commit comments

Comments
 (0)