From: John Mandereau Date: Fri, 23 Nov 2007 21:48:17 +0000 (+0100) Subject: Add context-example in add_html_footer.py X-Git-Tag: release/2.11.36-1~90 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4c493d2c9823c65a535cbdbc029c9fdb4608a18d;p=lilypond.git Add context-example in add_html_footer.py If the manual uses more images other than ly snippets, I'll fix this a better way. --- diff --git a/buildscripts/add_html_footer.py b/buildscripts/add_html_footer.py index 1721ad7187..0ef42e1833 100644 --- a/buildscripts/add_html_footer.py +++ b/buildscripts/add_html_footer.py @@ -94,7 +94,7 @@ splitted_docs_re = re.compile ('Documentation/user/out-www/(lilypond|music-gloss # Get rid of symlinks in GNUmakefile.in (local-WWW-post) def replace_symlinks_urls (s, prefix): if splitted_docs_re.match (prefix): - s = re.sub ('(href|src)="(lily-.*?|.*?-flat-.*?)"', '\\1="../\\2"', s) + s = re.sub ('(href|src)="(lily-.*?|.*?-flat-.*?|context-example.*?)"', '\\1="../\\2"', s) source_path = os.path.join (os.path.dirname (prefix), 'source') if not os.path.islink (source_path): return s