]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/www_post.py
Doc build: update for no Documentation/index.html
[lilypond.git] / scripts / build / www_post.py
index 2df5b38468761f6d8237e19f03ee2f83c5be896f..cf1a7c38c61b4657e3f51a4e530b0e7b2e334259 100644 (file)
@@ -25,7 +25,7 @@ target_pattern = os.path.join (outdir, '%s-root')
 # from HTML manuals/snippets page
 static_files = {
     os.path.join (outdir, 'index.html'):
-        '''<META HTTP-EQUIV="refresh" content="0;URL=Documentation/index.html">
+        '''<META HTTP-EQUIV="refresh" content="0;URL=Documentation/web/index.html">
 <html><body>Redirecting to the documentation index...</body></html>\n''',
     os.path.join (outdir, 'VERSION'):
         package_version + '\n',
@@ -41,7 +41,7 @@ dirs, symlinks, files = mirrortree.walk_tree (
     exclude_dirs = '(^|/)((' + \
         r'po|xref-maps|out|out-test|out-cov|.*?[.]t2d|\w*?-root)|^Documentation/(' + \
         '|'.join ([l.code for l in langdefs.LANGUAGES]) + '))(/|$)',
-    find_files = r'.*?\.(?:midi|html|pdf|png|txt|i?ly|signature|css|zip)$|VERSION',
+    find_files = r'.*?\.(?:midi|html|pdf|png|jpe?g|txt|i?ly|signature|css|zip)$|VERSION',
     exclude_files = r'lily-[0-9a-f]+.*\.(pdf|txt)')
 
 # actual mirrorring stuff