From 9d5b78dfc79e820d6aafdc9f403741fddcf44653 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 18 Nov 2009 09:09:47 +0100 Subject: [PATCH] Fix hardcoded [ugh] regexp for fixing-up img urls. Fixes mucho broken links. Van: Jan Nieuwenhuizen Reply-to: lilypond-devel@gnu.org Aan: lilypond-cvs@gnu.org Onderwerp: Cron 404 report Datum: 18-11-09 05:25:06 popularity page [referrer]... 120 /doc/v2.13/Documentation/changes/e7/lily-a6a52c4f.png http://lilypond.org/doc/v2.13/Documentation/changes/ 120 /doc/v2.13/Documentation/changes/e0/lily-288f9541.png http://lilypond.org/doc/v2.13/Documentation/changes/ 120 /doc/v2.13/Documentation/changes/bb/lily-cefae21c.png http://lilypond.org/doc/v2.13/Documentation/changes/ 120 /doc/v2.13/Documentation/changes/b8/lily-69e303fc.png http://lilypond.org/doc/v2.13/Documentation/changes/ 120 /doc/v2.13/Documentation/changes/b0/lily-c1d83ee6.png http://lilypond.org/doc/v2.13/Documentation/changes/ 120 /doc/v2.13/Documentation/changes/97/lily-80b3f9b3.png http://lilypond.org/doc/v2.13/Documentation/changes/ 120 /doc/v2.13/Documentation/changes/81/lily-dd9833ca.png http://lilypond.org/doc/v2.13/Documentation/changes/ --- 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 b1b2a6bea9..8dce6024a0 100644 --- a/python/auxiliar/postprocess_html.py +++ b/python/auxiliar/postprocess_html.py @@ -100,7 +100,7 @@ def source_links_replace (m, source_val): return 'href="' + os.path.join (source_val, m.group (1)) + '"' # More hardcoding, yay! -splitted_docs_re = re.compile('(Documentation/out-www/(automated-engraving|essay|notation|changes/music-glossary|usage|general|learning|snippets))/') +splitted_docs_re = re.compile('(Documentation/out-www/(automated-engraving|essay|notation|changes|music-glossary|usage|general|learning|snippets))/') lily_snippets_re = re.compile ('(href|src)="([0-9a-f]{2}/lily-.*?)"') pictures_re = re.compile ('src="(pictures/.*?)"') -- 2.39.2