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
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
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
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
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
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
Madat Bay
cc0d0f3899
🌐 Initialize Azerbaijani translations ( #3941 )
Co-authored-by: Sebastián Ramírez <[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
Sebastián Ramírez
dbfd3f7e18
📝 Add official FastAPI Twitter to docs ( #3578 )
4 years ago
Mark H
5342a0a00f
🌐 Add basic setup for German translations ( #3522 )
4 years ago
Camila Gutierrez
6ebf60b175
🌐 Add Spanish translation for `tutorial/query-params.md` ( #2243 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Nasaruddin
7e4bfaf0e9
🌐 Initialize Indonesian translations ( #3014 )
Co-authored-by: Nasaruddin <[email protected] >
4 years ago
Camila Gutierrez
faec748ef6
🌐 Add Spanish translation of Tutorial - Path Parameters ( #2219 )
Co-authored-by: Pedro A. Moreno <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Camila Gutierrez
8a1f0aa3b6
🌐 Add Spanish translation of Tutorial - First Steps ( #2208 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
neternefer
85b32f51ff
🌐 Initialize new language Polish for translations ( #3170 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Sebastián Ramírez
73021d7261
📝 Update social links: add Discord, fix GitHub ( #2621 )
4 years ago
Sebastián Ramírez
9f89399f5e
🌐 Add docs lang selector widget ( #2542 )
* ✨ Add language selector widget
* 🔧 Update script to re-generate MkDocs configs, including langs widget
* 🔧 Update languages MkDocs configs, with lang selector widget
4 years ago
vjanz
7a2c5526d4
🌐 Start translation of the documentation for the Albanian language ( #2516 )
4 years ago
Sebastián Ramírez
e6f8aa8756
✨ Add newsletter: FastAPI and friends ( #2509 )
* ✨ Add newsletter: FastAPI and friends
* 🔧 Update MkDocs config for announcement
* 🔧 Update generation script to include overrides for announcements
4 years ago
Sebastián Ramírez
4bcdbc5673
✨ Set up and enable Material for MkDocs Insiders for the docs ( #2325 )
* ⬆️ Upgrade Material for MkDocs
* ⬆️ Install Material for MkDocs Insiders on CI
* 🔧 Update MkDocs configs to use Material for MkDocs Insiders
* ✨ Use the lightbulb because it looks nice 💡
* 💚 Fix GitHub Action workflow syntax for building docs
* 🐛 Fix GitHub Actions workflow syntax, strike one ⚾
4 years ago
Sebastián Ramírez
ac99792762
✨ Add Discord chat ( #2322 )
Co-authored-by: Marcelo Trylesinski <[email protected] >
4 years ago
hard_coder
c8365bd339
🌐 Initialize new language Korean for translations ( #2018 )
5 years ago
ryuckel
e1e8627168
🌐 Add Japanese translation for index.md ( #1571 )
5 years ago
JulianMaurin
60aa63b68a
🌐 Initialize translations for French ( #1975 )
Co-authored-by: JulianMaurin <[email protected] >
5 years ago
Yağızcan Değirmenci
4f0a3a9e4d
🌐 Initialize Turkish translations ( #1905 )
5 years ago
Sebastián Ramírez
272f01a153
🌐 Add Ukrainian language setup, without index translation ( #1830 )
5 years ago
Adrien Cacciaguerra
d71e807401
💄 Use OS preference theme for docs ( #1760 )
5 years ago
Sebastián Ramírez
135704dcc8
🐛 Re-enable search bar after adding markdown-data plugin ( #1703 )
5 years ago
Sebastián Ramírez
a5c03ba1b7
✨ External links in docs with data file ( #1701 )
* ➕ Add mkdocs-markdownextradata-plugin for docs
* 🔧 Update MkDocs config file(s) to include external data
* ✨ Add external links data file
* 📝 Use external data file in External Links
* ♻️ Update data files for langs
The cost is some duplication 😔 , these files are updated by the script, but to be able to serve locally they have to be duplicated
* ✨ Update docs script to copy data files
* 🔥 Remove needed duplication of data files for live docs in translations
5 years ago
Sebastián Ramírez
0d73b9ff1c
🔧 Add basic setup for Russian translations ( #1566 )
5 years ago
Cesare De Cal
2d9bb64047
🌐 Generated new translation directory to support Italian docs ( #1557 )
* Generated new translation directory to support Italian docs
* ⬆️ Upgrade/pin pytest to >= 5.4.3
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Alvaro Pernas
741de7f927
🌐 Add Spanish translation for Concurrency and async / await ( #1290 )
* final touches to async section ES translation
* minor fixes
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* Update docs/es/docs/async.md
Co-Authored-By: Camila Gutierrez <[email protected] >
* 📝 Update async/await docs in EN with emojis
* 📝 Update wording, format, and emojis for async/await in ES
* 🔧 Add async.md to MkDocs for Spanish
Co-authored-by: Camila Gutierrez <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Juan Funez
046d6b7fa0
🌐 Add Spanish translation for advanced/index.md ( #1250 )
* spanish translation for advanced/index.md
* Ajustes sugeridos
* ✏️ Capitalize docs title
* 🔧 Add config to MkDocs for spanish
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Sebastián Ramírez
761e5ff01d
🐛 Fix Spanish MkDocs title
5 years ago