GUOHAO LIU
5e256aa069
fix: correct contrast pattern in anti-AI table
'不是...就是...' means 'either...or...' (disjunction), not the
intended contrast. Changed to '不是...只是...' which preserves
the original 'not X, but merely Y' meaning while still being
more natural than '并非...而只是...'.
Addresses Copilot and Codex review feedback.
3 weeks ago
GUOHAO LIU
25f140371c
docs(zh): improve translation prompt to avoid AI-style writing
Add a 'Writing style' section to the Chinese LLM translation prompt
that addresses common AI-generated translation patterns:
- Core rules: one sentence one idea, short sentences, spoken word order
- 12 concrete anti-patterns with real examples from current zh docs
- Reference style guides (Vue.js zh docs, 阮一峰, Go by Example zh)
- Expanded glossary from 4 to 22 terms (dependency injection, middleware,
validation, endpoint, decorator, etc.)
The current zh translations are grammatically correct but read like
AI output — overly formal, verbose, with English-influenced sentence
structure. This prompt improvement targets the root cause: the LLM
that generates the translations lacks style guidance.
3 weeks ago
Sebastián Ramírez
d822aefc8a
🌐 Update translations for zh (update-outdated) ( #15665 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 weeks ago
Sebastián Ramírez
31ced9d49e
🔧 Migrate docs from MkDocs to Zensical ( #15563 )
1 month ago
Sebastián Ramírez
eff8bc4e66
🌐 Update translations for zh (update-outdated) ( #15520 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
1 month ago
Sebastián Ramírez
12bbd9453f
🌐 Update translations for zh (update-outdated) ( #15177 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
3 months ago
Sebastián Ramírez
5ef5490bc4
🌐 Update translations for zh (add-missing) ( #15175 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Motov Yurii
0901b4092c
📝 Rename `docs_src/websockets` to `docs_src/websockets_` to avoid import errors ( #14979 )
4 months ago
Motov Yurii
eada361fa2
🌐 Update translations for zh (update-all) ( #14917 )
* Update all
* 🎨 Auto format
* Add missing
* 🎨 Auto format
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago
Sebastián Ramírez
376e108580
🌐 Update translations for zh (update-outdated) ( #14843 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
Co-authored-by: Yurii Motov <[email protected] >
5 months ago
Sebastián Ramírez
d9b7b65b81
🌐 Update translation prompts ( #14619 )
6 months ago
Sebastián Ramírez
52842fb8d3
🔧 Add LLM prompt file for Simplified Chinese, generated from the existing translations ( #14549 )
Co-authored-by: 史雲昔 (Vincy SHI) <[email protected] >
6 months ago
Motov Yurii
3063ada72f
✅ Add missing tests for code examples ( #14569 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nils-Hero Lindemann <[email protected] >
6 months ago
Marcelo Trylesinski
dde7bd1ceb
📝 Replace `starlette.io` by `starlette.dev` and `uvicorn.org` by `uvicorn.dev` ( #14176 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 months ago
Sebastián Ramírez
1884d76f61
🔧 Update sponsors: remove Platform.sh ( #14027 )
10 months ago
Valentyn
d9249c1949
📝 Fix Twitter to be X (Twitter) everywhere in documentation ( #13809 )
Co-authored-by: Valentyn Druzhynin <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
10 months ago
Denny Biasiolli
408b8a9beb
📝 Remove links to site callbackhell.com that doesn't exist anymore ( #14006 )
10 months ago
Mika
df779885fa
📝 Fix code include for Pydantic models example in `docs/zh/docs/python-types.md` ( #13997 )
Updated the Pydantic expiration example in the Chinese documentation
11 months ago
Charlie ✨
4b12a2818a
✏️ Remove redundant words in docs/zh/docs/python-types.md ( #13774 )
1 year ago
Sebastián Ramírez
214e0740c8
🍱 Update Drawio diagrams SVGs, single file per diagram, sans-serif font ( #13706 )
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
Zhongheng Cheng
94ae778082
🌐 Update Chinese translation for `docs/zh/docs/tutorial/index.md` ( #13374 )
1 year ago
Zhongheng Cheng
d0a247fc5a
🌐 Update Chinese translation for `docs/zh/docs/deployment/manually.md` ( #13324 )
1 year ago
Zhongheng Cheng
396ca69603
🌐 Update Chinese translation for `docs/zh/docs/deployment/server-workers.md` ( #13292 )
1 year ago
Zhongheng Cheng
f0d59e57f1
🌐 Update Chinese translation for `docs/zh/docs/tutorial/first-steps.md` ( #13348 )
1 year ago
Sofie Van Landeghem
f8878f3a98
🩺 Unify the badges across all tutorial translations ( #13329 )
Co-authored-by: Alejandra <[email protected] >
1 year ago
Sebastián Ramírez
9ec452a154
📝 Update docs for Query Params and String Validations, remove obsolete Ellipsis docs (`...`) ( #13377 )
1 year ago
Zhongheng Cheng
27c700a6d3
🌐 Update Chinese translation for `docs/zh/docs/fastapi-cli.md` ( #13102 )
2 years ago
Chen Pu
13a5b3f9b9
🌐 Update Chinese translation for `docs/zh/docs/advanced/security/oauth2-scopes.md` ( #13110 )
2 years ago
Zhongheng Cheng
f2986a1d53
🌐 Update Chinese translation for `docs/zh/docs/async.md` ( #13095 )
2 years ago
Zhongheng Cheng
c015245676
🌐 Add Chinese translation for `docs/zh/docs/advanced/openapi-webhooks.md` ( #13091 )
2 years ago
Zhongheng Cheng
a9f63e5d22
🌐 Add Chinese translation for `docs/zh/docs/advanced/async-tests.md` ( #13074 )
2 years ago
Zhibang Yue
a559f8f397
🌐 Add Chinese translation for `docs/zh/docs/advanced/events.md` ( #12512 )
2 years ago
Zhongheng Cheng
a0f6494803
🌐 Update Chinese translation for `docs/zh/docs/advanced/testing-dependencies.md` ( #13066 )
2 years ago
Zhongheng Cheng
929e844754
🌐 Add Chinese translation for `docs/zh/docs/tutorial/sql-databases.md` ( #13051 )
2 years ago
史雲昔 (Vincy SHI)
d3360406c4
🌐 Update Chinese translation for `docs/zh/docs/tutorial/query-params-str-validations.md` ( #12928 )
2 years ago
Zhongheng Cheng
c1220535cc
🌐 Add Chinese translation for `docs/zh/docs/tutorial/header-param-models.md` ( #13040 )
2 years ago
史雲昔 (Vincy SHI)
0e5f5d2e93
🌐 Update Chinese translation for `docs/zh/docs/tutorial/path-params.md` ( #12926 )
2 years ago
史雲昔 (Vincy SHI)
97206ee28f
🌐 Update Chinese translation for `docs/zh/docs/tutorial/first-steps.md` ( #12923 )
2 years ago
Zhongheng Cheng
9802b90b66
🌐 Add Chinese translation for `docs/zh/docs/tutorial/cookie-param-models.md` ( #13038 )
2 years ago
Zhongheng Cheng
0d49633776
🌐 Add Chinese translation for `docs/zh/docs/tutorial/request-form-models.md` ( #13045 )
2 years ago
史雲昔 (Vincy SHI)
b65ed450b3
🌐 Add Chinese translation for `docs/zh/docs/tutorial/query-param-models.md` ( #12931 )
2 years ago
Sebastián Ramírez
1c711e7147
📝 Update includes format in docs with an automated script ( #12950 )
2 years ago
Sebastián Ramírez
602e953158
🔥 Remove obsolete tutorial translation to Chinese for `docs/zh/docs/tutorial/sql-databases.md`, it references files that are no longer on the repo ( #12949 )
2 years ago
David Caro
bfaf4c303f
📝 Remove mention of Celery in the project generators ( #12742 )
Signed-off-by: David Caro <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Sebastián Ramírez
8767a31c80
📝 Update `contributing.md` docs, include note to not translate this page ( #12841 )
2 years ago
Sebastián Ramírez
7fb9c5922d
📝 Fix admonition double quotes with new syntax ( #12835 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
Zhaohan Dong
e812f87276
📝 Update includes in `docs/zh/docs/advanced/additional-responses.md` ( #12828 )
2 years ago
史云昔 (Vincy SHI)
58eb4e4fc5
🌐 Add Chinese translation for `docs/zh/docs/environment-variables.md` ( #12784 )
2 years ago
Zhaohan Dong
5e0722276a
📝 Update includes in `docs/zh/docs/tutorial/background-tasks.md` ( #12798 )
2 years ago
史云昔 (Vincy SHI)
45d9fabbdd
🌐 Add Chinese translation for `docs/zh/docs/virtual-environments.md` ( #12790 )
2 years ago