[docs] add new module

This commit is contained in:
tobi-wan-kenobi 2020-05-23 16:55:24 +02:00
parent 20f9ac3ae0
commit 3d14931cb7
2 changed files with 21 additions and 1 deletions

View file

@ -94,7 +94,7 @@ class print_usage(argparse.Action):
continue
if self._format == "rst":
if os.path.exists(
os.path.join(basepath, "screenshots", "{}.png".format(m))
os.path.join(basepath, "..", "screenshots", "{}.png".format(m))
):
doc = "{}\n\n.. image:: ../screenshots/{}.png".format(doc, m)