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
oandersonmagalhaes
f2d01d7a6a
🌐 Add Portuguese translation for `docs/pt/docs/advanced/events.md` ( #9326 )
Co-authored-by: Fernando Crozetta <[email protected] >
Co-authored-by: Lorhan Sohaky <[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
Evzen Ptacek
0e75981bd0
🌐 Initiate Czech translation setup ( #9288 )
Initiate Czech translation setup
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Luccas Mateus
7048ecfa7b
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/body-nested-models.md` ( #4053 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <[email protected] >
2 years ago
Lorhan Sohaky
d455f3f868
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/extra-models.md` ( #5912 )
Co-authored-by: Fábio Ueno <[email protected] >
2 years ago
Lorhan Sohaky
fa103cf1fd
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/path-operation-configuration.md` ( #5936 )
Co-authored-by: Fábio Ueno <[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
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
Bruno Artur Torres Lopes Pereira
8115282ed3
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/static-files.md` ( #5858 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
felipebpl
9ad2cb29f9
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/encoder.md` ( #5525 )
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Ayrton Freeman
ebd917a530
🌐 Add Portuguese translation for `docs/pt/docs/deployment/docker.md` ( #5663 )
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
Bruno Artur Torres Lopes Pereira
c040e3602a
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-forms-and-files.md` ( #5579 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
Bruno Artur Torres Lopes Pereira
c28337e61d
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-forms.md` ( #4934 )
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Lucas Mendes
2889b4a3df
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/body-multiple-params.md` ( #4111 )
Co-authored-by: Lorhan Sohaky <[email protected] >
Co-authored-by: Wuerike <[email protected] >
Co-authored-by: Lorhan Sohaky <[email protected] >
2 years ago
Lucas Mendes
330e8112ac
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/path-params-numeric-validations.md` ( #4099 )
Co-authored-by: Pedro Victor <[email protected] >
Co-authored-by: Lucas <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
Bruno Artur Torres Lopes Pereira
146b9d6e04
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/response-status-code.md` ( #4922 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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
Mário Victor Ribeiro Silva
68e04f6531
🌐 Fix MkDocs file line for Portuguese translation of `background-task.md` ( #5242 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Bruno Artur Torres Lopes Pereira
b63398f4b5
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/header-params.md` ( #4921 )
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] >
3 years ago
Bruno Artur Torres Lopes Pereira
73c6011ec4
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/query-params.md` ( #4775 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Fernando Simões
5d0e2f58e7
🌐 Add Portuguese translation for `tutorial/handling-errors.md` ( #4769 )
Co-authored-by: Lucas <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
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
Mário Victor Ribeiro Silva
15dd12629e
📝 Add dark mode auto switch to docs based on OS preference ( #4869 )
3 years ago
Mateus José
86c459d1e8
🌐 Add Portuguese translation for `docs/pt/docs/help-fastapi.md` ( #4583 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Lucas Mendes
4fa4432173
🌐 Add Portuguese translation for `docs/pt/docs/tutorial/cookie-params.md` ( #4112 )
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Lucas
8724c493d9
🌐 Add Portuguese translation for `docs/deployment/deta.md` ( #4442 )
Co-authored-by: Lorhan Sohaky <[email protected] >
Co-authored-by: Izabela Guerreiro <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Leandro de Souza
3005c8c7b9
🌐 Add Portuguese translation for `docs/tutorial/body.md` ( #3960 )
Co-authored-by: Marcelo Trylesinski <[email protected] >
Co-authored-by: Lucas <[email protected] >
Co-authored-by: Leandro de Souza <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
3 years ago
Luccas Mateus
f4620c42cf
🌐 Add Portuguese translation of `tutorial/extra-data-types.md` ( #4077 )
Co-authored-by: Lorhan Sohaky <[email protected] >
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
Leandro de Souza
10e3a02582
🌐 Add portuguese translation for `docs/tutorial/query-params-str-validations.md` ( #3965 )
Co-authored-by: Mário Victor Ribeiro Silva <[email protected] >
Co-authored-by: Leandro de Souza <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
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
Madat Bay
cc0d0f3899
🌐 Initialize Azerbaijani translations ( #3941 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Felipe Silva
8c36572d23
🌐 Add Portuguese translation for `docs/tutorial/path-params.md` ( #3664 )
Co-authored-by: Mário Victor Ribeiro Silva <[email protected] >
Co-authored-by: Izabela Guerreiro <[email protected] >
Co-authored-by: Marcelo Trylesinski <[email protected] >
Co-authored-by: Lucas <[email protected] >
Co-authored-by: Felipe <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Lucas
6de8748788
🌐 Add Portuguese translation for `docs/deployment/https.md` ( #3754 )
4 years ago
Mário Victor Ribeiro Silva
c03b9b2d4c
🌐 Add Portuguese translation of `docs/fastapi-people.md` ( #3461 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Mário Victor Ribeiro Silva
38c52fa12d
🌐 Add Portuguese translation for `docs/advanced/index.md` ( #3460 )
Co-authored-by: Lucas <[email protected] >
4 years ago
Sebastián Ramírez
30e742d566
✨ Enable recent Material for MkDocs Insiders features ( #3710 )
4 years ago
Sebastián Ramírez
9a33a0e24c
➕ Update docs library to include sources in Markdown ( #3648 )
4 years ago