From: John Mandereau Date: Thu, 24 Dec 2009 02:20:27 +0000 (+0100) Subject: Offline docs: always link to Contributors' Guide without language suffix X-Git-Tag: release/2.13.10-1~86 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=11915cb55334f61bed252b3dfac12582800d7d3a;p=lilypond.git Offline docs: always link to Contributors' Guide without language suffix --- diff --git a/python/auxiliar/postprocess_html.py b/python/auxiliar/postprocess_html.py index 7da39a5a87..b268db1d25 100644 --- a/python/auxiliar/postprocess_html.py +++ b/python/auxiliar/postprocess_html.py @@ -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):