Commit Graph

20 Commits

Author SHA1 Message Date
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
Yurii Motov
9a96763bad Improve error messages in replace_multiline_code_block 2026-01-06 11:27:26 +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
5ca9472d8a Fix check for markdown links number mismatch 2026-01-06 08:26:08 +01:00
Yurii Motov
8c5f21c83c Fix error message on header level mismatch 2026-01-06 07:20:38 +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
c42dd05cb8 Simplify replace_placeholders_with_code_includes and improve error message 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
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