Thanks to visit codestin.com
Credit goes to github.com

Skip to content

📝 Specify language code for code block#14656

Merged
tiangolo merged 1 commit intomasterfrom
specify-lang-code-for-code-block
Jan 10, 2026
Merged

📝 Specify language code for code block#14656
tiangolo merged 1 commit intomasterfrom
specify-lang-code-for-code-block

Conversation

@YuriiMotov
Copy link
Member

We need to specify language code for this code block to be able to translate comments in translations of this page.
Otherwise translation fixer tool will replace the content of this block with content from English version.

I'll keep this PR as draft for some time to make sure we don't need more similar fixes.

@YuriiMotov YuriiMotov added the docs Documentation about how to use FastAPI label Jan 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 6, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing specify-lang-code-for-code-block (6a55384) with master (f2687dc)

Summary

✅ 20 untouched benchmarks
⏩ 40 skipped benchmarks1

Footnotes

  1. 40 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@tiangolo tiangolo marked this pull request as ready for review January 10, 2026 21:34
Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Let's merge this so that if we run the fixer, it will already be updated. 🤓

@tiangolo tiangolo merged commit b1db139 into master Jan 10, 2026
33 checks passed
@tiangolo tiangolo deleted the specify-lang-code-for-code-block branch January 10, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation about how to use FastAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants