Commit Graph

249 Commits

Author SHA1 Message Date
jaystone776 cca48b3956
🌐 Add Chinese translation for `docs/zh/docs/advanced/sub-applications.md` (#3811)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:45:04 -05:00
jaystone776 8edc04f84c
🌐 Add Chinese translation for `docs/zh/docs/advanced/async-sql-databases.md` (#3805)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:44:40 -05:00
jaystone776 3e6c1e455b
🌐 Add Chinese translation for `docs/zh/docs/advanced/middleware.md` (#3804)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:44:27 -05:00
jaystone776 bc6f4ae5ee
🌐 Add Chinese translation for `docs/zh/docs/advanced/dataclasses.md` (#3803)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:44:14 -05:00
jaystone776 23ddb24279
🌐 Add Chinese translation for `docs/zh/docs/advanced/using-request-directly.md` (#3802)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:44:02 -05:00
jaystone776 32b5c3fbbb
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/http-basic-auth.md` (#3801)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:43:48 -05:00
jaystone776 6bee636f90
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/oauth2-scopes.md` (#3800)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:43:35 -05:00
jaystone776 3c7cd6f85f
🌐 Update Chinese translation for `docs/zh/docs/tutorial/cookie-params.md` (#3486)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:43:06 -05:00
jaystone776 3c70d6f231
🌐 Update Chinese translation for `docs/zh/docs/tutorial/header-params.md` (#3487)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:42:51 -05:00
jaystone776 2774e0fcd8
🌐 Update Chinese translation for `docs/tutorial/response-status-code.md` (#3498)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 17:40:18 -05:00
Alejandra 93034fea48
📝 Update links to Pydantic docs to point to new website (#11328) 2024-03-21 20:42:11 -05:00
水上 皓登 f29b30b784
🔥 Remove link to Pydantic's benchmark, on other i18n pages. (#11224) 2024-03-20 20:10:47 -05:00
Sebastián Ramírez f0becc4452
♻️ Refactor computing FastAPI People, include 3 months, 6 months, 1 year, based on comment date, not discussion date (#11304) 2024-03-16 18:54:24 -05:00
Jack Lee 7b21e027b3
🌐 Update Chinese translation for `docs/zh/docs/tutorial/metadata.md` (#11286) 2024-03-14 17:41:51 +01:00
Joshua Hanson 0e2f2d6d3a
📝 Update `python-multipart` GitHub link in all docs from `https://andrew-d.github.io/python-multipart/` to `https://github.com/Kludex/python-multipart` (#11239) 2024-03-13 20:02:19 +01:00
Aruelius.L 65fd7f5bb0
🌐 Update Chinese translation for `docs/zh/docs/contributing.md` (#10887) 2024-03-13 12:57:21 +01:00
JackLee 4f20ca6a7c
🌐 Update Chinese translation for `docs/zh/docs/tutorial/query-params.md` (#11242) 2024-03-09 01:32:05 +01:00
zqc 60130ed5f2
🌐 Add Chinese translation for `docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md` (#10870) 2024-02-01 16:11:05 -05:00
xzmeng fd330fc452
🌐 Add Chinese translation for `docs/zh/docs/deployment/concepts.md` (#10282) 2024-02-01 03:56:55 -05:00
jaystone776 1f9d5a1db9
🌐 Add Chinese translation for `docs/zh/docs/advanced/advanced-dependencies.md` (#3798) 2024-01-28 13:26:57 -05:00
jaystone776 13c6eb2db0
🌐 Add Chinese translation for `docs/zh/docs/advanced/events.md` (#3815) 2024-01-28 13:23:10 -05:00
jaystone776 fc4606e1d0
🌐 Add Chinese translation for `docs/zh/docs/advanced/behind-a-proxy.md` (#3820) 2024-01-28 13:22:37 -05:00
jaystone776 eaf394d364
🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-events.md` (#3818) 2024-01-28 13:21:02 -05:00
jaystone776 4b7fa89f4e
🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-websockets.md` (#3817) 2024-01-28 13:12:29 -05:00
jaystone776 1e8b44f3e4
🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-database.md` (#3821) 2024-01-28 13:09:26 -05:00
jaystone776 f81bedd853
🌐 Add Chinese translation for `docs/zh/docs/deployment/deta.md` (#3837) 2024-01-28 13:06:55 -05:00
jaystone776 5b0bff3e93
🌐 Add Chinese translation for `docs/zh/docs/history-design-future.md` (#3832) 2024-01-28 13:05:57 -05:00
jaystone776 49113c35be
🌐 Add Chinese translation for `docs/zh/docs/project-generation.md` (#3831) 2024-01-28 13:03:58 -05:00
xzmeng 38f8181fdc
🌐 Add Chinese translation for `docs/zh/docs/deployment/docker.md` (#10296) 2024-01-28 13:00:42 -05:00
Sebastián Ramírez 4d93299a57
🔧 Update sponsors, remove Deta (#11041) 2024-01-28 11:38:34 +01:00
theoohoho f1329abf99
✏️ Fix broken link in `docs/tutorial/sql-databases.md` in several languages (#10716) 2024-01-12 08:39:54 -05:00
HiemalBeryl 4c231854dc
✏️ Fix typos in `docs/zh/docs/tutorial/extra-data-types.md` (#10727) 2024-01-12 12:13:04 +01:00
Piotr Szaciłowski fd97e8efe4
📝 Update usage of Token model in security docs (#9313)
Co-authored-by: Alejandra Sánchez <ing.alejandrasanchezv@gmail.com>
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-11 16:21:35 -05:00
Nils Lindemann 6bda1326a4
📝 Add location info to `tutorial/bigger-applications.md` (#10552) 2024-01-11 16:59:27 +01:00
_Shuibei 9f7902925a
🌐 Add Chinese translation for `docs/zh/docs/advanced/additional-responses.md` (#10325)
Co-authored-by: unknown <lemonc2021@foxmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 16:53:39 +01:00
xzmeng 179c8a0763
🌐 Add Chinese translation for `docs/zh/docs/deployment/server-workers.md` (#10292)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Big Yellow Dog <dognasus@outlook.com>
2024-01-09 16:46:41 +01:00
xzmeng 4023510e4c
🌐 Add Chinese translation for `docs/zh/docs/deployment/cloud.md` (#10291)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lion <121552599+socket-socket@users.noreply.github.com>
2024-01-09 16:44:17 +01:00
xzmeng da9bd0ee4c
🌐 Add Chinese translation for `docs/zh/docs/deployment/manually.md` (#10279)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Big Yellow Dog <dognasus@outlook.com>
2024-01-09 16:39:41 +01:00
xzmeng 5eab5dbed6
🌐 Add Chinese translation for `docs/zh/docs/deployment/https.md` (#10277)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Big Yellow Dog <dognasus@outlook.com>
Co-authored-by: Lion <121552599+socket-socket@users.noreply.github.com>
2024-01-09 16:38:25 +01:00
xzmeng 152171e455
🌐 Add Chinese translation for `docs/zh/docs/deployment/index.md` (#10275)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 吴定焕 <108172295+wdh99@users.noreply.github.com>
2024-01-09 16:37:29 +01:00
KAZAMA-DREAM cb53749798
🌐 Add Chinese translation for `docs/zh/docs/learn/index.md` (#10479)
Co-authored-by: KAZAMA <wyy1778789301@163.com>
2024-01-09 10:33:25 -05:00
Royc30ne 0f4b6294bf
🌐 Update SQLAlchemy instruction in Chinese translation `docs/zh/docs/tutorial/sql-databases.md` (#9712)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-09 16:29:37 +01:00
Koke 759378d67f
✏️ Update Pydantic links to dotenv support (#10511) 2023-10-30 12:00:16 +04:00
Hasnat Sajid 6b903ff1fb
✏️ Update links in `docs/en/docs/async.md` and `docs/zh/docs/async.md` to make them relative (#10498) 2023-10-30 11:07:15 +04:00
Sebastián Ramírez 2e14c69c31
👷 Adopt Ruff format (#10517)
* 🔧 Update pre-commit, use ruff format

* ⬆️ Upgrade dependencies, use Ruff for formatting

* 🔧 Update Ruff config

* 🔨 Update lint and format scripts, use Ruff

* 🎨 Format internals with Ruff

* 🎨 Format docs scripts

* 🎨 Format tests

* 🎨 Format extra commas in src for docs

* 📝 Update docs mentioning `@lru_cache()`, use `@lru_cache` instead to keep consistency with the format

* 🎨 Update src for docs, use plain `@lru_cache`

* 🎨 Update src for docs format and docs references
2023-10-25 00:26:06 +04:00
Sebastián Ramírez dc7838eec3
🔥 Drop/close Gitter chat. Questions should go to GitHub Discussions, free conversations to Discord. (#10485) 2023-10-20 12:39:03 +04:00
Sebastián Ramírez 2ba7586ff3
⬆️ Drop support for Python 3.7, require Python 3.8 or above (#10442)
* 📝 Update docs, require Python 3.8+, drop 3.7

* 🔧 Update pyproject.toml, drop support for Python 3.7, require Python 3.8+

* 👷 Update CI GitHub Actions, drop support for Python 3.7, require 3.8+

* 📝 Update docs' references to Python 3.6 and 3.7, use Python 3.8
2023-10-17 09:59:11 +04:00
mkdir700 1453cea404
🌐 Add Chinese translation for `docs/zh/docs/async.md` (#5591)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jedore <jedore_fight@189.cn>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: 吴定焕 <108172295+wdh99@users.noreply.github.com>
2023-09-27 15:47:21 -05:00
jaystone776 0e2ca1cacb
🌐 Update Chinese translation for `docs/tutorial/security/simple-oauth2.md` (#3844)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-25 18:06:09 -05:00
xzmeng 2fcd8ce8ec
🌐 Add Chinese translation for `docs/zh/docs/deployment/versions.md` (#10276)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Big Yellow Dog <dognasus@outlook.com>
2023-09-22 18:30:46 -05:00
PieCat bf952d345c
🌐 Add Chinese translation for `docs/zh/docs/advanced/generate-clients.md` (#9883)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: xzmeng <aumo@foxmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-09-02 17:18:30 +02:00
吴定焕 e081145c7d
🌐 Add Chinese translation for `docs/zh/docs/tutorial/background-tasks.md` (#9812)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-27 20:55:40 +02:00
mahone3297 943baa387f
🌐 Update Chinese translations with new source files (#9738)
Co-authored-by: mkdir700 <mkdir700@gmail.com>
2023-07-27 20:49:03 +02:00
Creat55 703a1f200a
🌐 Update Chinese translation for `docs/zh/docs/tutorial/handling-errors.md` (#9485)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-07-27 20:42:48 +02:00
Sebastián Ramírez 5656ed09ef
Refactor docs for building scripts, use MkDocs hooks, simplify (remove) configs for languages (#9742)
*  Add MkDocs hooks to re-use all config from en, and auto-generate missing docs files form en

* 🔧 Update MkDocs config for es

* 🔧 Simplify configs for all languages

*  Compute available languages from MkDocs Material for config overrides in hooks

* 🔧 Update config for MkDocs for en, to make paths compatible for other languages

* ♻️ Refactor scripts/docs.py to remove all custom logic that is now handled by the MkDocs hooks

* 🔧 Remove ta language as it's incomplete (no translations and causing errors)

* 🔥 Remove ta lang, no translations available

* 🔥 Remove dummy overrides directories, no longer needed

*  Use the same missing-translation.md file contents for hooks

* ️ Restore and refactor new-lang command

* 📝 Update docs for contributing with new simplified workflow for translations

* 🔊 Enable logs so that MkDocs can show its standard output on the docs.py script
2023-06-25 14:33:58 +02:00
Sebastián Ramírez 51d3a8ff12
🔨 Add MkDocs hook that renames sections based on the first index file (#9737) 2023-06-24 16:47:15 +02:00
Sebastián Ramírez dd590f46ad
🔧 Update MkDocs for other languages (#9734) 2023-06-24 14:28:43 +02:00
я котик пур-пур cfc06a3a3d
📝 Update docs on Pydantic using ujson internally (#5804)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 17:06:25 +00:00
lordqyxz fa7474b2e8
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/index.md` (#9666)
Co-authored-by: shiyz <shiyz@finchina.com>
2023-06-22 18:19:49 +02:00
雨过初晴 804a0a90cf
🌐 Add Chinese translations for `docs/zh/docs/advanced/settings.md` (#9652) 2023-06-22 18:18:04 +02:00
雨过初晴 4a7b21483b
🌐 Add Chinese translations for `docs/zh/docs/advanced/websockets.md` (#9651) 2023-06-22 18:17:12 +02:00
吴定焕 e17cacfee4
🌐 Add Chinese translation for `docs/zh/docs/tutorial/testing.md` (#9641)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-22 18:16:06 +02:00
Sebastián Ramírez 6595658324
⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras (#9655) 2023-06-11 23:38:15 +02:00
雨过初晴 57679e8370
🌐 Add Chinese translations for `docs/zh/docs/advanced/response-change-status-code.md` and `docs/zh/docs/advanced/response-headers.md` (#9544) 2023-06-10 22:30:28 +02:00
吴定焕 d057294de1
🌐 Add Chinese translation for `docs/zh/docs/tutorial/static-files.md` (#9436)
Add Chinese translation for docs/zh/docs/tutorial/static-files.md
2023-06-03 14:49:32 +02:00
Saleumsack KEOBOUALAY ed1f93f803
🌐 Add setup for translations to Lao (#9396)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-08 13:15:37 +02:00
Evzen Ptacek 0e75981bd0
🌐 Initiate Czech translation setup (#9288)
Initiate Czech translation setup

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-25 12:08:01 -07:00
LeeeeT d4e85da18b
🌐 🔠 📄 🐢 Translate docs to Emoji 🥳 🎉 💥 🤯 🤯 (#5385)
* 🌐 💬  🩺  🦲

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* 🛠️😊

* ♻️ Rename emoji lang from emj to em, and main docs name as 😉

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Axd1x8a <26704473+FeeeeK@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-01 11:26:04 +02:00
Sebastián Ramírez 69673548bc
📝 Update order of examples, latest Python version first, and simplify version tab names (#9269)
* 📝 Simplify names in Python versions in tabs in docs

* 📝 Update docs for Types Intro, explain Python 3.6+, Python 3.9+, Python 3.10+

* 📝 Re-order all Python examples, show latest Python versions first
2023-03-18 17:16:02 +01:00
gusty1g 639cf3440a
🌐 Tamil translations - initial setup (#5564)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-03-06 20:31:37 +01:00
har8 83012a9cf6
🌐 Initiate Armenian translation setup (#5844)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-03-04 12:51:37 +00:00
Sebastián Ramírez a270ab0c3f
⬆️ Upgrade analytics (#6025) 2023-02-21 11:23:37 +01:00
Ben Ho 3178c17776
🌐 Fix typo in Chinese translation for `docs/zh/docs/benchmarks.md` (#4269)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-01-07 14:33:29 +00:00
Sebastián Ramírez f92f87d379
📝 Update references to Requests for tests to HTTPX, and add HTTPX to extras (#5628) 2022-11-13 16:20:05 +01:00
ZHCai a0c677ef0d
🌐 Update wording in Chinese translation for `docs/zh/docs/python-types.md` (#5416) 2022-11-03 13:07:49 +01:00
jaystone776 058cb6e88e
🌐 Update Chinese translation for `docs/tutorial/security/oauth2-jwt.md` (#3846)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-11-03 11:50:48 +00:00
Zssaer fcab59be88
🌐 Add Chinese translation for `docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md` (#4971)
Co-authored-by: Jeodre <jedore_fight@189.cn>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-10-31 19:08:15 +01:00
非法操作 db4452d47e
🌐 Update Chinese translation for `docs/zh/docs/tutorial/query-params-str-validations.md` (#5255)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-31 18:57:38 +01:00
Zssaer 9974c4b6ac
🌐 Add Chinese translation for `docs/zh/docs/tutorial/sql-databases.md` (#4999)
Co-authored-by: mkdir700 <56359329+mkdir700@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-31 18:56:49 +01:00
ASpathfinder a26a3c1cbf
🌐 Add Chinese translation for `docs/zh/docs/advanced/wsgi.md` (#4505)
Co-authored-by: Jeodre <jedore_fight@189.cn>
Co-authored-by: KellyAlsa-massive-win <lhz928441818@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-31 18:43:39 +01:00
zhangbo 22524a1610
✏ Fix typo in docs about contributing, for compatibility with `pip` in Zsh (#5523)
Co-authored-by: zhangbo <zhangbo@zjptmc.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-10-31 16:46:37 +00:00
yuk115nt5now bfb1422555
🌐 Fix typo in Chinese translation for `docs/zh/docs/tutorial/security/first-steps.md` (#5530) 2022-10-31 17:39:44 +01:00
Sebastián Ramírez e866a2c7e1
🐛 Fix calling `mkdocs` for languages as a subprocess to fix/enable MkDocs Material search plugin (#5501)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-16 17:01:38 +02:00
Sebastián Ramírez ebe69913ae
🔧 Disable Material for MkDocs search plugin (#5495) 2022-10-14 20:22:09 +00:00
Ofek Lev 4267bd1f4f
🔧 Update package metadata, drop support for Python 3.6, move build internals from Flit to Hatch (#5240)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-09-14 20:31:19 +02:00
ASpathfinder dc1534736d
🌐 Update Chinese translation for `docs/zh/docs/tutorial/request-files.md` (#4529)
Co-authored-by: KellyAlsa-massive-win <lhz928441818@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-09-04 15:40:14 +02:00
Zssaer 0d43b6552b
🌐 Add Chinese translation for `docs/zh/docs/tutorial/encoder.md` (#4969) 2022-09-04 15:39:06 +02:00
Yumihiki 38802eefeb
📝 Quote `pip install` command for Zsh compatibility in multiple languages (#5214)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-18 16:16:54 +00:00
zhangbo fb849ee7ef
🌐 Add translation for `docs/zh/docs/advanced/response-cookies.md` (#4638)
Co-authored-by: zhangbo <zhangbo@zjptmc.com>
2022-08-18 18:09:38 +02:00
jaystone776 dc7e13846c
🌐 Add Chinese translation for `docs/tutorial/security/first-steps.md` (#3841)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-18 15:57:21 +00:00
Sebastián Ramírez 0ba0c4662d
Add illustrations for Concurrent burgers and Parallel burgers (#5277) 2022-08-17 12:48:05 +02:00
Itay Raveh 59d154fa6f
🌐 Start of Hebrew translation (#5050)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-07-14 17:16:28 +00:00
Robin b4a98a7224
🌐 Start of Swedish translation (#5062)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-07-14 11:45:01 +00:00
Sebastián Ramírez ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
* 📝 Add docs recommending Union over Optional

* 📝 Update docs recommending Union over Optional

* 📝 Update source examples for docs, recommend Union over Optional

* 📝 Update highlighted lines with updated source examples

* 📝 Update highlighted lines in Markdown with recent code changes

* 📝 Update docs, use Union instead of Optional

* ♻️ Update source examples to recommend Union over Optional

* 🎨 Update highlighted code in Markdown after moving from Optional to Union
2022-05-14 06:59:59 -05:00
Sebastián Ramírez 3d0f130ff3
🔧 Add pre-commit with first config and first formatting pass (#4888)
* 🔧 Add first pre-commit config

* 🎨 Format YAML files with pre-commit

* 🎨 Format Markdown with pre-commit

* 🎨 Format SVGs, drawio, JS, HTML with pre-commit

*  Add pre-commit to dev dependencies

* ⬇️ Extend pre-commit range to support Python 3.6
2022-05-12 00:06:16 +00:00
Mário Victor Ribeiro Silva 15dd12629e
📝 Add dark mode auto switch to docs based on OS preference (#4869) 2022-05-11 13:53:57 -05:00
Kinuax cb5a200a7c
✏ Fix links to Pydantic docs (#4670)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-11 17:03:41 +00:00
Yue Chen 4fa0cd4def
🌐 Update source example highlights for `docs/zh/docs/tutorial/query-params-str-validations.md` (#4237)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-10 01:25:28 +00:00
alm c0d6865c10
🌐 Remove translation docs references to aiofiles as it's no longer needed since AnyIO (#3594)
Co-authored-by: AlonMenczer <alonm@spotnix.io>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-09 20:07:37 -05:00
wakabame e5980a71c2
🌐 Fix live docs server for translations for some languages (#4729)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-10 00:27:05 +00:00