From 11915cb55334f61bed252b3dfac12582800d7d3a Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Thu, 24 Dec 2009 03:20:27 +0100 Subject: [PATCH] Offline docs: always link to Contributors' Guide without language suffix --- python/auxiliar/postprocess_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.5