diff options
author | David Robillard <d@drobilla.net> | 2011-10-27 02:55:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-27 02:55:26 +0000 |
commit | 994a8b17a2501d95e485e12dea0eb6f408df6b0d (patch) | |
tree | 93f2fcfe228181bb56229fa81131aca9c04fc3b2 /lv2specgen/lv2specgen.py | |
parent | e4810455eca0f51f7236e0e3f62bea9f96436621 (diff) | |
download | lv2-994a8b17a2501d95e485e12dea0eb6f408df6b0d.tar.xz |
Remove old urn:struct code linking stuff.
This ugly way of linking to code has been deprecated by the automagic
Doxygen code links stuff.
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-x | lv2specgen/lv2specgen.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 9b4bf3d..f668018 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -129,15 +129,6 @@ def getComment(m, urinode): if c.current(): markup = c.current().object.literal_value['string'] - # Replace urn:struct links with links to code documentation - matches = re.findall('href="urn:struct:([^"]*)"', markup) - if matches: - for match in matches: - struct_uri = os.path.join(doc_base, 'ns', 'doc', 'html', - 'struct' + match.replace('_', '__') + '.html') - markup = markup.replace('href="urn:struct:' + match + '"', - 'href="' + struct_uri + '"') - rgx = re.compile('([^a-zA-Z0-9_:])(' + \ '|'.join(map(re.escape, linkmap)) + \ ')([^a-aA-Z0-9_:])') |