]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add context-example in add_html_footer.py
authorJohn Mandereau <john.mandereau@gmail.com>
Fri, 23 Nov 2007 21:48:17 +0000 (22:48 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Fri, 23 Nov 2007 21:48:17 +0000 (22:48 +0100)
If the manual uses more images other than ly snippets, I'll fix this a
better way.

buildscripts/add_html_footer.py

index 1721ad71872a4484c1e2e7c7cb4b63f97c012007..0ef42e1833bd6974af1cf967ac4abf4150597535 100644 (file)
@@ -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