Commit Graph
3 Commits
Author SHA1 Message Date
Abdessamad Derraz f10fa21d17 docs: split clause semicolons in new comments 2026-11-21 06:45:11 +01:00
Abdessamad Derraz 13db912e52 refactor: read the heading level without a regex
mypy saw re.fullmatch() as optional. Splitting the hashes off the heading gives the same level and title.
2026-11-21 06:04:40 +01:00
Abdessamad Derraz a58ca7bf6b refactor: one markdown section reader for tests
test_doc_surfaces, test_doc_pages, test_site_wiki and test_site_integration each cut a markdown section their own way. Two of them did not blank fenced code, so a shell comment such as '# from a checkout' in a bash block ended the section early and test_user_sections_never_send_to_verify could pass without reading the command below it. tests/mdsections.section() blanks fences and takes the stop level each caller used.
2026-11-21 06:04:40 +01:00