From 994a8b17a2501d95e485e12dea0eb6f408df6b0d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 27 Oct 2011 02:55:26 +0000 Subject: Remove old urn:struct code linking stuff. This ugly way of linking to code has been deprecated by the automagic Doxygen code links stuff. --- lv2specgen/lv2specgen.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lv2specgen') 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_:])') -- cgit v1.2.1