Commit Graph

2388 Commits

Author SHA1 Message Date
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
github-actions c563b5bcf1 📝 Update release notes 2023-06-24 14:47:59 +00: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
github-actions 3aea9acc68 📝 Update release notes 2023-06-24 12:31:54 +00:00
github-actions 8cee653ad8 📝 Update release notes 2023-06-24 12:29:17 +00:00
Sebastián Ramírez dd590f46ad
🔧 Update MkDocs for other languages (#9734) 2023-06-24 14:28:43 +02:00
github-actions 7d865c9487 📝 Update release notes 2023-06-24 00:00:47 +00:00
github-actions 2848951082 📝 Update release notes 2023-06-23 23:52:34 +00:00
github-actions 1471bc956c 📝 Update release notes 2023-06-23 18:17:17 +00:00
github-actions 5a3bbb62de 📝 Update release notes 2023-06-23 17:55:46 +00:00
Sebastián Ramírez 4721405ef7 🔖 Release version 0.98.0 2023-06-22 19:58:22 +02:00
Sebastián Ramírez 8066f85b3f 📝 Update release notes 2023-06-22 19:57:25 +02:00
github-actions 2ffb08d0bc 📝 Update release notes 2023-06-22 17:52:55 +00:00
github-actions 41d774ed6d 📝 Update release notes 2023-06-22 17:44:21 +00:00
github-actions a01c2ca3dd 📝 Update release notes 2023-06-22 17:43:29 +00:00
github-actions fdc713428e 📝 Update release notes 2023-06-22 17:26:46 +00:00
github-actions 586de94ca1 📝 Update release notes 2023-06-22 17:12:59 +00:00
github-actions 4842dfadcf 📝 Update release notes 2023-06-22 17:07:05 +00: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
github-actions c812b42293 📝 Update release notes 2023-06-22 17:04:50 +00:00
ivan-abc 68ce5b37dc
✏ Rewording in `docs/en/docs/tutorial/debugging.md` (#9581)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 17:04:16 +00:00
github-actions 0dc9a377dc 📝 Update release notes 2023-06-22 17:02:08 +00:00
Pankaj Kumar d82700c96d
✏️ Fix tooltips for light/dark theme toggler in docs (#9588) 2023-06-22 19:01:28 +02:00
github-actions fafe670db6 📝 Update release notes 2023-06-22 16:53:00 +00:00
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 <36765187+ivan-abc@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 18:52:24 +02:00
github-actions e76dd3e70d 📝 Update release notes 2023-06-22 16:44:41 +00:00
Marcel Sander e5f3d6a5eb
📝 Add german blog post (Domain-driven Design mit Python und FastAPI) (#9261) 2023-06-22 18:44:05 +02:00
github-actions 7217f167d4 📝 Update release notes 2023-06-22 16:41:05 +00:00
github-actions 762ede2bec 📝 Update release notes 2023-06-22 16:40:50 +00:00
jyothish-mohan a3b1478221
✏️ Tweak wording in `docs/en/docs/tutorial/security/index.md` (#9561) 2023-06-22 18:40:32 +02:00
Lili_DL 41ff599d4b
🌐 Fix typo in Spanish translation for `docs/es/docs/tutorial/first-steps.md` (#9571)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 18:40:17 +02:00
github-actions b1f27c96c4 📝 Update release notes 2023-06-22 16:35:04 +00:00
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 <36765187+ivan-abc@users.noreply.github.com>
Co-authored-by: Alexandr <alexandrhub@vk.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 16:33:47 +00:00
github-actions c7dad1bb59 📝 Update release notes 2023-06-22 16:33:28 +00:00
Alexandr 0ef164e1ee
📝 Update `Annotated` notes in `docs/en/docs/tutorial/schema-extra-example.md` (#9620)
Update for docs/tutorial/schema-extra-example.md

When working on the translation, I noticed that this page is missing the annotated tips that can be found in the rest of the documentation (I checked, and it's the only page where they're missing).
2023-06-22 18:32:53 +02:00
github-actions fd6a78cbfe 📝 Update release notes 2023-06-22 16:20:40 +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
github-actions 2f0541f17a 📝 Update release notes 2023-06-22 16:18:54 +00:00
雨过初晴 804a0a90cf
🌐 Add Chinese translations for `docs/zh/docs/advanced/settings.md` (#9652) 2023-06-22 18:18:04 +02:00
github-actions 847befdc1d 📝 Update release notes 2023-06-22 16:17:50 +00:00
雨过初晴 4a7b21483b
🌐 Add Chinese translations for `docs/zh/docs/advanced/websockets.md` (#9651) 2023-06-22 18:17:12 +02:00
github-actions 1182b36362 📝 Update release notes 2023-06-22 16:16:43 +00: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
github-actions 234cecb5bf 📝 Update release notes 2023-06-22 16:14:54 +00:00
ivan-abc 612cbee165
🌐 Add Russian translation for `docs/tutorial/extra-models.md` (#9619)
Co-authored-by: Alexandr <alexandrhub@vk.com>
2023-06-22 18:14:16 +02:00
github-actions 223ed67682 📝 Update release notes 2023-06-22 14:30:35 +00:00
ivan-abc a2a0119c14
🌐 Add Russian translation for `docs/tutorial/cors.md` (#9608)
Co-authored-by: Alexandr <alexandrhub@vk.com>
Co-authored-by: Vladislav Kramorenko <85196001+Xewus@users.noreply.github.com>
2023-06-22 16:29:56 +02:00
github-actions 09319d6271 📝 Update release notes 2023-06-22 14:29:41 +00:00
Michał Brotoń a92e9c957a
🌐 Add Polish translation for `docs/pl/docs/features.md` (#5348)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 16:29:05 +02:00
github-actions 7505f24f2e 📝 Update release notes 2023-06-22 11:47:12 +00:00