@macro exampleImage{IMAGE-FILE}
@html
<div class="float-center">
- <a class="clickable" href="ly-examples/\IMAGE-FILE\.png">
- <img src="ly-examples/\IMAGE-FILE\-small.png" alt="\IMAGE-FILE\">
+ <a class="clickable" href="web/ly-examples/\IMAGE-FILE\.png">
+ <img src="web/ly-examples/\IMAGE-FILE\-small.png" alt="\IMAGE-FILE\">
</a>
<p style="text-align: center">
(click to enlarge)
split_docs_re = re.compile('(Documentation/out-www/(automated-engraving|essay|notation|changes|extending|music-glossary|usage|web|learning|snippets|contributor))/')
lily_snippets_re = re.compile ('(href|src)="([0-9a-f]{2}/lily-.*?)"')
pictures_re = re.compile ('src="(pictures/.*?)"')
+lyexamples_re = re.compile ('="web/(ly-examples/.*?)"')
docindex_link_re = re.compile (r'href="index.html"')
manuals_page_link_re = re.compile (r'href="((?:\.\./)+)Documentation/web/manuals')
if split_docs_re.match (prefix):
s = lily_snippets_re.sub ('\\1="../\\2"', s)
s = pictures_re.sub ('src="../\\1"', s)
+ s = lyexamples_re.sub ('="\\1"', s)
# we also need to replace in the lsr, which is already processed above!
if 'input/' in prefix or 'Documentation/topdocs' in prefix or \