fix image path
This commit is contained in:
parent
cb933e43d8
commit
673d9f87df
1 changed files with 1 additions and 1 deletions
|
@ -16,5 +16,5 @@ class D2langDirective(Directive):
|
||||||
cmd_line = "echo %s | %s - %s" % (diag_source, d2_bin, outdir + "/test.svg")
|
cmd_line = "echo %s | %s - %s" % (diag_source, d2_bin, outdir + "/test.svg")
|
||||||
args = shlex.split(cmd_line)
|
args = shlex.split(cmd_line)
|
||||||
subprocess.run(args)
|
subprocess.run(args)
|
||||||
image_node = nodes.image(uri=outdir + "/test.svg")
|
image_node = nodes.image(uri="/test.svg")
|
||||||
return [image_node]
|
return [image_node]
|
||||||
|
|
Loading…
Reference in a new issue