Commit dd194012 authored by Lukas Riedel's avatar Lukas Riedel

Fix paths for file links in docs/cheat sheet

parent 4afc3765
......@@ -43,8 +43,7 @@ def match(xml_parameters,source_parameters,base_path):
par = category_parameters[par_pos]
par._code_found = True
# we are only interested in paths relative to the parent source folder
relpath = os.path.relpath(get["file"],base_path)
par._sources.append((get["file"], get["line"], get["type"]))
for category in xml_parameters:
for unmatched in [x for x in xml_parameters[category] if not x._code_found and not x.hidden]:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment