]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix hardcoded [ugh] regexp for fixing-up img urls. Fixes mucho broken links.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 18 Nov 2009 08:09:47 +0000 (09:09 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 18 Nov 2009 08:09:47 +0000 (09:09 +0100)
    Van:  Jan Nieuwenhuizen <janneke@abc.webdev.nl>
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

index b1b2a6bea93d44740bbc5dce810e1552ed54fd25..8dce6024a0c625f3035187d2bd544996426fcab7 100644 (file)
@@ -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/.*?)"')