typo
This commit is contained in:
parent
6febc0a475
commit
2143498418
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class D2langDirective(SphinxDirective):
|
||||||
image_node = nodes.image(uri=output_fname)
|
image_node = nodes.image(uri=output_fname)
|
||||||
return [image_node]
|
return [image_node]
|
||||||
|
|
||||||
def build_svg(diag_src, out_dir, filename, layout)
|
def build_svg(diag_src, out_dir, filename, layout):
|
||||||
d2_bin = which('d2')
|
d2_bin = which('d2')
|
||||||
cmd_line = '%s -l %s %s %s' % (d2_bin, layout, diag_src, out_dir + "/" + filename)
|
cmd_line = '%s -l %s %s %s' % (d2_bin, layout, diag_src, out_dir + "/" + filename)
|
||||||
args = shlex.split(cmd_line)
|
args = shlex.split(cmd_line)
|
||||||
|
|
Loading…
Reference in a new issue