autodoc/src/diagram.lua.patch

12 lines
405 B
Diff
Raw Normal View History

2025-10-02 12:08:17 +00:00
--- diagram.lua
+++ diagram.lua
2024-11-18 23:24:09 +00:00
@@ -158,7 +158,7 @@
write_file(infile, code)
pipe(
self.execpath or 'mmdc',
- {"--pdfFit", "--input", infile, "--output", outfile},
+ {"--pdfFit", "--puppeteerConfigFile", "/usr/local/share/puppeteer/config.json", "--input", infile, "--output", outfile},
''
)
return read_file(outfile), mime_type