fix source file
This commit is contained in:
parent
b697e0958d
commit
aa6689fa5e
1 changed files with 6 additions and 1 deletions
|
@ -33,7 +33,12 @@ class D2langDirective(SphinxDirective):
|
||||||
if self.arguments:
|
if self.arguments:
|
||||||
path = Path(srcdir + '/' + self.arguments[0])
|
path = Path(srcdir + '/' + self.arguments[0])
|
||||||
if path.is_file():
|
if path.is_file():
|
||||||
build_svg(self.arguments[0], srcdir, output_fname, layout)
|
build_svg(
|
||||||
|
srcdir + '/' + self.arguments[0],
|
||||||
|
srcdir,
|
||||||
|
output_fname,
|
||||||
|
layout
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue