minor bugfixes
This commit is contained in:
parent
54a0d7b858
commit
2f4064bcfc
@ -11,5 +11,5 @@ sort_rules = True
|
||||
toc = True
|
||||
|
||||
# Configure inclusion of images
|
||||
images = False
|
||||
images = True
|
||||
imagepath = images
|
||||
|
@ -90,6 +90,8 @@ def sortxml(xmlfile):
|
||||
def addimage(rulename):
|
||||
|
||||
out = ""
|
||||
if not os.path.exists(imagepath):
|
||||
os.makedirs(imagepath)
|
||||
imagefile = imagepath + "/" + rulename + ".png"
|
||||
imagefile = imagefile.replace(" ", "_")
|
||||
out = "![](" + imagefile + ")\n\n\n"
|
||||
|
Loading…
Reference in New Issue
Block a user