Added initial support for MermaidJS sequence diagram

This commit is contained in:
Bartek Kryza
2023-09-08 00:30:02 +02:00
parent 084bb20ef7
commit 32fda88852
43 changed files with 956 additions and 23 deletions

View File

@@ -38,7 +38,7 @@ ok = 0
for f in files:
try:
print(f'Generating Mermaid diagram from {f}')
f_svg = Path(f).with_suffix('.png')
f_svg = Path(f).with_suffix('.svg')
subprocess.check_call(['mmdc', '-i', f, '-o', f_svg])
except subprocess.CalledProcessError:
ok = 1