Commit Graph

6545 Commits

Author SHA1 Message Date
Yurii Motov
18de676729 Integrate check_translation function to translate_page - retry up to 2 times if translation check failed 2026-01-07 23:22:55 +01:00
Yurii Motov
c7f776407b Fix FileNotFoundError in translate.py 2026-01-07 23:22:55 +01:00
Yurii Motov
d928bff07f Merge remote-tracking branch 'upstream/master' into check-translation-script 2026-01-07 23:16:58 +01:00
Yurii Motov
cfc9b9430b Refactor translation_fixer.process_one_page - move some logic to doc_parsing_utils.check_translation 2026-01-07 23:11:58 +01:00
github-actions[bot]
e6a08f313d 🎨 Auto format 2026-01-06 10:36:07 +00:00
Yurii Motov
bf8507209a Remove cmpr.py 2026-01-06 11:30:36 +01:00
Yurii Motov
9a96763bad Improve error messages in replace_multiline_code_block 2026-01-06 11:27:26 +01:00
Yurii Motov
b08681fafd Add tests for code blocks 2026-01-06 11:04:52 +01:00
Yurii Motov
6fcc6054ff Only warn about mermaid diagram if it's changed 2026-01-06 11:04:36 +01:00
Yurii Motov
ce8a5ab91c Fix CODE_BLOCK_LANG_RE to handle 4 backticks 2026-01-06 10:38:21 +01:00
Yurii Motov
f5112778d0 Add tests for html links 2026-01-06 09:54:29 +01:00
Yurii Motov
a8bf5871d7 Add tests for markdown links 2026-01-06 08:43:19 +01:00
Yurii Motov
5ca9472d8a Fix check for markdown links number mismatch 2026-01-06 08:26:08 +01:00
Yurii Motov
5c50b3dd15 Add tests for header and permalinks 2026-01-06 07:23:01 +01:00
Yurii Motov
8c5f21c83c Fix error message on header level mismatch 2026-01-06 07:20:38 +01:00
Yurii Motov
6b987b7262 Add more tests for code includes 2026-01-06 06:44:31 +01:00
Yurii Motov
50dd09a7b2 Remove commented code 2026-01-06 06:18:53 +01:00
Yurii Motov
e076f651e7 Increase verbosity of replace_multiline_code_block and replace_multiline_code_blocks_in_text 2026-01-06 06:03:38 +01:00
Yurii Motov
badefaba9f Refactor replace_html_links, improve error message 2026-01-06 05:57:26 +01:00
Yurii Motov
5b812d4754 Improve error message in replace_header_permalinks 2026-01-05 20:17:24 +01:00
Yurii Motov
44b530168e Simplify replace_markdown_links, improve error message 2026-01-05 20:16:59 +01:00
Yurii Motov
6c50c68761 Fix formatting 2026-01-05 20:00:08 +01:00
Yurii Motov
c42dd05cb8 Simplify replace_placeholders_with_code_includes and improve error message 2026-01-05 20:00:08 +01:00
Yurii Motov
aba58fc19d Fix bug with all_good flag 2026-01-05 20:00:08 +01:00
Yurii Motov
c70d79afe9 Add test 2026-01-05 20:00:08 +01:00
Yurii Motov
44f25ad0ac Fix constructing URL for static assets 2026-01-05 16:35:52 +01:00
Yurii Motov
51df013955 Remove debug printing 2026-01-05 14:50:22 +01:00
Yurii Motov
7ff3dfb4fc Add hash-style-comments and slash-style-comments code block languages 2026-01-05 12:10:06 +01:00
Yurii Motov
9aa406d624 Add fix-allcommand. Handle errors (skip document, exit with status code 1 later) 2026-01-05 12:10:06 +01:00
Yurii Motov
b3ad074153 Fix comment regexes (require leading whitespace if comment starts not at the line start) 2026-01-05 12:10:06 +01:00
Yurii Motov
e7fb2453ea Fix header permalinks replacement 2026-01-05 11:17:51 +01:00
github-actions[bot]
f2687dc1bb 📝 Update release notes
[skip ci]
2026-01-02 06:47:25 +00:00
github-actions[bot]
862c3f4f94 📝 Update release notes
[skip ci]
2026-01-02 06:46:59 +00:00
Sebastián Ramírez
052d6e86c2 👥 Update FastAPI People - Sponsors (#14626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-02 07:46:57 +01:00
Sebastián Ramírez
31c7ffcdfe 👥 Update FastAPI GitHub topic repositories (#14630)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-02 07:46:34 +01:00
github-actions[bot]
6854be9ebc 📝 Update release notes
[skip ci]
2026-01-02 06:40:39 +00:00
Sebastián Ramírez
258deb925d 👥 Update FastAPI People - Contributors and Translators (#14625)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-02 07:40:15 +01:00
Yurii Motov
beff498743 Handle code blocks, fix some bugs, add fix-all command 2025-12-30 17:44:57 +01:00
Yurii Motov
0339277673 Fix links, permalinks, code includes 2025-12-30 10:13:01 +01:00
github-actions[bot]
53d2453d1a 📝 Update release notes
[skip ci]
2025-12-29 18:54:43 +00:00
Sebastián Ramírez
d9b7b65b81 🌐 Update translation prompts (#14619) 2025-12-29 18:54:20 +00:00
Yurii Motov
2c56706505 Add more supported languages 2025-12-29 19:32:13 +01:00
github-actions[bot]
9ed5f246ed 📝 Update release notes
[skip ci]
2025-12-29 12:38:35 +00:00
Sebastián Ramírez
edf7995775 🔧 Add LLM prompt file for Turkish, generated from the existing translations (#14547) 2025-12-29 13:38:11 +01:00
github-actions[bot]
47391ea8fb 📝 Update release notes
[skip ci]
2025-12-27 19:06:15 +00:00
Sebastián Ramírez
3b1b4f034b 🔨 Update LLM translation script to guide reviewers to change the prompt (#14614) 2025-12-27 19:05:53 +00:00
github-actions[bot]
f362fdc234 📝 Update release notes
[skip ci]
2025-12-27 18:51:39 +00:00
github-actions[bot]
4ce34686d9 📝 Update release notes
[skip ci]
2025-12-27 18:51:18 +00:00
Sebastián Ramírez
dbe83f3919 🔧 Add LLM prompt file for Traditional Chinese, generated from the existing translations (#14550)
Co-authored-by: W. H. Wang <mattwang44@gmail.com>
2025-12-27 19:49:46 +01:00
github-actions[bot]
13743e115a 📝 Update release notes
[skip ci]
2025-12-27 18:49:09 +00:00