Sebastián Ramírez
1f01ce9615
📝 Use Optional in docs ( #1644 )
* Updated .py files with Optional tag (up to body_nested_models)
* Update optionals
* docs_src/ all updates, few I was unsure of
* Updated markdown files with Optional param
* es: Add Optional typing to index.md
* Last of markdown files updated with Optional param
* Update highlight lines
* it: Add Optional typings
* README.md: Update with Optional typings
* Update more highlight increments
* Update highlights
* schema-extra-example.md: Update highlights
* updating highlighting on website to reflect .py changes
* Update highlighting for query-params & response-directly
* Address PR comments
* Get rid of unnecessary comment
* ⏪ Revert Optional in Chinese docs as it probably also requires changes in text
* 🎨 Apply format
* ⏪ Revert modified example
* ♻️ Simplify example in docs
* 📝 Update OpenAPI callback example to use Optional
* ✨ Add Optional types to tests
* 📝 Update docs about query params, default to using Optional
* 🎨 Update code examples line highlighting
* 📝 Update nested models docs to use "type parameters" instead of "subtypes"
* 📝 Add notes about FastAPI usage of None
including:
= None
and
= Query(None)
and clarify relationship with Optional[str]
* 📝 Add note about response_model_by_alias
* ♻️ Simplify query param list example
* 🔥 Remove test for removed example
* ✅ Update test for updated example
Co-authored-by: Christopher Nguyen <[email protected] >
Co-authored-by: yk396 <[email protected] >
Co-authored-by: Kai Chen <[email protected] >
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
Sebastián Ramírez
b0414b9929
📝 Add new links ( #1467 )
* 📝 Update opinions including Netflix and add format
* 📝 Add new external links
* 📝 Update README
5 years ago
Sebastián Ramírez
22f7eae3f2
✏️ Make sure the * in the README is consistent in the docs ( #1424 )
5 years ago
Sebastián Ramírez
f8f0a6e462
✏️ Fix typos in async docs ( #1423 )
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
MartinEliasQ
9812684178
🌐 Add Spanish translation for the tutorial-user-guide index page ( #1244 )
* Spanish translation for the tutorial-user-guide index page
* Improve some parts of the text in terms of writing
* Change the wording to keep the documentation consistent.
* 📝 Add small wording and consistency changes
* 🎨 Apply the same consistency changes to EN 🤷
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Camila Gutierrez
bd1e85a8d3
📝 Add Spanish translation for the Python Types Intro page ( #1237 )
* Spanish translation Python Types Intro page
* 📝 Fix tuple docs in Types intro
* ✏️ Fix typos and wording nitpicks
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Camila Gutierrez
a7b4c73663
📝 Add Spanish translation for the Features page ( #1220 )
* Spanish translation for the Features page
* ✏️ Fix small typos and wording nitpicks
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Sebastián Ramírez
483bce3ae1
⬆️ Upgrade to MkDocs Material 5 and update docs scripts ( #1225 )
* ⬆️ Upgrade mkdocs.yml configs for MkDocs Material 5
* ✨ Update docs.py to always update mkdocs.yml
* 🌐 Update mkdocs.yml for translations
* 🔧 Update MkDocs config
* ✨ Add tabs for alternative options
* ⬆️ Update termynal setup with new CSS classes
* 🔧 Sync / Update mkdocs.yml for languages
5 years ago
Gao Chao
651ee5e4d2
🎨 Update log style in main page, for GitHub Markdown compatibility ( #1200 )
* Update README.md
fix string format
* 🎨 Update log style in main page, for GitHub Markdown compatibility
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Cássio Botaro
0a77c613b0
🌐 Add new language on docs: pt ( #1210 )
5 years ago
Camila Gutierrez
3a0c22ce7d
🌐 Translate index to Spanish ( #1201 )
5 years ago
Ikkyu
eb6be1d725
💬 Add new language of docs: zh ( #1187 )
5 years ago
Sebastián Ramírez
53a7798e58
🎨 Update badge for coverage ( #1175 )
from shields.io, as Codecov's one shows coverage for the last PR from a fork at master
5 years ago
Sebastián Ramírez
6205935323
✨ Add support for docs translations ( #1168 )
* 🌐 Refactor file structure to support internationalization
* ✅ Update tests changed after i18n
* 🔀 Merge Typer style from master
* 🔧 Update MkConfig with Typer-styles
* 🎨 Format mkdocs.yml with cannonical form
* 🎨 Format mkdocs.yml
* 🔧 Update MkDocs config
* ➕ Add docs translation scripts dependencies
* ✨ Add Typer scripts to handle translations
* ✨ Add missing translation snippet to include
* ✨ Update contributing docs, add docs for translations
* 🙈 Add docs_build to gitignore
* 🔧 Update scripts with new locations and docs scripts
* 👷 Update docs deploy action with translations
* 📝 Add note about languages not supported in the theme
* ✨ Add first translation, for Spanish
5 years ago