From 13d24779fd6b71e8130f785063dd112bfd9f8511 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Thu, 22 Sep 2011 23:57:03 +0100 Subject: [PATCH] Revert "Fixes missing images in web-big" This reverts commit e12188443ed992f223f0d7fd45965003de94588f. apparently this breaks normal images! --- Documentation/macros.itexi | 4 ++-- python/auxiliar/postprocess_html.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/macros.itexi b/Documentation/macros.itexi index 31f5c59a8c..6e567a56d5 100644 --- a/Documentation/macros.itexi +++ b/Documentation/macros.itexi @@ -730,8 +730,8 @@ For LilyPond version @version{} @macro exampleImage{IMAGE-FILE} @html
- - \IMAGE-FILE\ + + \IMAGE-FILE\

(click to enlarge) diff --git a/python/auxiliar/postprocess_html.py b/python/auxiliar/postprocess_html.py index 494b2cf503..de3848537c 100644 --- a/python/auxiliar/postprocess_html.py +++ b/python/auxiliar/postprocess_html.py @@ -105,7 +105,6 @@ def source_links_replace (m, source_val): split_docs_re = re.compile('(Documentation/out-www/(automated-engraving|essay|notation|changes|extending|music-glossary|usage|web|learning|snippets|contributor))/') lily_snippets_re = re.compile ('(href|src)="([0-9a-f]{2}/lily-.*?)"') pictures_re = re.compile ('src="(pictures/.*?)"') -lyexamples_re = re.compile ('="web/(ly-examples/.*?)"') docindex_link_re = re.compile (r'href="index.html"') manuals_page_link_re = re.compile (r'href="((?:\.\./)+)Documentation/web/manuals') @@ -118,7 +117,6 @@ def hack_urls (s, prefix, target, is_development_branch): if split_docs_re.match (prefix): s = lily_snippets_re.sub ('\\1="../\\2"', s) s = pictures_re.sub ('src="../\\1"', s) - s = lyexamples_re.sub ('="\\1"', s) # we also need to replace in the lsr, which is already processed above! if 'input/' in prefix or 'Documentation/topdocs' in prefix or \ -- 2.39.5