Browse Source

Only warn about mermaid diagram if it's changed

pull/14710/head
Yurii Motov 5 months ago
parent
commit
6fcc6054ff
  1. 3
      scripts/doc_parsing_utils.py

3
scripts/doc_parsing_utils.py

@ -586,7 +586,8 @@ def replace_multiline_code_block(
block_language = block_a["lang"].lower()
if block_language in {"mermaid"}:
print("Skipping mermaid code block replacement. This should be checked manually.")
if block_a != block_b:
print("Skipping mermaid code block replacement. This should be checked manually.")
return block_a["content"].copy() # We don't handle mermaid code blocks for now
code_block: list[str] = []

Loading…
Cancel
Save