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
1 year ago
Sebastián Ramírez
e8bd645fa9
📝 Update data structure and render for external-links ( #10495 )
* 📝 Update data structure and render for external-links
* 📝 Update translations for external links
1 year ago
Sebastián Ramírez
dc7838eec3
🔥 Drop/close Gitter chat. Questions should go to GitHub Discussions, free conversations to Discord. ( #10485 )
1 year ago
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
1 year ago
Aleksandr Andrukhov
cb410d3015
🌐 Fix typo in Russian translation for `docs/ru/docs/tutorial/body-fields.md` ( #10224 )
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
Aleksandr Andrukhov
84794221d9
🌐 Add Russian translation for `docs/ru/docs/tutorial/header-params.md` ( #10226 )
Co-authored-by: Artem Golicyn <[email protected] >
Co-authored-by: Nikita <[email protected] >
2 years ago
Vladislav Kramorenko
fe3eaf63e6
🌐 Add Russian translation for `docs/ru/docs/deployment/docker.md` ( #9971 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yois4101 <[email protected] >
2 years ago
Aleksandr Pavlov
1c919dee3c
🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/global-dependencies.md` ( #9970 )
Co-authored-by: dedkot <[email protected] >
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
Nikita
88d96799b1
🌐 Add Russian translation for `docs/ru/docs/tutorial/security/index.md` ( #9963 )
Co-authored-by: dedkot <[email protected] >
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
dedkot
608cc4fea3
🌐 Add Russian translation for `docs/tutorial/request-forms.md` ( #9841 )
2 years ago
Sergei Glazkov
81772b46a8
🌐 Add Russian translation for `docs/ru/docs/tutorial/response-model.md` ( #9675 )
Co-authored-by: s.glazkov <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <[email protected] >
Co-authored-by: ivan-abc <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
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
2 years ago
Sebastián Ramírez
51d3a8ff12
🔨 Add MkDocs hook that renames sections based on the first index file ( #9737 )
2 years ago
Sebastián Ramírez
dd590f46ad
🔧 Update MkDocs for other languages ( #9734 )
2 years ago
я котик пур-пур
cfc06a3a3d
📝 Update docs on Pydantic using ujson internally ( #5804 )
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
TabarakoAkula
47342cdd18
🌐 Add Russian translation for `docs/ru/docs/tutorial/metadata.md` ( #9681 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: ivan-abc <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
TabarakoAkula
4c401aef0f
🌐 Add Russian translation for `docs/tutorial/path-operation-configuration.md` ( #9696 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: ivan-abc <[email protected] >
Co-authored-by: Alexandr <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
ivan-abc
612cbee165
🌐 Add Russian translation for `docs/tutorial/extra-models.md` ( #9619 )
Co-authored-by: Alexandr <[email protected] >
2 years ago
ivan-abc
a2a0119c14
🌐 Add Russian translation for `docs/tutorial/cors.md` ( #9608 )
Co-authored-by: Alexandr <[email protected] >
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
Alexandr
57727fa4e0
🌐 Add Russian translation for `docs/ru/docs/tutorial/body-nested-models.md` ( #9605 )
Co-authored-by: ivan-abc <[email protected] >
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
Sebastián Ramírez
6595658324
⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras ( #9655 )
2 years ago
Ildar Ramazanov
e3d67a150c
🌐 Add Russian translation for `docs/ru/docs/tutorial/index.md` ( #5896 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Alexandr
510fa5b7fe
🌐 Add Russian translation for `docs/ru/docs/tutorial/schema-extra-example.md` ( #9621 )
Co-authored-by: ivan-abc <[email protected] >
2 years ago
Sergei Solomein
8474bae744
🌐 Add Russian translation for `docs/tutorial/body.md` ( #3885 )
Co-authored-by: Teregov_Ruslan <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: FedorGN <[email protected] >
2 years ago
Alexandr
1309f67f64
🌐 Add Russian translation for `docs/ru/docs/tutorial/static-files.md` ( #9580 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Vladislav Kramorenko <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Artem Golicyn
918d96f6ad
🌐 Add Russian translation for `docs/ru/docs/tutorial/first-steps.md` ( #9471 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Vladislav Kramorenko <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Alexandr
4c9ac66554
🌐 Add Russian translation for `docs/ru/docs/tutorial/query-params.md` ( #9584 )
Co-authored-by: Vladislav Kramorenko <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Alexandr
1f92ad349c
🌐 Add Russian translation for `docs/ru/docs/tutorial/debugging.md` ( #9579 )
Co-authored-by: ivan-abc <[email protected] >
Co-authored-by: Vladislav Kramorenko <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Artem Golicyn
5017949010
🌐 Add Russian translation for `docs/ru/docs/tutorial/path-params.md` ( #9519 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
ivan-abc
ad77d7f926
🌐 Add Russian translation for `docs/ru/docs/tutorial/path-params-numeric-validations.md` ( #9563 )
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
Vladislav Kramorenko
061e912ccf
🌐 Add Russian translation for `docs/ru/docs/deployment/concepts.md` ( #9577 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
Alexandr
72c72774c5
🌐 Add Russian translation for `docs/ru/docs/tutorial/body-multiple-params.md` ( #9586 )
* 🌐 Add Russian translation for docs/tutorial/body-multiple-params.md
Co-authored-by: ivan-abc <[email protected] >
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
Vladislav Kramorenko
42ca1cb42d
🌐 Add Russian translation for `docs/ru/docs/deployment/manually.md` ( #9417 )
Co-authored-by: Artem Golicyn <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
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>
2 years ago
Vladislav Kramorenko
928bb2e2ce
🌐 Add Russian translation for `docs/ru/docs/tutorial/testing.md` ( #9403 )
Add Russian translation for docs/ru/docs/tutorial/testing.md
2 years ago
Vladislav Kramorenko
d56f02a986
🌐 Add Russian translation for `docs/ru/docs/deployment/https.md` ( #9428 )
Co-authored-by: Artem Golicyn <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Evzen Ptacek
0e75981bd0
🌐 Initiate Czech translation setup ( #9288 )
Initiate Czech translation setup
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Nadezhda Fedina
da21ec92cf
🌐 Add Russian translation for `docs/ru/docs/tutorial/response-status-code.md` ( #9370 )
* Add Russian translation for docs/ru/docs/tutorial/response-status-code.md
* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
* Apply suggestions from code review
Co-authored-by: Vladislav Kramorenko <[email protected] >
* Replace 'response code' with 'status code', make minor translation improvements
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Vladislav Kramorenko <[email protected] >
2 years ago
Vladislav Kramorenko
723d47403b
🌐 Add Russian translation for `docs/ru/docs/alternatives.md` ( #5994 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Aleksandr Egorov
0ab88cd1a9
🌐 Add Russian translation for `docs/ru/docs/contributing.md` ( #6002 )
Co-authored-by: stigsanek <[email protected] >
Co-authored-by: Marcelo Trylesinski <[email protected] >
2 years ago
Vladislav Kramorenko
dafce52bc7
🌐 Add Russian translation for `docs/ru/docs/project-generation.md` ( #9243 )
2 years ago
dedkot
6bc0d210da
🌐 Add Russian translation for `docs/ru/docs/tutorial/query-params-str-validations.md` ( #9267 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
Vladislav Kramorenko
221b22200a
🌐 Add Russian translation for `docs/ru/docs/benchmarks.md` ( #9271 )
* del docs/ru/docs/contributing.md
* ru translate for */docs/ru/docs/project-generation.md
* docs/ru/docs/benchmarks.md
* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
* Delete project-generation.md
* Update benchmarks.md
* Update benchmarks.md
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
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 <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
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
2 years ago
Vladislav Kramorenko
d1f3753e5e
🌐 Add Russian translation for `docs/ru/docs/history-design-future.md` ( #5986 )
2 years ago
gusty1g
639cf3440a
🌐 Tamil translations - initial setup ( #5564 )
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
har8
83012a9cf6
🌐 Initiate Armenian translation setup ( #5844 )
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Sebastián Ramírez
a270ab0c3f
⬆️ Upgrade analytics ( #6025 )
2 years ago
Igor Shevchenko
3c5536a780
🌐 Add Russian translation for `docs/ru/docs/tutorial/cookie-params.md` ( #5890 )
2 years ago