diff options
author | David Robillard <d@drobilla.net> | 2011-03-11 19:57:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-11 19:57:50 +0000 |
commit | d21e45c16f9e0b838ff288beda9eef4c6c5bee58 (patch) | |
tree | 87a11e1012868be5e1431f35aab131978c951fc4 | |
parent | 4bd30095f0879d0ed77837caf80c1b8980c405e2 (diff) | |
download | lv2-d21e45c16f9e0b838ff288beda9eef4c6c5bee58.tar.xz |
Use fragment links to current document to make documentation bundles movable without breaking the links.
Unfortunate side-effect is that the links at lv2plug.in looks like lv2core/#SomeClass :/
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index bb042db..9b9ce1a 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -419,7 +419,7 @@ def docTerms(category, list, m): except: term_uri = term - doc += """<div class="specterm" id="%s" about="%s">\n<h3>%s <a href="%s">%s</a></h3>\n""" % (t, term_uri, category, term_uri, curie) + doc += """<div class="specterm" id="%s" about="%s">\n<h3>%s <a href="#%s">%s</a></h3>\n""" % (t, term_uri, category, getAnchor(str(term_uri)), curie) label = getLabel(m, term) comment = getComment(m, term) |