Commit Graph

189 Commits

Author SHA1 Message Date
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