]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix HTML links rewriting
authorJohn Mandereau <john.mandereau@gmail.com>
Mon, 11 Aug 2008 22:23:37 +0000 (00:23 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Mon, 11 Aug 2008 22:23:37 +0000 (00:23 +0200)
Link rewriting in Snippets List big page accidentally caught
lilypond-snippets when rewriting links to manuals in
Documentation/user.

buildscripts/add_html_footer.py

index a1c81f3b14668ba0fdb57522a7b333a9af59423f..2932ed866defebe81e43214282f322d3c9773725 100644 (file)
@@ -94,7 +94,7 @@ def source_links_replace (m, source_val):
 splitted_docs_re = re.compile ('(input/lsr/out-www/lilypond-snippets|Documentation/user/out-www/(lilypond|music-glossary|lilypond-program|lilypond-learning))/')
 
 snippets_ref_re = re.compile (r'href="(\.\./)?lilypond-snippets')
-user_ref_re = re.compile (r'href="(?:\.\./)?lilypond(|-internals|-learning|-program)')
+user_ref_re = re.compile (r'href="(?:\.\./)?lilypond(-internals|-learning|-program|(?!-snippets))')
 
 ## Windows does not support symlinks.
 # This function avoids creating symlinks for splitted HTML manuals