]> git.donarmstrong.com Git - lilypond.git/commitdiff
Offline docs: always link to Contributors' Guide without language suffix
authorJohn Mandereau <john.mandereau@gmail.com>
Thu, 24 Dec 2009 02:20:27 +0000 (03:20 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Thu, 24 Dec 2009 02:20:27 +0000 (03:20 +0100)
python/auxiliar/postprocess_html.py

index 7da39a5a87b4b3d2c9a12f6f50e3a3ac5d9858df..b268db1d25924de6201ac93b4138e4f01cf2cd54 100644 (file)
@@ -218,7 +218,7 @@ online_links_re = re.compile ('''(href|src)=['"]\
 ((?!Compiling-from-source.html")[^/][.]*[^.:'"]*)\
 ([.]html)(#[^"']*|)['"]''')
 offline_links_re = re.compile ('href=[\'"]\
-((?!Compiling-from-source.html")[^/][.]*[^.:\'"]*)([.]html)(#[^"\']*|)[\'"]')
+((?!Compiling-from-source.html")(?![.]{2}/contributor)[^/][.]*[^.:\'"]*)([.]html)(#[^"\']*|)[\'"]')
 big_page_name_re = re.compile ('''(.+?)-big-page''')
 
 def process_i18n_big_page_links (match, prefix, lang_ext):