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 |
|
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 |
|
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 |
|
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 |
|
Yurii Motov
|
e15cff7376
|
Print pure text in non-interactive mode
|
2025-12-24 16:19:18 +01:00 |
|
Yurii Motov
|
844ded6b43
|
Add script to compare fixed elements in translated page with En page
|
2025-12-23 22:46:48 +01:00 |
|
Sebastián Ramírez
|
b9b2793bda
|
🔨 Update scripts and pre-commit to autofix files (#14585)
|
2025-12-21 17:40:17 +00:00 |
|
Sebastián Ramírez
|
1d93d531bc
|
⬆️ Upgrade OpenAI model for translations to gpt-5.2 (#14579)
|
2025-12-21 08:06:22 +00:00 |
|
Sebastián Ramírez
|
1c4fc96c91
|
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
|
2025-12-17 21:25:59 +00:00 |
|
Motov Yurii
|
ed5c5bef5e
|
🔧 Temporarily disable translations still in progress, being migrated to the new LLM setup (#14555)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
2025-12-17 11:44:55 +01:00 |
|
Sebastián Ramírez
|
58bc4a15ac
|
🔥 Remove inactive/scarce translations to Persian (#14542)
|
2025-12-16 20:58:53 +00:00 |
|
Sebastián Ramírez
|
5da1cb0792
|
👷 Fix Typer command for CI LLM translations (#14530)
|
2025-12-16 12:53:28 +00:00 |
|
Sebastián Ramírez
|
2e7aaea524
|
👷 Update LLM translation CI, add language matrix and extra commands, prepare for scheduled run (#14529)
|
2025-12-16 12:40:50 +00:00 |
|
Sebastián Ramírez
|
c548348386
|
👷 Update github-actions user for GitHub Actions workflows (#14528)
|
2025-12-16 12:34:01 +00:00 |
|
Yuji Teshima
|
5b6245666b
|
✏️ Fix typo in scripts/mkdocs_hooks.py (#14457)
|
2025-12-06 13:23:01 +01:00 |
|
Sebastián Ramírez
|
4f3ff79736
|
👷 Add pre-commit config with local script for permalinks (#14398)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
2025-11-23 18:41:43 +01:00 |
|
Motov Yurii
|
32b375c5e4
|
🛠️ Add add-permalinks and add-permalinks-page to scripts/docs.py (#14033)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
|
2025-11-21 13:49:11 +01:00 |
|
Sebastián Ramírez
|
be5a6311f5
|
🔧 Upgrade Material for MkDocs and remove insiders (#14375)
|
2025-11-20 11:45:16 +01:00 |
|