diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-10-08 09:56:02 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-10-09 18:29:42 +0300 |
commit | 76838e218f8c0943de43befce434fa8845a68e86 (patch) | |
tree | 9fb29d0b107d5e1edb78954e68e35270b5fc391c /check | |
parent | 934b1a53527e83e3d8d3dc4df992956332b512f7 (diff) | |
download | subplot-76838e218f8c0943de43befce434fa8845a68e86.tar.gz |
fix: verify that we generate correct HTML
Sponsored-by: author
Diffstat (limited to 'check')
-rwxr-xr-x | check | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -320,7 +320,9 @@ def check_subplots(r): base = os.path.basename(subplot) base, _ = os.path.splitext(subplot) base = os.path.join(output, base) - r.docgen(subplot, doc_template, base + ".html", cwd=dirname) + html = base + ".html" + r.docgen(subplot, doc_template, html, cwd=dirname) + r.runcmd(["tidy", "-errors", html], cwd=dirname) def tail(filename, numlines=100): @@ -344,6 +346,7 @@ def check_tooling(r): "plantuml", "rustc", "rustfmt", + "tidy", ] for command in commands: if not r.got_command(command): |