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
Sebastián Ramírez
6595658324
⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras ( #9655 )
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
Evzen Ptacek
0e75981bd0
🌐 Initiate Czech translation setup ( #9288 )
Initiate Czech translation setup
Co-authored-by: Sebastián Ramírez <[email protected] >
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
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
Sebastián Ramírez
f92f87d379
📝 Update references to Requests for tests to HTTPX, and add HTTPX to extras ( #5628 )
2 years ago
Ryusei Ishikawa
59208e4ddc
🌐 Add Japanese translation for `docs/ja/docs/advanced/websockets.md` ( #4983 )
Co-authored-by: tokusumi <[email protected] >
Co-authored-by: komtaki <[email protected] >
2 years ago
nikkie
0781a91d19
🌐 Fix highlight lines for Japanese translation for `docs/tutorial/query-params.md` ( #2969 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Fix https://github.com/tiangolo/fastapi/issues/2966
2 years ago
zhangbo
22524a1610
✏ Fix typo in docs about contributing, for compatibility with `pip` in Zsh ( #5523 )
Co-authored-by: zhangbo <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
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>
3 years ago
Sebastián Ramírez
ebe69913ae
🔧 Disable Material for MkDocs search plugin ( #5495 )
3 years ago
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 <[email protected] >
3 years ago
Yumihiki
38802eefeb
📝 Quote `pip install` command for Zsh compatibility in multiple languages ( #5214 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
sUeharaE4
e23fa40e6c
🌐 Add Japanese translation for `docs/ja/docs/advanced/nosql-databases.md` ( #4205 )
Co-authored-by: tokusumi <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3 years ago
Sebastián Ramírez
0ba0c4662d
✨ Add illustrations for Concurrent burgers and Parallel burgers ( #5277 )
3 years ago
Itay Raveh
59d154fa6f
🌐 Start of Hebrew translation ( #5050 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Robin
b4a98a7224
🌐 Start of Swedish translation ( #5062 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
wakabame
80cb57e4b2
🌐 Add Japanese translation for `docs/ja/docs/advanced/index.md` ( #5043 )
Co-authored-by: Amazyra <[email protected] >
Co-authored-by: tokusumi <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
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
3 years ago
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
3 years ago
Mário Victor Ribeiro Silva
15dd12629e
📝 Add dark mode auto switch to docs based on OS preference ( #4869 )
3 years ago
水上 皓登
a38b0a7fac
🌐 Fix code examples in Japanese translation for `docs/ja/docs/tutorial/testing.md` ( #4623 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Kinuax
cb5a200a7c
✏ Fix links to Pydantic docs ( #4670 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
alm
c0d6865c10
🌐 Remove translation docs references to aiofiles as it's no longer needed since AnyIO ( #3594 )
Co-authored-by: AlonMenczer <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
wakabame
e5980a71c2
🌐 Fix live docs server for translations for some languages ( #4729 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Sho Nakamura
944f06a901
🌐 Add Japanese translation for `docs/ja/docs/advanced/conditional-openapi.md` ( #2631 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
a-takahashi223
d286e6a5be
🌐 Fix Japanese translation of `docs/ja/docs/tutorial/body.md` ( #3062 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Sebastián Ramírez
5c842586c2
🌐 Start Dutch translations ( #4703 )
3 years ago
Amin Alaee
2b6f1585ec
🌐 Start Persian/Farsi translations ( #4243 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Sebastián Ramírez
ca2b1dbb64
🔧 Enable MkDocs Material Insiders' `content.tabs.link` ( #4399 )
3 years ago
Sebastián Ramírez
d08a062ee2
✨ Add docs and tests for Python 3.9 and Python 3.10 ( #3712 )
Co-authored-by: Thomas Grainger <[email protected] >
3 years ago
Sebastián Ramírez
764ecae2d4
⬆ Upgrade MkDocs Material and configs ( #4385 )
3 years ago
Edd Salkield
c29aa0bc87
🔧 Swap light/dark theme button icon ( #3246 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
mori yuta
e423c8241a
✏ Fix link in Japanese docs for `docs/ja/docs/deployment/docker.md` ( #3245 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Madat Bay
cc0d0f3899
🌐 Initialize Azerbaijani translations ( #3941 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Sebastián Ramírez
53a86a885d
✨ Update computation of FastAPI People and sponsors ( #3714 )
4 years ago
Sebastián Ramírez
30e742d566
✨ Enable recent Material for MkDocs Insiders features ( #3710 )
4 years ago
Sebastián Ramírez
4d4452ede5
🔥 Remove/clean extra imports from examples in docs for features ( #3709 )
4 years ago
Sebastián Ramírez
9a33a0e24c
➕ Update docs library to include sources in Markdown ( #3648 )
4 years ago
Yuya Sato
bb6c6ed5d1
🌐 Add Japanese translation for `docs/tutorial/security/oauth2-jwt.md` ( #3526 )
Co-authored-by: tokusumi <[email protected] >
Co-authored-by: Sho Nakamura <[email protected] >
4 years ago
Sebastián Ramírez
dbfd3f7e18
📝 Add official FastAPI Twitter to docs ( #3578 )
4 years ago
Marcelo Trylesinski
fc35b7d18d
🎨 Improve style for sponsors, add radius border ( #2388 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Thomas Grainger
2d296c5d07
🔧 Configure strict pytest options and update/refactor tests ( #2790 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago